Skip to contentSkip to conversation

utils/genrandconfig: add boot-wrapper-aarch64 handling

PATCH In review Fabrice Fontaine 2 participants 2 messages Feb 25, 2023 – Feb 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utils/genrandconfig: add boot-wrapper-aarch64 handling

Fix the following build failure raised since the addition of the package in commit 7689b72e00fd4d8c017880004e83a1c79144ab7b:

configure: error: Could not find DTB file: /home/autobuild/autobuild/instance-9/output-1/build/linux-6.1.9/arch/arm64/boot/dts/.dtb

Fixes:
- http://autobuild.buildroot.org/results/44287ccc8cc9767704642919e6d928d1f57b436d

---
 utils/genrandconfig | 4 ++++
 1 file changed, 4 insertions(+)
utils/genrandconfig +4 -0
index a3d98119c7..ca465547d8 100755
@@ -487,6 +487,10 @@ def fixup_config(sysinfo, configfile):
        'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines:
         return False
 
+    if 'BR2_TARGET_BOOT_WRAPPER_AARCH64=y\n' in configlines and \
+       'BR2_TARGET_BOOT_WRAPPER_AARCH64_DTS=""\n' in configlines:
+        return False
+
     if 'BR2_TARGET_LPC32XXCDL=y\n' in configlines and \
        'BR2_TARGET_LPC32XXCDL_BOARDNAME=""\n' in configlines:
         return False
Signature · 6 lines
2.39.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 21 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Fix the following build failure raised since the addition of the package in commit 7689b72e00fd4d8c017880004e83a1c79144ab7b:

configure: error: Could not find DTB file:
/home/autobuild/autobuild/instance-9/output-1/build/linux-6.1.9/arch/arm64/boot/dts/.dtb

Fixes:
- http://autobuild.buildroot.org/results/44287ccc8cc9767704642919e6d928d1f57b436d

---
 utils/genrandconfig | 4 ++++
 1 file changed, 4 insertions(+)
utils/genrandconfig +0 -0
index a3d98119c7..ca465547d8 100755

utils/genrandconfig def fixup_config(sysinfo, configfile): · line 488

Quoted 2 lines
utils/genrandconfig +0 -0
@@ -487,6 +487,10 @@ def fixup_config(sysinfo, configfile):
        'BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n' in configlines:
         return False

Hmm, this doesn't match current code?

Manually fixed up and committed, thanks.

Quoted 15 lines
utils/genrandconfig +4 -0
+    if 'BR2_TARGET_BOOT_WRAPPER_AARCH64=y\n' in configlines and \
+       'BR2_TARGET_BOOT_WRAPPER_AARCH64_DTS=""\n' in configlines:
+        return False
+
     if 'BR2_TARGET_LPC32XXCDL=y\n' in configlines and \
        'BR2_TARGET_LPC32XXCDL_BOARDNAME=""\n' in configlines:
         return False
Signature · 6 lines
2.39.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot