Bump buildroot to 2019.02
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
# All host rust packages should depend on this option
|
||||
config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||
|
||||
# All target rust packages should depend on this option
|
||||
config BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
bool
|
||||
# The pre-built Rust standard library is only available for the
|
||||
# following architectures/ABIs, and is built against glibc.
|
||||
@@ -7,12 +13,12 @@ config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
|
||||
default y if BR2_aarch64
|
||||
default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 \
|
||||
&& !(BR2_ARM_CPU_ARMV7A && BR2_ARM_EABI)
|
||||
default y if BR2_powerpc || BR2_powerpc64
|
||||
default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
|
||||
default y if (BR2_mips || BR2_mipsel) && !BR2_MIPS_CPU_MIPS32R6
|
||||
default y if (BR2_mips64 || BR2_mips64el) && !BR2_MIPS_CPU_MIPS64R6 \
|
||||
&& BR2_MIPS_NABI64
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
|
||||
|
||||
config BR2_PACKAGE_HOST_RUSTC_ARCH
|
||||
string
|
||||
@@ -46,7 +52,6 @@ config BR2_PACKAGE_HOST_RUST
|
||||
depends on BR2_HOST_GCC_AT_LEAST_4_7 # required by LLVM
|
||||
# triggers ICE on trunc_int_for_mode, at explow.c:56
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 || !BR2_aarch64
|
||||
select BR2_PACKAGE_HAS_HOST_RUSTC
|
||||
help
|
||||
This package will build the compiler for the host as well as
|
||||
two flavors of the standard library: one for the host, another
|
||||
@@ -61,19 +66,17 @@ comment "host-rust needs host gcc >= 4.7"
|
||||
|
||||
config BR2_PACKAGE_HOST_RUST_BIN
|
||||
bool "host rust (pre-built)"
|
||||
select BR2_PACKAGE_HAS_HOST_RUSTC
|
||||
help
|
||||
This package will install pre-built versions of the compiler
|
||||
for the host and the Rust standard library for the target.
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_PACKAGE_HAS_HOST_RUSTC
|
||||
bool
|
||||
endif
|
||||
|
||||
config BR2_PACKAGE_PROVIDES_HOST_RUSTC
|
||||
string
|
||||
default "host-rust" if BR2_PACKAGE_HOST_RUST
|
||||
default "host-rust-bin" if BR2_PACKAGE_HOST_RUST_BIN
|
||||
|
||||
endif
|
||||
# Default to host-rust-bin as long as host arch supports it
|
||||
default "host-rust-bin" if !BR2_PACKAGE_HOST_RUST
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
|
||||
|
||||
@@ -7,7 +7,9 @@
|
||||
RUSTC_ARCH = $(call qstrip,$(BR2_PACKAGE_HOST_RUSTC_ARCH))
|
||||
RUSTC_ABI = $(call qstrip,$(BR2_PACKAGE_HOST_RUSTC_ABI))
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y)
|
||||
RUSTC_TARGET_NAME = $(RUSTC_ARCH)-unknown-linux-gnu$(RUSTC_ABI)
|
||||
endif
|
||||
|
||||
ifeq ($(HOSTARCH),x86)
|
||||
RUSTC_HOST_ARCH = i686
|
||||
|
||||
Reference in New Issue
Block a user