1# 2# Nanohub CHRE Implementation for Cortex-M4 Architecture 3# 4 5include $(CHRE_PREFIX)/build/clean_build_template_args.mk 6 7TARGET_NAME = google_cm4_nanohub 8TARGET_CFLAGS = -DCHRE_MESSAGE_TO_HOST_MAX_SIZE=128 9TARGET_CFLAGS += $(GOOGLE_CM4_NANOHUB_CFLAGS) 10TARGET_VARIANT_SRCS = $(GOOGLE_CM4_NANOHUB_SRCS) 11TARGET_SO_LATE_LIBS = $(GOOGLE_CM4_NANOHUB_LATE_LIBS) 12TARGET_PLATFORM_ID = 0x476F6F676C000000 13CORTEXM_ARCH = m4 14 15ifneq ($(filter $(TARGET_NAME)% all, $(MAKECMDGOALS)),) 16ifneq ($(IS_NANOAPP_BUILD),) 17include $(CHRE_PREFIX)/build/nanoapp/google_nanohub.mk 18endif 19 20include $(CHRE_PREFIX)/build/arch/cortexm.mk 21include $(CHRE_PREFIX)/build/build_template.mk 22endif 23