1# 2# Google CHRE Reference Implementation for Hexagon v60 Architecture on SLPI 3# 4 5include $(CHRE_PREFIX)/build/clean_build_template_args.mk 6 7TARGET_NAME = google_hexagonv60_slpi 8TARGET_CFLAGS = -DCHRE_MESSAGE_TO_HOST_MAX_SIZE=4000 9TARGET_CFLAGS += $(GOOGLE_HEXAGONV60_SLPI_CFLAGS) 10TARGET_VARIANT_SRCS = $(GOOGLE_HEXAGONV60_SLPI_SRCS) 11TARGET_SO_LATE_LIBS = $(GOOGLE_HEXAGONV60_SLPI_LATE_LIBS) 12TARGET_PLATFORM_ID = 0x476f6f676c000002 13HEXAGON_ARCH = v60 14 15TARGET_CFLAGS += $(SLPI_CFLAGS) 16TARGET_VARIANT_SRCS += $(SLPI_SRCS) 17 18# Add SLPI/SMGR-specific compiler flags and source files 19TARGET_CFLAGS += $(SLPI_SMGR_CFLAGS) 20TARGET_VARIANT_SRCS += $(SLPI_SMGR_SRCS) 21 22ifneq ($(filter $(TARGET_NAME)% all, $(MAKECMDGOALS)),) 23ifneq ($(IS_NANOAPP_BUILD),) 24TARGET_SO_LATE_LIBS += $(CHRE_PREFIX)/build/app_support/google_slpi/libchre_slpi_skel.so 25include $(CHRE_PREFIX)/build/nanoapp/google_slpi.mk 26endif 27 28include $(CHRE_PREFIX)/build/arch/hexagon.mk 29include $(CHRE_PREFIX)/build/build_template.mk 30endif 31