Explorar o código

make ABI into a list

Mike Frysinger %!s(int64=19) %!d(string=hai) anos
pai
achega
661d9feac8
Modificáronse 1 ficheiros con 14 adicións e 6 borrados
  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
-	bool "Use ARM EABI"
-	default n
+choice
+	prompt "Target ABI"
+	default CONFIG_ARM_OABI
 	help
 	help
-	  If you choose "Y" here, functions and constants required by the
-	  ARM EABI will be built into the library.  You should choose "Y"
+	  If you choose "EABI" here, functions and constants required by the
+	  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