OSDN Git Service

Removed redundant definition of __USE_WEAK_ALIASES.
authorTobias Anderberg <tobias.anderberg@axis.com>
Thu, 5 Dec 2002 17:35:47 +0000 (17:35 -0000)
committerTobias Anderberg <tobias.anderberg@axis.com>
Thu, 5 Dec 2002 17:35:47 +0000 (17:35 -0000)
Added option for selecting cris architecure type. For now, only CRIS is
available.
Added a default configuration for cris.

extra/Configs/Config.cris
extra/Configs/Config.cris.default [new file with mode: 0644]

index 012c39c..9304c24 100644 (file)
@@ -13,7 +13,6 @@ config HAVE_ELF
 
 config ARCH_CFLAGS
        string
-       default "-fpic -mlinux -D__USE_WEAK_ALIASES"
 
 config ARCH_LDFLAGS
        string
@@ -23,6 +22,22 @@ config LIBGCC_CFLAGS
        string
        default "-mlinux"
 
+
+choice
+       prompt "Target Architecture Type"
+       default CONFIG_CRIS
+       help
+               This is the architecture type of your CPU. This information is used for
+               optimizing purposes.
+
+               These are the possible settings:
+               - CRIS  Generic support for Axis' CRIS architecture.
+
+config CONFIG_CRIS
+       bool "CRIS"
+
+endchoice
+
 source "extra/Configs/Config.in.arch"
 
 endmenu
diff --git a/extra/Configs/Config.cris.default b/extra/Configs/Config.cris.default
new file mode 100644 (file)
index 0000000..b73855d
--- /dev/null
@@ -0,0 +1,63 @@
+#
+# Automatically generated make config: don't edit
+#
+
+#
+# Target Architecture Features and Options
+#
+HAVE_ELF=y
+ARCH_LDFLAGS="-mcrislinux"
+LIBGCC_CFLAGS="-mlinux"
+CONFIG_CRIS=y
+UCLIBC_HAS_MMU=y
+UCLIBC_HAS_FLOATS=y
+HAS_FPU=y
+# DO_C99_MATH is not set
+WARNINGS="-Wall"
+KERNEL_SOURCE="$(AXIS_KERNEL_DIR)"
+C_SYMBOL_PREFIX=""
+
+#
+# General Library Settings
+#
+DOPIC=y
+HAVE_SHARED=y
+BUILD_UCLIBC_LDSO=y
+# LDSO_LDD_SUPPORT is not set
+UCLIBC_HAS_THREADS=y
+UCLIBC_HAS_LFS=y
+# MALLOC is not set
+MALLOC_930716=y
+HAS_SHADOW=y
+UCLIBC_HAS_REGEX=y
+UNIX98PTY_ONLY=y
+ASSUME_DEVPTS=y
+
+#
+# Networking Support
+#
+UCLIBC_HAS_IPV6=y
+UCLIBC_HAS_RPC=y
+# UCLIBC_HAS_FULL_RPC is not set
+
+#
+# String and Stdio Support
+#
+# UCLIBC_HAS_WCHAR is not set
+# USE_OLD_VFPRINTF is not set
+
+#
+# Library Installation Options
+#
+SHARED_LIB_LOADER_PATH="$(DEVEL_PREFIX)/lib"
+DEVEL_PREFIX="$(AXIS_TOP_DIR)/target/cris-axis-linux-gnuuclibc"
+SYSTEM_DEVEL_PREFIX="$(DEVEL_PREFIX)"
+DEVEL_TOOL_PREFIX="$(DEVEL_PREFIX)/usr"
+
+#
+# uClibc hacking options
+#
+# DODEBUG is not set
+# DOASSERTS is not set
+# SUPPORT_LD_DEBUG is not set
+# SUPPORT_LD_DEBUG_EARLY is not set