[Buildroot] [PATCH] board/broadcom/northstar: fix building custom images
Rafał Miłecki
zajec5 at gmail.com
Wed Jan 3 06:32:53 UTC 2024
From: Rafał Miłecki <rafal at milecki.pl>
Custom Northstar images allow installing (flashing) them using vendor UI
or CFE bootloader. Change of DTS files paths ("broadcom/" prefix
introduction) prevented post script from generating them.
Adjust post-image.sh to deal with new paths.
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
board/broadcom/northstar/post-image.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/broadcom/northstar/post-image.sh b/board/broadcom/northstar/post-image.sh
index b6150fc539..559ed8bf4b 100755
--- a/board/broadcom/northstar/post-image.sh
+++ b/board/broadcom/northstar/post-image.sh
@@ -27,8 +27,9 @@ build_trx() {
rm -f $images/zImage.$device.lzma
}
-devices="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([a-z0-9 \-]*\)"$/\1/p' ${BR2_CONFIG})"
+devices="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([^"]*\)"$/\1/p' ${BR2_CONFIG})"
for device in $devices; do
+ device="${device#broadcom/}"
case "$device" in
"bcm4708-smartrg-sr400ac")
build_trx "$1" "$device"
--
2.35.3
More information about the buildroot
mailing list