Explorar el Código

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 <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabrice Fontaine hace 2 años
padre
commit
ad4982d18e
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      utils/genrandconfig

+ 4 - 0
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