summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/Makefile
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2012-12-10 21:07:18 +0100
committerSylvain Munaut <tnt@246tNt.com>2013-01-02 20:44:11 +0100
commitadfc622cc1bbfeaa098b61862a953fef13b6e00c (patch)
tree559493b3a5df6d8c638a9e5ca50ddee691cc7217 /src/target/firmware/Makefile
parent3ee1beb8bf4c1ca87c88d12a8cd1f24d096aee88 (diff)
fw/build: Allow applications to filter environments
We use an external python script to solve which env to build, to mix board and app env list Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/target/firmware/Makefile')
-rw-r--r--src/target/firmware/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/target/firmware/Makefile b/src/target/firmware/Makefile
index e8b11142..28344e1f 100644
--- a/src/target/firmware/Makefile
+++ b/src/target/firmware/Makefile
@@ -86,6 +86,11 @@ BOARD_se_j100_ENVIRONMENTS=$(compal_COMMON_ENVIRONMENTS)
# List of all applications (meant to be overridden on command line)
APPLICATIONS?=hello_world compal_dsp_dump layer1 loader chainload rssi
+# Applications specific env requirements
+APP_chainload_ENVIRONMENTS=compalram
+APP_loader_ENVIRONMENTS=compalram highram
+APP_rssi_ENVIRONMENTS=* -compalram
+
# Various objects that are currently linked into all applications
FLASH_OBJS=flash/cfi_flash.o
ABB_OBJS=abb/twl3025.o