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 /target/sdk | |
parent | fd27fb770dba05b1eea5c398fd5649dd37c36dbf (diff) | |
download | openwrt-ee4110aff031d53efe4fcc63e32cf218f455a7e9.tar.gz openwrt-ee4110aff031d53efe4fcc63e32cf218f455a7e9.tar.bz2 openwrt-ee4110aff031d53efe4fcc63e32cf218f455a7e9.zip |
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 'target/sdk')
-rwxr-xr-x | target/sdk/convert-config.pl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target/sdk/convert-config.pl b/target/sdk/convert-config.pl index 9fd2c362e6..243de0b87b 100755 --- a/target/sdk/convert-config.pl +++ b/target/sdk/convert-config.pl @@ -1,6 +1,13 @@ #!/usr/bin/env perl use strict; +print <<EOF; +config ALL + bool + default y + +EOF + while (<>) { chomp; next unless /^CONFIG_([^=]+)=(.*)$/; @@ -9,6 +16,8 @@ while (<>) { my $val = $2; my $type; + next if $var eq 'ALL'; + if ($val eq 'y') { $type = "bool"; } elsif ($val eq 'm') { |