google_cm4_nanohub.mk 659 B

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