1 # 2 # Qualcomm CHRE Implementation for Hexagon v60, based on Nanohub 3 # 4 5 include $(CHRE_PREFIX)/build/clean_build_template_args.mk 6 7 TARGET_NAME = qcom_hexagonv60_nanohub 8 TARGET_CFLAGS = -DCHRE_MESSAGE_TO_HOST_MAX_SIZE=4080 9 TARGET_CFLAGS += $(QCOM_HEXAGONV60_NANOHUB_CFLAGS) 10 TARGET_VARIANT_SRCS = $(QCOM_HEXAGONV60_NANOHUB_SRCS) 11 HEXAGON_ARCH = v60 12 13 ifneq ($(filter $(TARGET_NAME)% all, $(MAKECMDGOALS)),) 14 ifneq ($(IS_NANOAPP_BUILD),) 15 TARGET_SO_LATE_LIBS += $(CHRE_PREFIX)/build/app_support/qcom_nanohub/chre.so 16 TARGET_SO_LATE_LIBS += $(CHRE_PREFIX)/build/app_support/qcom_nanohub/chre_platform.so 17 include $(CHRE_PREFIX)/build/nanoapp/qcom_nanohub.mk 18 endif 19 20 include $(CHRE_PREFIX)/build/arch/hexagon.mk 21 include $(CHRE_PREFIX)/build/build_template.mk 22 endif 23