From d774551787fc737823fe645bb3efd758619690a2 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 16 Jul 2013 10:03:12 +0200 Subject: arch: introduce BR2_GCC_TARGET_{FPU, FLOAT_ABI} Buildroot already has the BR2_GCC_TARGET_{TUNE,ARCH,ABI,CPU} hidden kconfig strings that allow per-architecture Config.in files to feed the appropriate values of --with-{tune,arch,abi-cpu} when building gcc, or the appropriate flags for the external toolchain wrapper. This commit has two additional options: BR2_GCC_TARGET_{FPU,FLOAT_ABI}, that allows to define the --with-{fpu,float} gcc configure options for the internal backend, or the -m{fpu,float-abi} options for the flags of the external toolchain wrapper. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- arch/Config.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'arch') diff --git a/arch/Config.in b/arch/Config.in index 5ca05cdde6..5bb96c5275 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -192,6 +192,18 @@ config BR2_GCC_TARGET_CPU config BR2_GCC_TARGET_CPU_REVISION string +# The value of this option will be passed as --with-fpu= when +# building gcc (internal backend) or -mfpu= in the toolchain +# wrapper (external toolchain) +config BR2_GCC_TARGET_FPU + string + +# The value of this option will be passed as --with-float= when +# building gcc (internal backend) or -mfloat-abi= in the toolchain +# wrapper (external toolchain) +config BR2_GCC_TARGET_FLOAT_ABI + string + # Set up target binary format choice prompt "Target Binary Format" -- cgit v1.2.1