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