aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2021-07-30 01:11:37 +0300
committerStijn Tintel <stijn@linux-ipv6.be>2021-08-07 01:34:40 +0300
commit8347d8b4fbe41ce7db386f948df3ebb6c6bc32d3 (patch)
tree506c3ab13d248558ed9c5dbd7e34d5c641c07262 /scripts
parent84c9570aaadec70b667586c3c84dd9fd095baa9e (diff)
downloadupstream-8347d8b4fbe41ce7db386f948df3ebb6c6bc32d3.tar.gz
upstream-8347d8b4fbe41ce7db386f948df3ebb6c6bc32d3.tar.bz2
upstream-8347d8b4fbe41ce7db386f948df3ebb6c6bc32d3.zip
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/target-metadata.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/target-metadata.pl b/scripts/target-metadata.pl
index dff24998cd..34fb32a07e 100755
--- a/scripts/target-metadata.pl
+++ b/scripts/target-metadata.pl
@@ -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";