base-files: add generic sdcard upgrade method
Add a generic sdcard upgrade method instead of duplicating code in yet another target, and add a feature flag to only install this upgrade method in targets that set this flag. Copied from mvebu. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user