diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2012-12-10 21:07:18 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2013-01-02 20:44:11 +0100 |
commit | adfc622cc1bbfeaa098b61862a953fef13b6e00c (patch) | |
tree | 559493b3a5df6d8c638a9e5ca50ddee691cc7217 /src/target/firmware/Makefile.inc | |
parent | 3ee1beb8bf4c1ca87c88d12a8cd1f24d096aee88 (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.inc')
-rw-r--r-- | src/target/firmware/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/firmware/Makefile.inc b/src/target/firmware/Makefile.inc index cb2374e0..90498989 100644 --- a/src/target/firmware/Makefile.inc +++ b/src/target/firmware/Makefile.inc @@ -134,7 +134,7 @@ $(foreach app,$(APPLICATIONS), \ $(foreach app,$(APPLICATIONS), \ $(foreach brd,$(BOARDS), \ - $(foreach env,$(BOARD_$(brd)_ENVIRONMENTS), \ + $(foreach env,$(shell ./solve_envs.py "$(BOARD_$(brd)_ENVIRONMENTS)" "$(APP_$(app)_ENVIRONMENTS)"), \ $(eval $(call APPLICATION_BOARD_ENVIRONMENT_template,$(app),$(brd),$(env)))))) |