aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Rossignol <aarossig@google.com>2017-03-16 14:26:09 -0700
committerAndrew Rossignol <aarossig@google.com>2017-03-17 11:24:32 -0700
commite969b9be8eca27ffc875167879ab0ec093b3e313 (patch)
tree67d6e697a7172a2133fa124feef9272882c7871f /Makefile
parent5d9f4e1a56a7f402157bc69e0cefbbd011f36eb3 (diff)
downloadchre-e969b9be8eca27ffc875167879ab0ec093b3e313.tar.gz
Implements static nanoapp loading
- Removes the list of nanoapps from the platform init code - Introduces a new weakly linked nanoapp list on a per-platform basis - Adds a LoadStaticNanoapps method Test: Compile + run simulator and device. Change-Id: Ib4927655977a088650b3954437de3f594ee6529d
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 84e9baf6..f8a6c992 100644
--- a/Makefile
+++ b/Makefile
@@ -52,11 +52,15 @@ COMMON_CFLAGS += -DCHRE_MINIMUM_LOG_LEVEL=CHRE_LOG_LEVEL_DEBUG
COMMON_CFLAGS += -DNANOAPP_MINIMUM_LOG_LEVEL=CHRE_LOG_LEVEL_DEBUG
COMMON_CFLAGS += -DCHRE_ASSERTIONS_ENABLED
+# Place nanoapps in a namespace.
+COMMON_CFLAGS += -DCHRE_NANOAPP_INTERNAL
+
# Define CUST_H to allow including the customer header file.
HEXAGON_CFLAGS += -DCUST_H
# Makefile Includes ############################################################
+include apps/apps.mk
include apps/gnss_world/gnss_world.mk
include apps/hello_world/hello_world.mk
include apps/imu_cal/imu_cal.mk