aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@gmail.com>2020-09-27 16:37:51 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-10-14 23:56:17 +0200
commit4ba1ce24b9f505a321c7bd584478cbe229f5acf3 (patch)
tree73c0684f1cc84bc5e72efd3db72419259980bb52 /support
parent85d15bd20021741078c3be7d71690eb05ad4fa12 (diff)
downloadbuildroot-4ba1ce24b9f505a321c7bd584478cbe229f5acf3.tar.gz
buildroot-4ba1ce24b9f505a321c7bd584478cbe229f5acf3.tar.bz2
support/scripts/gen-bootlin-toolchains: add missing MMU dependencies
Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/gen-bootlin-toolchains4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/scripts/gen-bootlin-toolchains b/support/scripts/gen-bootlin-toolchains
index bfc7237d48..62cdb48478 100755
--- a/support/scripts/gen-bootlin-toolchains
+++ b/support/scripts/gen-bootlin-toolchains
@@ -244,12 +244,16 @@ class Toolchain:
if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC"):
selects.append("BR2_TOOLCHAIN_EXTERNAL_UCLIBC")
elif frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC"):
+ # glibc needs mmu support
+ depends.append("BR2_USE_MMU")
# glibc doesn't support static only configuration
depends.append("!BR2_STATIC_LIBS")
selects.append("BR2_TOOLCHAIN_EXTERNAL_GLIBC")
# all glibc toolchains have RPC support
selects.append("BR2_TOOLCHAIN_HAS_NATIVE_RPC")
elif frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL"):
+ # musl needs mmu support
+ depends.append("BR2_USE_MMU")
selects.append("BR2_TOOLCHAIN_EXTERNAL_MUSL")
# gcc version