summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-06-04 15:57:25 +0100
committerDaniel Golle <daniel@makrotopia.org>2023-06-05 11:36:32 +0100
commit6b01d40bfedb42323a1324e1b5624f192a4c91de (patch)
tree27ba87154bccf317ae5b1499c6f455af3636db65 /scripts
parentd28534545edfa29e9529f9c9cd5960889a9d4018 (diff)
downloadopenwrt-6b01d40bfedb42323a1324e1b5624f192a4c91de.tar.gz
openwrt-6b01d40bfedb42323a1324e1b5624f192a4c91de.tar.bz2
openwrt-6b01d40bfedb42323a1324e1b5624f192a4c91de.zip
image: improve uImage.FIT device tree overlay support
Instead of generating full config nodes incl. kernel, generate minimal config nodes for device tree overlays to be applied to the main config. In this way, multiple device tree overlays can be applied more easily. While at it change filenames to upstream style, ie. use dtso and dtbo suffix for device tree overlays. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkits.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/scripts/mkits.sh b/scripts/mkits.sh
index bf75d69f09..b1c6f98867 100755
--- a/scripts/mkits.sh
+++ b/scripts/mkits.sh
@@ -191,13 +191,10 @@ OVCONFIGS=""
"
OVCONFIGS="$OVCONFIGS
- config-$ovname {
- description = \"OpenWrt ${DEVICE} with $ovname\";
- kernel = \"kernel${REFERENCE_CHAR}1\";
- fdt = \"fdt${REFERENCE_CHAR}$FDTNUM\", \"$ovnode\";
- ${LOADABLES:+loadables = ${LOADABLES};}
+ $ovname {
+ description = \"OpenWrt ${DEVICE} overlay $ovname\";
+ fdt = \"$ovnode\";
${COMPATIBLE_PROP}
- ${INITRD_PROP}
};
"
done