From 6890f6fe13bb8dfc40dbca89703d4ab1116dd4bc Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 17 Mar 2021 17:30:48 +0000 Subject: 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 --- scripts/target-metadata.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') 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; } -- cgit v1.2.3