scripts/metadata.pl: remove sdk specific config symbol override

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39916
This commit is contained in:
Felix Fietkau 2014-03-13 14:14:03 +00:00
parent 2a5f6cadd1
commit 52dcb1f411

View file

@ -674,14 +674,7 @@ sub gen_package_mk() {
next if defined $pkg->{vdepends}; next if defined $pkg->{vdepends};
if ($ENV{SDK}) { $config = "\$(CONFIG_PACKAGE_$name)";
$conf{$pkg->{src}} or do {
$config = 'm';
$conf{$pkg->{src}} = 1;
};
} else {
$config = "\$(CONFIG_PACKAGE_$name)"
}
if ($config) { if ($config) {
$pkg->{buildonly} and $config = ""; $pkg->{buildonly} and $config = "";
print "package-$config += $pkg->{subdir}$pkg->{src}\n"; print "package-$config += $pkg->{subdir}$pkg->{src}\n";