summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--samples/sparc-leon-linux-uclibc/crosstool.config17
-rw-r--r--samples/sparc-leon-linux-uclibc/reported.by3
-rw-r--r--samples/sparc-leon-linux-uclibc/uClibc-1.0.12.config20
3 files changed, 40 insertions, 0 deletions
diff --git a/samples/sparc-leon-linux-uclibc/crosstool.config b/samples/sparc-leon-linux-uclibc/crosstool.config
new file mode 100644
index 0000000..4afde66
--- /dev/null
+++ b/samples/sparc-leon-linux-uclibc/crosstool.config
@@ -0,0 +1,17 @@
+CT_LOCAL_TARBALLS_DIR="${HOME}/src"
+CT_SAVE_TARBALLS=y
+CT_LOG_EXTRA=y
+CT_ARCH_CPU="leon"
+CT_ARCH_TUNE="leon"
+CT_ARCH_FLOAT_SW=y
+CT_ARCH_sparc=y
+CT_TARGET_VENDOR="leon"
+CT_KERNEL_linux=y
+CT_KERNEL_V_3_10=y
+CT_LIBC_uClibc=y
+CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
+CT_LIBC_UCLIBC_IPV6=y
+CT_LIBC_UCLIBC_WCHAR=y
+CT_CC_GCC_V_4_9_3=y
+CT_CC_GCC_EXTRA_CONFIG_ARRAY="--disable-libitm"
+CT_CC_LANG_CXX=y
diff --git a/samples/sparc-leon-linux-uclibc/reported.by b/samples/sparc-leon-linux-uclibc/reported.by
new file mode 100644
index 0000000..edba82e
--- /dev/null
+++ b/samples/sparc-leon-linux-uclibc/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Kirill K. Smirnov"
+reporter_url=""
+reporter_comment="For sparc/leon without FPU"
diff --git a/samples/sparc-leon-linux-uclibc/uClibc-1.0.12.config b/samples/sparc-leon-linux-uclibc/uClibc-1.0.12.config
new file mode 100644
index 0000000..abcfe40
--- /dev/null
+++ b/samples/sparc-leon-linux-uclibc/uClibc-1.0.12.config
@@ -0,0 +1,20 @@
+TARGET_sparc=y
+# UCLIBC_HAS_FPU is not set
+DO_C99_MATH=y
+UCLIBC_HAS_THREADS_NATIVE=y
+UCLIBC_SUSV3_LEGACY=y
+UCLIBC_SUSV4_LEGACY=y
+# UNIX98PTY_ONLY is not set
+UCLIBC_HAS_LIBUTIL=y
+UCLIBC_HAS_SHA256_CRYPT_IMPL=y
+UCLIBC_HAS_SHA512_CRYPT_IMPL=y
+UCLIBC_HAS_IPV6=y
+UCLIBC_HAS_RPC=y
+UCLIBC_HAS_FULL_RPC=y
+UCLIBC_HAS_REENTRANT_RPC=y
+UCLIBC_USE_NETLINK=y
+UCLIBC_HAS_RESOLVER_SUPPORT=y
+UCLIBC_HAS_LIBRESOLV_STUB=y
+UCLIBC_HAS_WCHAR=y
+UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
+UCLIBC_HAS_PRINTF_M_SPEC=y