diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-13 12:12:58 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-13 12:12:58 +0000 |
commit | ee4110aff031d53efe4fcc63e32cf218f455a7e9 (patch) | |
tree | f5f365f198635ba4fff680f642cf0ff54f8aeb09 /include | |
parent | fd27fb770dba05b1eea5c398fd5649dd37c36dbf (diff) | |
download | mtk-20170518-ee4110aff031d53efe4fcc63e32cf218f455a7e9.zip mtk-20170518-ee4110aff031d53efe4fcc63e32cf218f455a7e9.tar.gz mtk-20170518-ee4110aff031d53efe4fcc63e32cf218f455a7e9.tar.bz2 |
target/sdk: use .config instead of unconditionally enabling all build dirs
Call make defconfig on every build to catch newly added packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39913
Diffstat (limited to 'include')
-rw-r--r-- | include/toplevel.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk index 23d70ac..10b8104 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -156,6 +156,15 @@ prereq:: prepare-tmpinfo .config @+$(MAKE) -r -s tmp/.prereq-build $(PREP_MK) @+$(NO_TRACE_MAKE) -r -s $@ +ifeq ($(SDK),1) + +%:: + @+$(PREP_MK) $(NO_TRACE_MAKE) -r -s prereq + @./scripts/config/conf --defconfig=.config Config.in + @+$(ULIMIT_FIX) $(SUBMAKE) -r $@ + +else + %:: @+$(PREP_MK) $(NO_TRACE_MAKE) -r -s prereq @( \ @@ -167,6 +176,8 @@ prereq:: prepare-tmpinfo .config ) @+$(ULIMIT_FIX) $(SUBMAKE) -r $@ +endif + help: cat README |