Browse Source

make ABI into a list

Mike Frysinger 18 years ago
parent
commit
661d9feac8
1 changed files with 14 additions and 6 deletions
  1. 14 6
      extra/Configs/Config.arm

+ 14 - 6
extra/Configs/Config.arm

@@ -17,16 +17,24 @@ config ARCH_CFLAGS
 config LIBGCC_CFLAGS
 config LIBGCC_CFLAGS
 	string
 	string
 
 
-config CONFIG_ARM_EABI
+choice
-	bool "Use ARM EABI"
+	prompt "Target ABI"
-	default n
+	default CONFIG_ARM_OABI
 	help
 	help
-	  If you choose "Y" here, functions and constants required by the
+	  If you choose "EABI" here, functions and constants required by the
-	  ARM EABI will be built into the library.  You should choose "Y"
+	  ARM EABI will be built into the library.  You should choose "EABI"
 	  if your compiler uses the ARM EABI, in which case you will also
 	  if your compiler uses the ARM EABI, in which case you will also
-	  need a kernel supporting the EABI system call interface, or "N"
+	  need a kernel supporting the EABI system call interface, or "OABI"
 	  for a compiler using the old Linux ABI.
 	  for a compiler using the old Linux ABI.
 
 
+config CONFIG_ARM_OABI
+	bool "OABI"
+
+config CONFIG_ARM_EABI
+	bool "EABI"
+
+endchoice
+
 config USE_BX
 config USE_BX
 	bool "Use BX in function return"
 	bool "Use BX in function return"
 	default y
 	default y