aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-03-17 17:30:48 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-03-17 17:45:34 +0000
commit6890f6fe13bb8dfc40dbca89703d4ab1116dd4bc (patch)
tree1f691e43baa12995f3307f3e04a00575ae99d628 /scripts
parent4e6de4f0938de24f407b85b6328f5114103bd45a (diff)
downloadupstream-6890f6fe13bb8dfc40dbca89703d4ab1116dd4bc.tar.gz
upstream-6890f6fe13bb8dfc40dbca89703d4ab1116dd4bc.tar.bz2
upstream-6890f6fe13bb8dfc40dbca89703d4ab1116dd4bc.zip
include/image*: add support for device-tree overlays
Add new target feature 'dt-overlay' which makes DTC keep the symbol names in the generated dtb. Make sure additional DT overlay sources specified by the new device variable DEVICE_DTS_OVERLAY get compiled together with the main DTS (currently overlays got to be in the same folder). Let Build/fit pass the generated DT overlay blobs to mkits.sh. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
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 09a2d993c1..990235182d 100755
--- a/scripts/target-metadata.pl
+++ b/scripts/target-metadata.pl
@@ -45,6 +45,7 @@ sub target_config_features(@) {
/^rootfs-part$/ and $ret .= "\tselect USES_ROOTFS_PART\n";
/^boot-part$/ and $ret .= "\tselect USES_BOOT_PART\n";
/^testing-kernel$/ and $ret .= "\tselect HAS_TESTING_KERNEL\n";
+ /^dt-overlay$/ and $ret .= "\tselect HAS_DT_OVERLAY_SUPPORT\n";
}
return $ret;
}