From bba46dc1b5b74f60847cd926f7c82b4e10869738 Mon Sep 17 00:00:00 2001 From: Kirill Smirnov Date: Thu, 1 Jun 2017 12:23:59 +0300 Subject: samples: update sparc/leon sample * Remove obsolete RPC options from uclibc-ng config * Enable utmp/wtmp options (gdb needs them) * Switch to gcc-6.3 Signed-off-by: Kirill Smirnov Signed-off-by: Alexey Neyman diff --git a/samples/sparc-leon-linux-uclibc/crosstool.config b/samples/sparc-leon-linux-uclibc/crosstool.config index e5fa5ee..02c346d 100644 --- a/samples/sparc-leon-linux-uclibc/crosstool.config +++ b/samples/sparc-leon-linux-uclibc/crosstool.config @@ -9,6 +9,7 @@ CT_LIBC_uClibc=y CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/uClibc.config" CT_LIBC_UCLIBC_IPV6=y CT_LIBC_UCLIBC_WCHAR=y -CT_CC_GCC_V_4_9_4=y +CT_CC_GCC_V_6_3_0=y CT_CC_GCC_EXTRA_CONFIG_ARRAY="--disable-libitm" CT_CC_LANG_CXX=y +CT_DEBUG_gdb=y diff --git a/samples/sparc-leon-linux-uclibc/uClibc.config b/samples/sparc-leon-linux-uclibc/uClibc.config index abcfe40..c81724c 100644 --- a/samples/sparc-leon-linux-uclibc/uClibc.config +++ b/samples/sparc-leon-linux-uclibc/uClibc.config @@ -2,6 +2,8 @@ TARGET_sparc=y # UCLIBC_HAS_FPU is not set DO_C99_MATH=y UCLIBC_HAS_THREADS_NATIVE=y +UCLIBC_HAS_UTMPX=y +UCLIBC_HAS_UTMP=y UCLIBC_SUSV3_LEGACY=y UCLIBC_SUSV4_LEGACY=y # UNIX98PTY_ONLY is not set @@ -9,9 +11,6 @@ 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 -- cgit v0.10.2-6-g49f6