[Buildroot] [git commit branch/2022.08.x] utils/genrandconfig: disallow configs with BR2_XTENSA_CUSTOM=y
Peter Korsgaard
peter at korsgaard.com
Tue Nov 15 13:22:33 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=868734d040ad0bacd059682649efb4469d53664e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.08.x
When BR2_XTENSA_CUSTOM=y is used with the internal toolchain, an
overlay file is mandatory, which genrandconfig can't provide. So we
simply disallow such configurations.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit c81da5e41c8b8863920a1f0416e4f7f4d22788bf)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
utils/genrandconfig | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/utils/genrandconfig b/utils/genrandconfig
index f19a405685..9c6c2b359c 100755
--- a/utils/genrandconfig
+++ b/utils/genrandconfig
@@ -304,6 +304,11 @@ def fixup_config(sysinfo, configfile):
# No C library for internal toolchain
if 'BR2_TOOLCHAIN_BUILDROOT_NONE=y' in configlines:
return False
+ # Xtensa custom cores require an overlay file with internal
+ # toolchains
+ if 'BR2_XTENSA_CUSTOM=y' in configlines and \
+ 'BR2_TOOLCHAIN_BUILDROOT=y' in configlines:
+ return False
if 'BR2_PACKAGE_AUFS_UTIL=y\n' in configlines and \
'BR2_PACKAGE_AUFS_UTIL_VERSION=""\n' in configlines:
More information about the buildroot
mailing list