qcom_hexagonv60_nanohub-uimg.mk 1.1 KB

1234567891011121314151617181920212223242526272829
  1. #
  2. # Qualcomm CHRE Implementation for Hexagon v60, based on Nanohub
  3. #
  4. include $(CHRE_PREFIX)/build/clean_build_template_args.mk
  5. TARGET_NAME = qcom_hexagonv60_nanohub-uimg
  6. TARGET_CFLAGS = -DCHRE_MESSAGE_TO_HOST_MAX_SIZE=4080
  7. TARGET_CFLAGS += -mno-pic-data-is-text-relative
  8. TARGET_CFLAGS += $(QCOM_HEXAGONV60_NANOHUB-UIMG_CFLAGS)
  9. TARGET_VARIANT_SRCS = $(QCOM_HEXAGONV60_NANOHUB-UIMG_SRCS)
  10. TARGET_SO_LATE_LIBS = $(QCOM_HEXAGONV60_NANOHUB-UIMG_LATE_LIBS)
  11. TARGET_PLATFORM_ID = 0x2051434F4D000001
  12. HEXAGON_ARCH = v60
  13. # Enable uImage support.
  14. TARGET_VARIANT_SRCS += $(SYS_SUPPORT_PATH)/qcom/uimg_dl_ver.c
  15. TARGET_SO_LDFLAGS += --script=$(SYS_SUPPORT_PATH)/qcom/uimage.lcs.toolv80
  16. ifneq ($(filter $(TARGET_NAME)% all, $(MAKECMDGOALS)),)
  17. ifneq ($(IS_NANOAPP_BUILD),)
  18. TARGET_SO_LATE_LIBS += $(CHRE_PREFIX)/build/app_support/qcom_nanohub/chre.so
  19. TARGET_SO_LATE_LIBS += $(CHRE_PREFIX)/build/app_support/qcom_nanohub/chre_platform.so
  20. include $(CHRE_PREFIX)/build/nanoapp/qcom_nanohub.mk
  21. endif
  22. include $(CHRE_PREFIX)/build/arch/hexagon.mk
  23. include $(CHRE_PREFIX)/build/build_template.mk
  24. endif