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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user