10 next if /^CONFIG_SIGNED_PACKAGES/;
12 if (/^CONFIG_((BINARY)|(DOWNLOAD))_FOLDER=(.*)$/) {
13 # We don't want to preserve the build setting of
14 # BINARY_FOLDER and DOWNLOAD_FOLDER.
18 } elsif (/^CONFIG_([^=]+)=(.*)$/) {
22 next if $var eq 'ALL';
26 } elsif ($val eq 'm') {
28 } elsif ($val =~ /^".*"$/) {
30 } elsif ($val =~ /^\d+$/) {
33 warn "WARNING: no type found for symbol CONFIG_$var=$val\n";
36 } elsif (/^# CONFIG_BUSYBOX_(.*) is not set/) {
41 # We don't want to preserve a record of deselecting
42 # packages because we may want build them in the SDK.
43 # non-package configs however may be important to preserve
44 # the same compilation settings for packages that get
45 # recompiled in the SDK.
46 # Also we want avoid preserving image generation settings
47 # because we set those while in ImageBuilder
48 next if /^(# )?CONFIG_PACKAGE/;
49 next if /^(# )?CONFIG_TARGET/;
50 if (/^# CONFIG_(.*) is not set/) {
57 if (($var ne '') && ($type ne '') && ($val ne '')) {