Merge pull request #409 from KirillSmirnov/master

samples: Add sparc-leon-linux-uclibc sample
This commit is contained in:
Bryan Hundven 2016-08-30 17:17:56 -07:00 committed by GitHub
commit f881f818a7
3 changed files with 40 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,3 @@
reporter_name="Kirill K. Smirnov"
reporter_url=""
reporter_comment="For sparc/leon without FPU"

View File

@ -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