scripts/metadata.pl: remove sdk specific config symbol override
authorFelix Fietkau <nbd@openwrt.org>
Thu, 13 Mar 2014 14:14:03 +0000 (14:14 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 13 Mar 2014 14:14:03 +0000 (14:14 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39916

scripts/metadata.pl

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