diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-03-13 12:12:58 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-03-13 12:12:58 +0000 |
commit | b07e567e6cc425b2293fbc83c187c1558fdf186b (patch) | |
tree | 07d6fc0552fea718c9c1017c66159914cba63e6b /target | |
parent | 4b07676d91294bca0ebafb9424320238c005f302 (diff) |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39913 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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') { |