utils/genrandconfig: add boot-wrapper-aarch64 handling

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

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2023-02-25 23:50:31 +01:00 committed by Peter Korsgaard
parent 99d9dc1ad8
commit ad4982d18e

View File

@ -492,6 +492,10 @@ def fixup_config(sysinfo, configfile):
configlines.remove('BR2_TARGET_BAREBOX_USE_DEFCONFIG=y\n')
configlines.remove('BR2_TARGET_BAREBOX_BOARD_DEFCONFIG=""\n')
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