base-files: add generic sdcard upgrade method
[openwrt/openwrt.git] / scripts / target-metadata.pl
index dff24998cd2b6c725dcf4b7c225180ab29f33201..34fb32a07e6d8580d7098cbef437afd48a9cae63 100755 (executable)
@@ -36,6 +36,7 @@ sub target_config_features(@) {
                /^rfkill$/ and $ret .= "\tselect RFKILL_SUPPORT\n";
                /^rootfs-part$/ and $ret .= "\tselect USES_ROOTFS_PART\n";
                /^rtc$/ and $ret .= "\tselect RTC_SUPPORT\n";
+               /^sdcard$/ and $ret .= "\tselect SDCARD_SUPPORT\n";
                /^separate_ramdisk$/ and $ret .= "\tselect USES_INITRAMFS\n\tselect USES_SEPARATE_INITRAMFS\n";
                /^small_flash$/ and $ret .= "\tselect SMALL_FLASH\n";
                /^spe_fpu$/ and $ret .= "\tselect HAS_SPE_FPU\n";