Add FEATURE ramdisk to be able to select the use of INITRAMFS for a sub-target
[openwrt/svn-archive/archive.git] / scripts / metadata.pl
index 3d9d68a654b4fb5b8f3c4c2745ca42dd3d3ea2e2..c341e652617edaf74739891f4f6a7ce42558fa05 100755 (executable)
@@ -163,6 +163,7 @@ sub target_config_features(@) {
                /tgz/ and $ret .= "\tselect USES_TGZ\n";
                /cpiogz/ and $ret .= "\tselect USES_CPIOGZ\n";
                /fpu/ and $ret .= "\tselect HAS_FPU\n";
+               /ramdisk/ and $ret .= "\tselect USES_INITRAMFS\n";
        }
        return $ret;
 }