@@ -1,68 +1,51 @@
#
-mainmenu "Buildroot $BR2_VERSION Configuration"
+mainmenu "Buildroot $(BR2_VERSION_FULL) Configuration"
config BR2_HAVE_DOT_CONFIG
bool
default y
-config BR2_VERSION
- string
- option env="BR2_VERSION_FULL"
-
-config BR2_HOSTARCH
- string
- option env="HOSTARCH"
-
-config BR2_BASE_DIR
- string
- option env="BASE_DIR"
-
# br2-external paths definitions
-source "$BR2_BASE_DIR/.br2-external.in.paths"
-
-# Hidden config symbols for packages to check system gcc version
-config BR2_HOST_GCC_VERSION
- string
- option env="HOST_GCC_VERSION"
+source "$(BASE_DIR)/.br2-external.in.paths"
config BR2_HOST_GCC_AT_LEAST_4_9
bool
- default y if BR2_HOST_GCC_VERSION = "4 9"
+ default y if "$(HOST_GCC_VERSION)" = "4 9"
config BR2_HOST_GCC_AT_LEAST_5
bool
- default y if BR2_HOST_GCC_VERSION = "5"
+ default y if "$(HOST_GCC_VERSION)" = "5"
select BR2_HOST_GCC_AT_LEAST_4_9
config BR2_HOST_GCC_AT_LEAST_6
bool
- default y if BR2_HOST_GCC_VERSION = "6"
+ default y if "$(HOST_GCC_VERSION)" = "6"
select BR2_HOST_GCC_AT_LEAST_5
config BR2_HOST_GCC_AT_LEAST_7
bool
- default y if BR2_HOST_GCC_VERSION = "7"
+ default y if "$(HOST_GCC_VERSION)" = "7"
select BR2_HOST_GCC_AT_LEAST_6
config BR2_HOST_GCC_AT_LEAST_8
bool
- default y if BR2_HOST_GCC_VERSION = "8"
+ default y if "$(HOST_GCC_VERSION)" = "8"
select BR2_HOST_GCC_AT_LEAST_7
config BR2_HOST_GCC_AT_LEAST_9
bool
- default y if BR2_HOST_GCC_VERSION = "9"
+ default y if "$(HOST_GCC_VERSION)" = "9"
select BR2_HOST_GCC_AT_LEAST_8
config BR2_HOST_GCC_AT_LEAST_10
bool
- default y if BR2_HOST_GCC_VERSION = "10"
+ default y if "$(HOST_GCC_VERSION)" = "10"
select BR2_HOST_GCC_AT_LEAST_9
config BR2_HOST_GCC_AT_LEAST_11
bool
- default y if BR2_HOST_GCC_VERSION = "11"
+ default y if "$(HOST_GCC_VERSION)" = "11"
select BR2_HOST_GCC_AT_LEAST_10
# When adding new entries above, be sure to update
@@ -183,13 +166,9 @@ config BR2_TAR_OPTIONS
endmenu
-config BR2_DEFCONFIG_FROM_ENV
- string
- option env="BR2_DEFCONFIG"
-
config BR2_DEFCONFIG
string "Location to save buildroot config"
- default BR2_DEFCONFIG_FROM_ENV if BR2_DEFCONFIG_FROM_ENV != ""
+ default "$(BR2_DEFCONFIG)" if "$(BR2_DEFCONFIG)" != ""
default "$(CONFIG_DIR)/defconfig"
help
When running 'make savedefconfig', the defconfig file will be
@@ -988,4 +967,4 @@ source "package/Config.in.host"
source "Config.in.legacy"
# br2-external menus definitions
-source "$BR2_BASE_DIR/.br2-external.in.menus"
+source "$(BASE_DIR)/.br2-external.in.menus"
@@ -90,11 +90,7 @@
#
# [End of example]
-config BR2_SKIP_LEGACY
- bool
- option env="SKIP_LEGACY"
-
-if !BR2_SKIP_LEGACY
+if "$(SKIP_LEGACY)" = ""
config BR2_LEGACY
bool
@@ -243,7 +243,7 @@ config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC
config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN
bool "Needs arm-none-eabi toolchain"
depends on BR2_aarch64
- depends on BR2_HOSTARCH = "x86_64"
+ depends on "$(HOSTARCH)" = "x86_64"
help
Select this option if your ATF board configuration requires
an ARM32 bare metal toolchain to be available.
@@ -1,7 +1,7 @@
config BR2_TARGET_BEAGLEV_DDRINIT
bool "beaglev-ddrinit"
depends on BR2_riscv
- depends on BR2_HOSTARCH = "x86_64" # host-riscv64-elf-toolchain
+ depends on "$(HOSTARCH)" = "x86_64" # host-riscv64-elf-toolchain
help
This package builds the DDRinit firmware used on the BeagleV
platform.
@@ -1,7 +1,7 @@
config BR2_TARGET_BEAGLEV_SECONDBOOT
bool "beaglev-secondboot"
depends on BR2_riscv
- depends on BR2_HOSTARCH = "x86_64" # host-riscv64-elf-toolchain
+ depends on "$(HOSTARCH)" = "x86_64" # host-riscv64-elf-toolchain
help
This package builds the SecondBoot firmware used on the
BeagleV platform.
@@ -1,7 +1,7 @@
config BR2_TARGET_S500_BOOTLOADER
bool "s500-bootloader"
depends on BR2_arm
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "x86"
select BR2_HOSTARCH_NEEDS_IA32_LIBS
help
1st level bootloader for Actions Semiconductor S500 SoC.
@@ -149,6 +149,6 @@ config BR2_LINUX_KERNEL_EXT_AUFS_VERSION
endif # aufs
# kernel extensions from br2-external trees, if any
-source "$BR2_BASE_DIR/.br2-external.in.linux"
+source "$(BASE_DIR)/.br2-external.in.linux"
endmenu
@@ -1,6 +1,6 @@
config BR2_PACKAGE_HOST_AMLOGIC_BOOT_FIP
bool "host amlogic-boot-fip"
- depends on BR2_HOSTARCH = "x86_64"
+ depends on "$(HOSTARCH)" = "x86_64"
help
Firmware Image Package (FIP) sources used to sign Amlogic
u-boot binaries in LibreELEC images
@@ -1,8 +1,8 @@
config BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS
bool
- default y if BR2_HOSTARCH = "aarch64"
- default y if BR2_HOSTARCH = "x86_64"
- default y if BR2_HOSTARCH = "x86"
+ default y if "$(HOSTARCH)" = "aarch64"
+ default y if "$(HOSTARCH)" = "x86_64"
+ default y if "$(HOSTARCH)" = "x86"
config BR2_PACKAGE_ERLANG_ARCH_SUPPORTS
bool
@@ -1,6 +1,6 @@
config BR2_PACKAGE_HOST_FLUTTER_SDK_BIN_ARCH_SUPPORTS
bool
- default y if BR2_HOSTARCH = "x86_64"
+ default y if "$(HOSTARCH)" = "x86_64"
config BR2_PACKAGE_HOST_FLUTTER_SDK_BIN
bool "host flutter-sdk-bin"
@@ -1,6 +1,6 @@
config BR2_PACKAGE_HOST_GO_BOOTSTRAP_STAGE1_ARCH_SUPPORTS
bool
# See src/cmd/dist/unix.c for the list of supported architectures
- default y if BR2_HOSTARCH = "x86"
- default y if BR2_HOSTARCH = "x86_64"
- default y if BR2_HOSTARCH = "arm"
+ default y if "$(HOSTARCH)" = "x86"
+ default y if "$(HOSTARCH)" = "x86_64"
+ default y if "$(HOSTARCH)" = "arm"
@@ -1,8 +1,8 @@
config BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS
bool
- default y if BR2_HOSTARCH = "x86_64"
- default y if BR2_HOSTARCH = "x86"
- default y if BR2_HOSTARCH = "arm"
- default y if BR2_HOSTARCH = "aarch64"
- default y if BR2_HOSTARCH = "mips"
- default y if BR2_HOSTARCH = "mipsel"
+ default y if "$(HOSTARCH)" = "x86_64"
+ default y if "$(HOSTARCH)" = "x86"
+ default y if "$(HOSTARCH)" = "arm"
+ default y if "$(HOSTARCH)" = "aarch64"
+ default y if "$(HOSTARCH)" = "mips"
+ default y if "$(HOSTARCH)" = "mipsel"
@@ -40,7 +40,7 @@ config BR2_PACKAGE_JPEG_TURBO
http://www.libjpeg-turbo.org
# libjpeg from br2-external trees, if any
-source "$BR2_BASE_DIR/.br2-external.in.jpeg"
+source "$(BASE_DIR)/.br2-external.in.jpeg"
endchoice
@@ -19,7 +19,7 @@ config BR2_PACKAGE_KVM_UNIT_TESTS
# gcc 4.5 at least. on i386, we use the target gcc, while on
# x86-64 we use the host gcc (see .mk file for details)
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 || !BR2_i386
- depends on BR2_HOSTARCH = "x86_64" || !BR2_x86_64
+ depends on "$(HOSTARCH)" = "x86_64" || !BR2_x86_64
select BR2_HOSTARCH_NEEDS_IA32_COMPILER if BR2_x86_64
help
kvm-unit-tests is a project as old as KVM. As its name
@@ -7,9 +7,9 @@ config BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
default y if BR2_powerpc
# -m32 flag is used for 32bit builds and host-luajit has
# limited architecture support
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "x86"
# Building for 64-bit target requires a 64-bit host
- depends on !BR2_ARCH_IS_64 || BR2_HOSTARCH = "x86_64"
+ depends on !BR2_ARCH_IS_64 || "$(HOSTARCH)" = "x86_64"
config BR2_PACKAGE_LUAJIT
bool "luajit"
@@ -1,7 +1,7 @@
config BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS
bool
- default y if BR2_HOSTARCH = "x86_64"
- default y if BR2_HOSTARCH = "x86"
+ default y if "$(HOSTARCH)" = "x86_64"
+ default y if "$(HOSTARCH)" = "x86"
config BR2_PACKAGE_MONO_ARCH_SUPPORTS
bool
@@ -1,9 +1,9 @@
config BR2_PACKAGE_HOST_NODEJS_BIN_ARCH_SUPPORTS
bool
- default y if BR2_HOSTARCH = "aarch64"
- default y if BR2_HOSTARCH = "arm"
- default y if BR2_HOSTARCH = "ppc64le"
- default y if BR2_HOSTARCH = "x86_64"
+ default y if "$(HOSTARCH)" = "aarch64"
+ default y if "$(HOSTARCH)" = "arm"
+ default y if "$(HOSTARCH)" = "ppc64le"
+ default y if "$(HOSTARCH)" = "x86_64"
comment "host nodejs needs a host gcc >= 8"
depends on !BR2_PACKAGE_HOST_NODEJS_BIN_ARCH_SUPPORTS
@@ -1,7 +1,7 @@
config BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS
bool
- default y if BR2_HOSTARCH = "x86_64"
- default y if BR2_HOSTARCH = "aarch64"
+ default y if "$(HOSTARCH)" = "x86_64"
+ default y if "$(HOSTARCH)" = "aarch64"
# Taken from make/autoconf/platform.m4
config BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS
@@ -47,7 +47,7 @@ config BR2_PACKAGE_LIBRESSL
source "package/libressl/Config.in"
# openssl from br2-external trees, if any
-source "$BR2_BASE_DIR/.br2-external.in.openssl"
+source "$(BASE_DIR)/.br2-external.in.openssl"
endchoice
@@ -16,17 +16,17 @@
# host-protobuf only builds on certain architectures
config BR2_PACKAGE_HOST_PROTOBUF_ARCH_SUPPORTS
bool
- default y if BR2_HOSTARCH = "aarch64"
- default y if BR2_HOSTARCH = "arm"
- default y if BR2_HOSTARCH = "mips"
- default y if BR2_HOSTARCH = "mipsel"
- default y if BR2_HOSTARCH = "powerpc"
- default y if BR2_HOSTARCH = "powerpc64"
- default y if BR2_HOSTARCH = "powerpc64le"
- default y if BR2_HOSTARCH = "sparc"
- default y if BR2_HOSTARCH = "sparc64"
- default y if BR2_HOSTARCH = "x86"
- default y if BR2_HOSTARCH = "x86_64"
+ default y if "$(HOSTARCH)" = "aarch64"
+ default y if "$(HOSTARCH)" = "arm"
+ default y if "$(HOSTARCH)" = "mips"
+ default y if "$(HOSTARCH)" = "mipsel"
+ default y if "$(HOSTARCH)" = "powerpc"
+ default y if "$(HOSTARCH)" = "powerpc64"
+ default y if "$(HOSTARCH)" = "powerpc64le"
+ default y if "$(HOSTARCH)" = "sparc"
+ default y if "$(HOSTARCH)" = "sparc64"
+ default y if "$(HOSTARCH)" = "x86"
+ default y if "$(HOSTARCH)" = "x86_64"
config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
bool
@@ -5,7 +5,7 @@ config BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS
BR2_mips || BR2_mips64
# -m32 flag is used for 32bit builds and host tools have
# limited architecture support
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "x86"
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative
depends on !BR2_BINFMT_FLAT # qt5base-icu
depends on BR2_USE_MMU # libglib2, qt5base-dbus
@@ -1,14 +1,14 @@
# All host rust packages should depend on this option
config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
bool
- default y if BR2_HOSTARCH = "aarch64"
- default y if BR2_HOSTARCH = "powerpc"
- default y if BR2_HOSTARCH = "powerpc64"
- default y if BR2_HOSTARCH = "powerpc64le"
- default y if BR2_HOSTARCH = "riscv64"
- default y if BR2_HOSTARCH = "s390x"
- default y if BR2_HOSTARCH = "x86"
- default y if BR2_HOSTARCH = "x86_64"
+ default y if "$(HOSTARCH)" = "aarch64"
+ default y if "$(HOSTARCH)" = "powerpc"
+ default y if "$(HOSTARCH)" = "powerpc64"
+ default y if "$(HOSTARCH)" = "powerpc64le"
+ default y if "$(HOSTARCH)" = "riscv64"
+ default y if "$(HOSTARCH)" = "s390x"
+ default y if "$(HOSTARCH)" = "x86"
+ default y if "$(HOSTARCH)" = "x86_64"
# The pre-built Rust standard library is only available for a number
# of architectures/C libraries combinations, with different levels of
@@ -1,6 +1,6 @@
config BR2_PACKAGE_HOST_SAM_BA
bool "host sam-ba"
- depends on BR2_HOSTARCH = "x86_64"
+ depends on "$(HOSTARCH)" = "x86_64"
help
Atmel SAM-BA software provides an open set of tools for
programming the Atmel SAM3, SAM7 and SAM9 ARM-based
@@ -1,6 +1,6 @@
config BR2_PACKAGE_SUPERTUXKART
bool "supertuxkart"
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "x86"
depends on BR2_i386 || BR2_x86_64
depends on BR2_USE_MMU # fork()
depends on BR2_INSTALL_LIBSTDCPP # openal
@@ -34,7 +34,7 @@ config BR2_PACKAGE_SUPERTUXKART
http://supertuxkart.sourceforge.net/Main_Page
comment "supertuxkart needs an OpenGL backend, a uClibc or glibc toolchain w/ NPTL, C++, gcc >= 4.9"
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "x86"
depends on BR2_i386 || BR2_x86_64
depends on BR2_USE_MMU
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
@@ -1,7 +1,7 @@
config BR2_PACKAGE_HOST_TI_CGT_PRU_ARCH_SUPPORTS
bool
default y
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "x86"
depends on BR2_arm
config BR2_PACKAGE_HOST_TI_CGT_PRU
@@ -1,7 +1,7 @@
config BR2_PACKAGE_TI_GFX
bool "ti-gfx"
depends on BR2_LINUX_KERNEL && BR2_TOOLCHAIN_USES_GLIBC && BR2_arm
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "x86"
select BR2_HOSTARCH_NEEDS_IA32_LIBS
select BR2_PACKAGE_HAS_LIBEGL
select BR2_PACKAGE_HAS_LIBGLES
@@ -2,9 +2,9 @@ config BR2_PACKAGE_WINE_ARCH_SUPPORTS
bool
default y
# Wine only builds on certain architectures
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" || \
- BR2_HOSTARCH = "powerpc" || BR2_HOSTARCH = "arm" || \
- BR2_HOSTARCH = "aarch64"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "x86" || \
+ "$(HOSTARCH)" = "powerpc" || "$(HOSTARCH)" = "arm" || \
+ "$(HOSTARCH)" = "aarch64"
# Wine has much CPU specific code and mostly makes sense on x86
depends on BR2_i386
@@ -20,7 +20,7 @@ config BR2_ROOTFS_SKELETON_CUSTOM
Use custom target skeleton.
# skeleton from br2-external trees, if any
-source "$BR2_BASE_DIR/.br2-external.in.skeleton"
+source "$(BASE_DIR)/.br2-external.in.skeleton"
endchoice
@@ -154,7 +154,7 @@ config BR2_INIT_NONE
or with a rootfs-overlay.
# Init systems from br2-external trees, if any
-source "$BR2_BASE_DIR/.br2-external.in.init"
+source "$(BASE_DIR)/.br2-external.in.init"
endchoice
@@ -38,7 +38,7 @@ source "toolchain/toolchain-external/toolchain-external-bootlin/Config.in"
source "toolchain/toolchain-external/toolchain-external-custom/Config.in"
# Toolchains from br2-external trees, if any
-source "$BR2_BASE_DIR/.br2-external.in.toolchains"
+source "$(BASE_DIR)/.br2-external.in.toolchains"
endchoice
@@ -1,7 +1,7 @@
config BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE
bool "Arm AArch64 BE 13.2.rel1"
depends on BR2_aarch64_be
- depends on BR2_HOSTARCH = "x86_64"
+ depends on "$(HOSTARCH)" = "x86_64"
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_13
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
select BR2_TOOLCHAIN_HAS_SSP
@@ -1,7 +1,7 @@
config BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64
bool "Arm AArch64 13.2.rel1"
depends on BR2_aarch64
- depends on BR2_HOSTARCH = "x86_64"
+ depends on "$(HOSTARCH)" = "x86_64"
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_13
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
select BR2_TOOLCHAIN_HAS_SSP
@@ -7,7 +7,7 @@ config BR2_TOOLCHAIN_EXTERNAL_ARM_ARM
depends on BR2_arm
depends on BR2_ARM_CPU_ARMV7A || BR2_ARM_CPU_ARMV8A
depends on BR2_ARM_CPU_HAS_NEON
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "aarch64"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "aarch64"
depends on BR2_ARM_EABIHF
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_13
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
@@ -1,7 +1,7 @@
config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN
bool "Bootlin toolchains"
depends on BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCH_SUPPORTS
- depends on BR2_HOSTARCH = "x86_64"
+ depends on "$(HOSTARCH)" = "x86_64"
help
Bootlin toolchains are built using Buildroot for a large
number of architectures and C libraries configurations.
@@ -5,7 +5,7 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_6
# Unsupported MIPS cores
depends on !BR2_mips_interaptiv
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "x86"
depends on !BR2_MIPS_NABI32
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
select BR2_TOOLCHAIN_HAS_SSP
@@ -1,7 +1,7 @@
config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_BE
bool "Linaro AArch64 BE 2018.05"
depends on BR2_aarch64_be
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "x86"
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_8
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
select BR2_TOOLCHAIN_HAS_SSP
@@ -1,7 +1,7 @@
config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
bool "Linaro AArch64 2018.05"
depends on BR2_aarch64
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "x86"
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_8
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
select BR2_TOOLCHAIN_HAS_SSP
@@ -6,7 +6,7 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
bool "Linaro ARM 2018.05"
depends on BR2_arm
depends on BR2_ARM_CPU_ARMV7A || BR2_ARM_CPU_ARMV8A
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "x86"
depends on BR2_ARM_EABIHF
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_8
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
@@ -6,7 +6,7 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
bool "Linaro armeb 2018.05"
depends on BR2_armeb
depends on BR2_ARM_CPU_ARMV7A || BR2_ARM_CPU_ARMV8A
- depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+ depends on "$(HOSTARCH)" = "x86_64" || "$(HOSTARCH)" = "x86"
depends on BR2_ARM_EABIHF
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_8
select BR2_TOOLCHAIN_EXTERNAL_GLIBC
@@ -1,7 +1,7 @@
config BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC
bool "Synopsys ARC 2019.09 toolchain"
depends on BR2_arc
- depends on BR2_HOSTARCH = "x86_64"
+ depends on "$(HOSTARCH)" = "x86_64"
depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_10
select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
select BR2_INSTALL_LIBSTDCPP
- reference environment variables directly (remove 'option env='), see upstream commit [1]: BR2_VERSION --> BR2_VERSION_FULL BR2_HOSTARCH --> HOSTARCH BR2_SKIP_LEGACY --> SKIP_LEGACY BR2_BASE_DIR --> BASE_DIR BR2_HOST_GCC_VERSION --> HOST_GCC_VERSION BR2_DEFCONFIG_FROM_ENV --> BR2_DEFCONFIG [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=104daea149c45cc84842ce77a9bd6436d19f3dd8 Signed-off-by: Peter Seiderer <ps.report@gmx.net> --- Changes v1 -> v2: - moved escape fixes to extra/preliminary patch Notes/ToDo: - take a look at BR2_HOSTARCH usage in utils/checksymbolslib/br.py - take a look at BR2_BASE_DIR usage in utils/checksymbolslib/br.py and utils/checksymbolslib/test_kconfig.py --- Config.in | 45 +++++-------------- Config.in.legacy | 6 +-- boot/arm-trusted-firmware/Config.in | 2 +- boot/beaglev-ddrinit/Config.in | 2 +- boot/beaglev-secondboot/Config.in | 2 +- boot/s500-bootloader/Config.in | 2 +- linux/Config.ext.in | 2 +- package/amlogic-boot-fip/Config.in.host | 2 +- package/erlang/Config.in | 6 +-- package/flutter-sdk-bin/Config.in.host | 2 +- package/go-bootstrap-stage1/Config.in.host | 6 +-- package/google-breakpad/Config.in.host | 12 ++--- package/jpeg/Config.in | 2 +- package/kvm-unit-tests/Config.in | 2 +- package/luajit/Config.in | 4 +- package/mono/Config.in | 4 +- package/nodejs/Config.in.host | 8 ++-- package/openjdk/Config.in | 4 +- package/openssl/Config.in | 2 +- package/protobuf/Config.in | 22 ++++----- package/qt5/qt5webengine/Config.in | 2 +- package/rustc/Config.in.host | 16 +++---- package/sam-ba/Config.in.host | 2 +- package/supertuxkart/Config.in | 4 +- package/ti-cgt-pru/Config.in.host | 2 +- package/ti-gfx/Config.in | 2 +- package/wine/Config.in | 6 +-- system/Config.in | 4 +- toolchain/toolchain-external/Config.in | 2 +- .../Config.in | 2 +- .../toolchain-external-arm-aarch64/Config.in | 2 +- .../toolchain-external-arm-arm/Config.in | 2 +- .../toolchain-external-bootlin/Config.in | 2 +- .../Config.in | 2 +- .../Config.in | 2 +- .../Config.in | 2 +- .../toolchain-external-linaro-arm/Config.in | 2 +- .../toolchain-external-linaro-armeb/Config.in | 2 +- .../toolchain-external-synopsys-arc/Config.in | 2 +- 39 files changed, 86 insertions(+), 111 deletions(-)