mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00:00
rustc: fix check-package warnings
utils/check-package complains as follows: package/rustc/Config.in.host:6: attributes order: type, default, depends on, select, help (http://nightly.buildroot.org/#_config_files) package/rustc/Config.in.host:79: empty line at end of file This patch fixes these warnings. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
f69c519267
commit
4c0c03ab6a
@ -1,6 +1,5 @@
|
|||||||
config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
|
config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
|
||||||
bool
|
bool
|
||||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
|
||||||
# The pre-built Rust standard library is only available for the
|
# The pre-built Rust standard library is only available for the
|
||||||
# following architectures/ABIs, and is built against glibc.
|
# following architectures/ABIs, and is built against glibc.
|
||||||
default y if BR2_i386
|
default y if BR2_i386
|
||||||
@ -12,6 +11,7 @@ config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
|
|||||||
default y if (BR2_mips64 || BR2_mips64el) && !BR2_MIPS_CPU_MIPS64R6 \
|
default y if (BR2_mips64 || BR2_mips64el) && !BR2_MIPS_CPU_MIPS64R6 \
|
||||||
&& BR2_MIPS_NABI64
|
&& BR2_MIPS_NABI64
|
||||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||||
|
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||||
|
|
||||||
config BR2_PACKAGE_HOST_RUSTC_ARCH
|
config BR2_PACKAGE_HOST_RUSTC_ARCH
|
||||||
string
|
string
|
||||||
@ -76,4 +76,3 @@ config BR2_PACKAGE_PROVIDES_HOST_RUSTC
|
|||||||
default "host-rust-bin" if BR2_PACKAGE_HOST_RUST_BIN
|
default "host-rust-bin" if BR2_PACKAGE_HOST_RUST_BIN
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user