1 # 2 # Simulator-Specific CHRE Makefile 3 # 4 5 # Version String ############################################################### 6 7 COMMIT_HASH_COMMAND = git describe --always --long --dirty 8 9 VERSION_STRING = chre=$(shell $(COMMIT_HASH_COMMAND)) 10 11 COMMON_CFLAGS += -DCHRE_VERSION_STRING='"$(VERSION_STRING)"' 12 13 # Common Compiler Flags ######################################################## 14 15 # Supply a symbol to indicate that the build variant supplies the static 16 # nanoapp list. 17 COMMON_CFLAGS += -DCHRE_VARIANT_SUPPLIES_STATIC_NANOAPP_LIST 18 19 # Enable exceptions for TCLAP. 20 GOOGLE_X86_LINUX_CFLAGS += -fexceptions 21 22 # Common Source Files ########################################################## 23 24 COMMON_SRCS += variant/simulator/static_nanoapps.cc 25 26 # Makefile Includes ############################################################ 27 28 include apps/ash_world/ash_world.mk 29 include apps/imu_cal/imu_cal.mk 30