summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.cris17
-rw-r--r--extra/Configs/Config.cris.default63
2 files changed, 79 insertions, 1 deletions
diff --git a/extra/Configs/Config.cris b/extra/Configs/Config.cris
index 012c39ca4..9304c24c7 100644
--- a/extra/Configs/Config.cris
+++ b/extra/Configs/Config.cris
@@ -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
index 000000000..b73855dda
--- /dev/null
+++ b/extra/Configs/Config.cris.default
@@ -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