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