google_hexagonv60_slpi.mk 987 B

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