mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 15:37:44 +00:00
toolchain: reorganize target gcc options
* Move target gcc language selections to the package menu. * Disable objc & fortran options unless target gcc is selected. * Rename the "native toolchain" option to gcc. * Disable target gcc unless we're using a buildroot toolchain. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
4cf6ec229f
commit
4612aeec57
@ -62,18 +62,6 @@ config BR2_EXTRA_GCC_CONFIG_OPTIONS
|
|||||||
help
|
help
|
||||||
Any additional gcc configure options you may want to include....
|
Any additional gcc configure options you may want to include....
|
||||||
|
|
||||||
config BR2_GCC_CROSS_OBJC
|
|
||||||
bool "Objective-C cross-compiler support"
|
|
||||||
depends on !BR2_avr32
|
|
||||||
help
|
|
||||||
Build an Objective-C cross-compiler
|
|
||||||
|
|
||||||
config BR2_GCC_CROSS_FORTRAN
|
|
||||||
bool "Fortran cross-compiler support"
|
|
||||||
depends on !BR2_avr32
|
|
||||||
help
|
|
||||||
Build a Fortran cross-compiler
|
|
||||||
|
|
||||||
config BR2_GCC_CROSS_JAVA
|
config BR2_GCC_CROSS_JAVA
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
config BR2_PACKAGE_GCC_TARGET
|
config BR2_PACKAGE_GCC_TARGET
|
||||||
bool "native toolchain in the target filesystem"
|
bool "gcc"
|
||||||
depends on BR2_HAVE_DEVFILES
|
depends on BR2_HAVE_DEVFILES && BR2_TOOLCHAIN_BUILDROOT
|
||||||
select BR2_PACKAGE_BINUTILS
|
select BR2_PACKAGE_BINUTILS
|
||||||
select BR2_PACKAGE_BINUTILS_TARGET
|
select BR2_PACKAGE_BINUTILS_TARGET
|
||||||
select BR2_PACKAGE_MPC if BR2_GCC_VERSION_4_5_X
|
select BR2_PACKAGE_MPC if BR2_GCC_VERSION_4_5_X
|
||||||
@ -10,6 +10,18 @@ config BR2_PACKAGE_GCC_TARGET
|
|||||||
If you want the target system to be able to run
|
If you want the target system to be able to run
|
||||||
binutils/gcc and compile native code, say Y here.
|
binutils/gcc and compile native code, say Y here.
|
||||||
|
|
||||||
|
config BR2_GCC_CROSS_FORTRAN
|
||||||
|
bool "fortran support"
|
||||||
|
depends on !BR2_avr32 && BR2_PACKAGE_GCC_TARGET
|
||||||
|
help
|
||||||
|
Build a Fortran compiler
|
||||||
|
|
||||||
|
config BR2_GCC_CROSS_OBJC
|
||||||
|
bool "objective-c support"
|
||||||
|
depends on !BR2_avr32 && BR2_PACKAGE_GCC_TARGET
|
||||||
|
help
|
||||||
|
Build an Objective-C compiler
|
||||||
|
|
||||||
config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
|
config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
|
||||||
string "Additional target gcc options"
|
string "Additional target gcc options"
|
||||||
default ""
|
default ""
|
||||||
@ -19,5 +31,5 @@ config BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS
|
|||||||
Including, but not limited to --disable-checking etc.
|
Including, but not limited to --disable-checking etc.
|
||||||
Refer to */configure in your gcc sources.
|
Refer to */configure in your gcc sources.
|
||||||
|
|
||||||
comment "native toolchain needs development files in target filesystem"
|
comment "gcc needs development files in target filesystem"
|
||||||
depends on !BR2_HAVE_DEVFILES
|
depends on !BR2_HAVE_DEVFILES && BR2_TOOLCHAIN_BUILDROOT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user