OSDN Git Service

remove NAN selection, better do it in your build system
authorWaldemar Brodkorb <wbx@openadk.org>
Mon, 9 Mar 2015 06:48:19 +0000 (01:48 -0500)
committerWaldemar Brodkorb <wbx@openadk.org>
Wed, 11 Mar 2015 19:36:05 +0000 (20:36 +0100)
With older gcc than 4.9.x, this breaks the build.
These specific compiler flags belongs better to your
favorite build system.

Rules.mak
extra/Configs/Config.mips

index 720aca3..146ea72 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -402,10 +402,6 @@ ifeq ($(TARGET_ARCH),mips)
        CPU_CFLAGS-$(CONFIG_MIPS_N64_ABI)+=-mabi=64
        CPU_CFLAGS-$(CONFIG_MIPS_O32_ABI)+=-mabi=32
        CPU_CFLAGS-$(CONFIG_MIPS_N32_ABI)+=-mabi=n32
-
-       CPU_CFLAGS-$(CONFIG_MIPS_NAN_LEGACY)+=-mnan=legacy
-       CPU_CFLAGS-$(CONFIG_MIPS_NAN_2008)+=-mnan=2008
-
        CPU_LDFLAGS-y += $(CPU_CFLAGS)
 endif
 
index 76b10c6..4d30d31 100644 (file)
@@ -33,21 +33,6 @@ config CONFIG_MIPS_N64_ABI
 endchoice
 
 choice
-       prompt "Target NAN Encoding"
-       default CONFIG_MIPS_NAN_LEGACY
-       help
-         This is the NAN Encoding you want to use.  Chose either Legacy
-         or 2008.
-
-config CONFIG_MIPS_NAN_LEGACY
-       bool "LEGACY"
-
-config CONFIG_MIPS_NAN_2008
-       bool "2008"
-
-endchoice
-
-choice
        prompt "Target Processor Architecture"
        default CONFIG_MIPS_ISA_1 if CONFIG_MIPS_O32_ABI
        default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N32_ABI