From ad4982d18e66ec909b0c906768d233fd8d4a1be0 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 25 Feb 2023 23:50:31 +0100 Subject: [PATCH] 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 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- utils/genrandconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/genrandconfig b/utils/genrandconfig index 6ec398851a..2b0baedf31 100755 --- a/utils/genrandconfig +++ b/utils/genrandconfig @@ -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