2
1
Эх сурвалжийг харах

utils/genrandconfig: add lpc32xxcdl handling

Fix the following build failure raised since the addition of the package
in commit 20695936ad63f602662bc4c6124a26312c46ff52:

make[2]: *** /tmp/instance-0/output-1/build/lpc32xxcdl-2.11/csps/lpc32xx/bsps//source: No such file or directory.  Stop.

Fixes:
 - http://autobuild.buildroot.org/results/72c9a4080318b1b247ca3517c95c689dff1068d2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fabrice Fontaine 2 жил өмнө
parent
commit
5e1a50e4e6
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  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_LPC32XXCDL=y\n' in configlines and \
+       'BR2_TARGET_LPC32XXCDL_BOARDNAME=""\n' in configlines:
+        return False
+
     if 'BR2_TARGET_OPTEE_OS=y\n' in configlines and \
        'BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL=y\n' in configlines and \
        'BR2_TARGET_OPTEE_OS_CUSTOM_TARBALL_LOCATION=""\n' in configlines: