You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
991 B
34 lines
991 B
#
|
|
# Simulator-Specific CHRE Makefile
|
|
#
|
|
|
|
# Version String ###############################################################
|
|
|
|
COMMIT_HASH_COMMAND = git describe --always --long --dirty
|
|
|
|
VERSION_STRING = chre=$(shell $(COMMIT_HASH_COMMAND))
|
|
|
|
COMMON_CFLAGS += -DCHRE_VERSION_STRING='"$(VERSION_STRING)"'
|
|
|
|
# Common Compiler Flags ########################################################
|
|
|
|
# Supply a symbol to indicate that the build variant supplies the static
|
|
# nanoapp list.
|
|
COMMON_CFLAGS += -DCHRE_VARIANT_SUPPLIES_STATIC_NANOAPP_LIST
|
|
|
|
# Enable exceptions for TCLAP.
|
|
GOOGLE_X86_LINUX_CFLAGS += -fexceptions
|
|
|
|
# Optional Features ############################################################
|
|
|
|
CHRE_AUDIO_SUPPORT_ENABLED = true
|
|
CHRE_GNSS_SUPPORT_ENABLED = true
|
|
CHRE_SENSORS_SUPPORT_ENABLED = true
|
|
CHRE_WIFI_SUPPORT_ENABLED = true
|
|
CHRE_WWAN_SUPPORT_ENABLED = true
|
|
|
|
# Common Source Files ##########################################################
|
|
|
|
COMMON_SRCS += variant/simulator/static_nanoapps.cc
|
|
|