SDK: enforce kernel module selection state
[openwrt/staging/jogo.git] / target / sdk / convert-config.pl
index f73744af099d2966b1ecacca35483c72b90ec7c6..2186935ead349f34d48da560aeedc8a47ba6cb1b 100755 (executable)
@@ -55,5 +55,13 @@ config $var
        default $val
 
 EOF
+               if ($var =~ /^PACKAGE_kmod-.+/) {
+                       print <<EOF;
+config SDK_$var
+       $type
+       default $val
+
+EOF
+               }
        }
 }