[openwrt/openwrt] toolchain: remove uClibc-ng
LEDE Commits
lede-commits at lists.infradead.org
Tue Dec 22 13:13:33 EST 2020
ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/63fb175203bbf3b336804587c2f5b3a2d8132ec1
commit 63fb175203bbf3b336804587c2f5b3a2d8132ec1
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Fri Dec 11 19:25:45 2020 -0800
toolchain: remove uClibc-ng
After musl was introduced, it was desired to remove uClibc-ng. As ARC
has no musl support, it was kept around. However, glibc 2.32 includes
ARC support. This makes it possible to finally remove it.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
toolchain/uClibc/Config.in | 6 -
toolchain/uClibc/Makefile | 37 -------
toolchain/uClibc/common.mk | 98 -----------------
toolchain/uClibc/config/arc | 8 --
toolchain/uClibc/config/archs | 8 --
toolchain/uClibc/config/arm | 7 --
toolchain/uClibc/config/armeb | 7 --
toolchain/uClibc/config/common | 199 ----------------------------------
toolchain/uClibc/config/debug | 6 -
toolchain/uClibc/config/i386 | 8 --
toolchain/uClibc/config/i686 | 8 --
toolchain/uClibc/config/m68k | 5 -
toolchain/uClibc/config/mips | 10 --
toolchain/uClibc/config/mips64 | 10 --
toolchain/uClibc/config/mips64.32 | 11 --
toolchain/uClibc/config/mips64.64 | 11 --
toolchain/uClibc/config/mips64.n32 | 11 --
toolchain/uClibc/config/mips64el | 10 --
toolchain/uClibc/config/mips64el.32 | 11 --
toolchain/uClibc/config/mips64el.64 | 11 --
toolchain/uClibc/config/mips64el.n32 | 11 --
toolchain/uClibc/config/mipsel | 10 --
toolchain/uClibc/config/mipsel.cobalt | 10 --
toolchain/uClibc/config/powerpc | 6 -
toolchain/uClibc/config/powerpc.e500 | 6 -
toolchain/uClibc/config/sparc | 6 -
toolchain/uClibc/config/sparc.leon | 6 -
toolchain/uClibc/config/x86_64 | 5 -
toolchain/uClibc/headers/Makefile | 27 -----
toolchain/uClibc/utils/Makefile | 24 ----
30 files changed, 593 deletions(-)
diff --git a/toolchain/uClibc/Config.in b/toolchain/uClibc/Config.in
deleted file mode 100644
index 3bcb0037e9..0000000000
--- a/toolchain/uClibc/Config.in
+++ /dev/null
@@ -1,6 +0,0 @@
-# Debug version.
-
-config UCLIBC_ENABLE_DEBUG
- bool "Build with debug information"
- depends on TOOLCHAINOPTS && USE_UCLIBC && !EXTERNAL_TOOLCHAIN
- default n
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
deleted file mode 100644
index 4764f2fa1d..0000000000
--- a/toolchain/uClibc/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-PATH_PREFIX=.
-
-include ./common.mk
-
-HOST_STAMP_BUILT:=$(HOST_BUILD_DIR)/.built
-HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.uclibc_installed
-
-HOST_BUILD_PARALLEL:=1
-
-define Host/SetToolchainInfo
- $(SED) 's,^\(LIBC_TYPE\)=.*,\1=$(PKG_NAME),' $(TOOLCHAIN_DIR)/info.mk
- $(SED) 's,^\(LIBC_URL\)=.*,\1=http://www.uclibc.org/,' $(TOOLCHAIN_DIR)/info.mk
- $(SED) 's,^\(LIBC_VERSION\)=.*,\1=$(PKG_VERSION),' $(TOOLCHAIN_DIR)/info.mk
- $(SED) 's,^\(LIBC_SO_VERSION\)=.*,\1=$(LIBC_SO_VERSION),' $(TOOLCHAIN_DIR)/info.mk
-endef
-
-define Host/Compile
- $(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(HOST_BUILD_DIR)/Rules.mak
- $(UCLIBC_MAKE) PREFIX= all
-endef
-
-define Host/Install
- $(call Host/SetToolchainInfo)
- $(UCLIBC_MAKE) PREFIX="$(TOOLCHAIN_DIR)/" install_runtime install_dev
- $(CP) $(HOST_BUILD_DIR)/libc/libc_so.a $(TOOLCHAIN_DIR)/lib/
- ( cd $(TOOLCHAIN_DIR) ; \
- for d in lib usr/lib ; do \
- for f in libc.so libgcc_s.so ; do \
- if [ -f $$$$d/$$$$f -a ! -L $$$$d/$$$$f ] ; then \
- $(SED) 's,/usr/lib/,,g;s,/lib/,,g' $$$$d/$$$$f ; \
- fi \
- done \
- done \
- )
-endef
-
-$(eval $(call HostBuild))
diff --git a/toolchain/uClibc/common.mk b/toolchain/uClibc/common.mk
deleted file mode 100644
index bb093b1dc7..0000000000
--- a/toolchain/uClibc/common.mk
+++ /dev/null
@@ -1,98 +0,0 @@
-#
-# Copyright (C) 2006-2020 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/target.mk
-
-PKG_VERSION:=1.0.34
-PKG_RELEASE:=1
-
-PKG_NAME:=uClibc-ng
-PKG_SOURCE_URL = http://downloads.uclibc-ng.org/releases/$(PKG_VERSION)/
-PATCH_DIR:=$(PATH_PREFIX)/patches
-CONFIG_DIR:=$(PATH_PREFIX)/config
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-LIBC_SO_VERSION:=$(PKG_VERSION)
-
-PKG_HASH:=e6776229eee8d3f5a1cd29fb4286630e3cb9e97dded4e8f4a3a9bb4fa8c0d5e3
-
-HOST_BUILD_DIR:=$(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)-$(PKG_VERSION)
-
-include $(INCLUDE_DIR)/toolchain-build.mk
-
-UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
- -e 's/arc.*/arc/' \
- -e 's/i.86/i386/' \
- -e 's/sparc.*/sparc/' \
- -e 's/arm.*/arm/g' \
- -e 's/m68k.*/m68k/' \
- -e 's/ppc/powerpc/g' \
- -e 's/v850.*/v850/g' \
- -e 's/sh64/sh/' \
- -e 's/sh[234].*/sh/' \
- -e 's/mips.*/mips/' \
- -e 's/mipsel.*/mips/' \
-)
-
-GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \
- $(if $(wildcard $(CONFIG_DIR)/common),'+' $(CONFIG_DIR)/common) \
- $(if $(CONFIG_UCLIBC_ENABLE_DEBUG),$(if $(wildcard $(CONFIG_DIR)/debug),'+' $(CONFIG_DIR)/debug)) \
- $(CONFIG_DIR)/$(ARCH)$(strip \
- $(if $(wildcard $(CONFIG_DIR)/$(ARCH).$(BOARD)),.$(BOARD), \
- $(if $(filter archs,$(subst ",,$(CONFIG_CPU_TYPE))),hs, \
- $(if $(CONFIG_MIPS64_ABI),.$(subst ",,$(CONFIG_MIPS64_ABI)), \
- $(if $(CONFIG_HAS_SPE_FPU),$(if $(wildcard $(CONFIG_DIR)/$(ARCH).e500),.e500))))))
-
-CPU_CFLAGS = \
- -funsigned-char -fno-builtin -fno-asm \
- --std=gnu99 -ffunction-sections -fdata-sections \
- -Wno-unused-but-set-variable \
- $(TARGET_CFLAGS) -ggdb
-
-UCLIBC_MAKE = PATH='$(TOOLCHAIN_DIR)/initial/bin:$(TARGET_PATH)' $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) \
- $(TARGET_CONFIGURE_OPTS) \
- DEVEL_PREFIX=/ \
- RUNTIME_PREFIX=/ \
- HOSTCC="$(HOSTCC)" \
- CPU_CFLAGS="$(CPU_CFLAGS)" \
- ARCH="$(CONFIG_ARCH)" \
- LIBGCC="$(subst libgcc.a,libgcc_initial.a,$(shell $(TARGET_CC) -print-libgcc-file-name))" \
- DOSTRIP=""
-
-define Host/Prepare
- $(call Host/Prepare/Default)
- $(if $(strip $(QUILT)), \
- cd $(HOST_BUILD_DIR); \
- if $(QUILT_CMD) next >/dev/null 2>&1; then \
- $(QUILT_CMD) push -a; \
- fi
- )
- ln -snf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
-endef
-
-define Host/Configure
- $(GEN_CONFIG) > $(HOST_BUILD_DIR)/.config.new
- $(SED) 's,^KERNEL_HEADERS=.*,KERNEL_HEADERS=\"$(BUILD_DIR_TOOLCHAIN)/linux-dev/include\",g' \
- -e 's,^.*UCLIBC_HAS_FPU.*,UCLIBC_HAS_FPU=$(if $(CONFIG_SOFT_FLOAT),n,y),g' \
- -e 's,^.*UCLIBC_HAS_SOFT_FLOAT.*,UCLIBC_HAS_SOFT_FLOAT=$(if $(CONFIG_SOFT_FLOAT),y,n),g' \
- -e 's,^.*UCLIBC_HAS_LOCALE.*,UCLIBC_HAS_LOCALE=$(if $(CONFIG_BUILD_NLS),y,n),g' \
- -e 's,^.*UCLIBC_BUILD_ALL_LOCALE.*,UCLIBC_BUILD_ALL_LOCALE=$(if $(CONFIG_BUILD_NLS),y,n),g' \
- -e 's,^.*UCLIBC_HAS_SSP[^_].*,UCLIBC_HAS_SSP=$(if $(or $(CONFIG_PKG_CC_STACKPROTECTOR_REGULAR),$(CONFIG_PKG_CC_STACKPROTECTOR_STRONG)),y,n),g' \
- $(HOST_BUILD_DIR)/.config.new
- cmp -s $(HOST_BUILD_DIR)/.config.new $(HOST_BUILD_DIR)/.config.last || { \
- cp $(HOST_BUILD_DIR)/.config.new $(HOST_BUILD_DIR)/.config && \
- $(MAKE) -C $(HOST_BUILD_DIR) olddefconfig KBUILD_HAVE_NLS= HOSTCFLAGS="-DKBUILD_NO_NLS" && \
- $(MAKE) -C $(HOST_BUILD_DIR)/extra/config conf KBUILD_HAVE_NLS= HOSTCFLAGS="-DKBUILD_NO_NLS" && \
- cp $(HOST_BUILD_DIR)/.config.new $(HOST_BUILD_DIR)/.config.last; \
- }
-endef
-
-define Host/Clean
- rm -rf \
- $(HOST_BUILD_DIR) \
- $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME) \
- $(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev
-endef
diff --git a/toolchain/uClibc/config/arc b/toolchain/uClibc/config/arc
deleted file mode 100644
index f92328b7ed..0000000000
--- a/toolchain/uClibc/config/arc
+++ /dev/null
@@ -1,8 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_LITTLE_ENDIAN=y
-ARCH_WANTS_LITTLE_ENDIAN=y
-TARGET_ARCH="arc"
-TARGET_arc=y
-CONFIG_ARC_PAGE_SIZE_8K=y
-# CONFIG_ARC_PAGE_SIZE_16K is not set
-# CONFIG_ARC_PAGE_SIZE_4K is not set
diff --git a/toolchain/uClibc/config/archs b/toolchain/uClibc/config/archs
deleted file mode 100644
index f92328b7ed..0000000000
--- a/toolchain/uClibc/config/archs
+++ /dev/null
@@ -1,8 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_LITTLE_ENDIAN=y
-ARCH_WANTS_LITTLE_ENDIAN=y
-TARGET_ARCH="arc"
-TARGET_arc=y
-CONFIG_ARC_PAGE_SIZE_8K=y
-# CONFIG_ARC_PAGE_SIZE_16K is not set
-# CONFIG_ARC_PAGE_SIZE_4K is not set
diff --git a/toolchain/uClibc/config/arm b/toolchain/uClibc/config/arm
deleted file mode 100644
index 9544f144d1..0000000000
--- a/toolchain/uClibc/config/arm
+++ /dev/null
@@ -1,7 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_LITTLE_ENDIAN=y
-ARCH_WANTS_LITTLE_ENDIAN=y
-TARGET_ARCH="arm"
-TARGET_arm=y
-CONFIG_ARM_EABI=y
-
diff --git a/toolchain/uClibc/config/armeb b/toolchain/uClibc/config/armeb
deleted file mode 100644
index e329c7e369..0000000000
--- a/toolchain/uClibc/config/armeb
+++ /dev/null
@@ -1,7 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_BIG_ENDIAN=y
-ARCH_WANTS_BIG_ENDIAN=y
-TARGET_ARCH="arm"
-TARGET_arm=y
-CONFIG_ARM_EABI=y
-
diff --git a/toolchain/uClibc/config/common b/toolchain/uClibc/config/common
deleted file mode 100644
index d88d5bf473..0000000000
--- a/toolchain/uClibc/config/common
+++ /dev/null
@@ -1,199 +0,0 @@
-# ARCH_ANY_ENDIAN is not set
-ARCH_HAS_MMU=y
-# ARCH_HAS_NO_LDSO is not set
-# ARCH_HAS_NO_SHARED is not set
-# ARCH_LITTLE_ENDIAN is not set
-ARCH_USE_MMU=y
-# ARCH_WANTS_BIG_ENDIAN is not set
-# ARCH_WANTS_LITTLE_ENDIAN is not set
-ASSUME_DEVPTS=y
-CROSS_COMPILER_PREFIX=""
-DEVEL_PREFIX="/usr/"
-# DOASSERTS is not set
-# DODEBUG is not set
-# DODEBUG_PT is not set
-DOPIC=y
-DOSTRIP=y
-DO_C99_MATH=y
-# DO_XSI_MATH is not set
-# EXTRA_WARNINGS is not set
-FORCE_OPTIONS_FOR_ARCH=y
-# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
-# HARDWIRED_ABSPATH is not set
-# HAS_NO_THREADS is not set
-HAVE_DOT_CONFIG=y
-# HAVE_NO_PIC is not set
-# HAVE_NO_SSP is not set
-HAVE_SHARED=y
-KERNEL_HEADERS="."
-LDSO_BASE_FILENAME="ld.so"
-LDSO_CACHE_SUPPORT=y
-# LDSO_GNU_HASH_SUPPORT is not set
-LDSO_LD_LIBRARY_PATH=y
-LDSO_LDD_SUPPORT=y
-# LDSO_PRELINK_SUPPORT is not set
-# LDSO_PRELOAD_FILE_SUPPORT is not set
-LDSO_PRELOAD_ENV_SUPPORT=y
-LDSO_RUNPATH=y
-LDSO_SAFE_RUNPATH=y
-# LDSO_RUNPATH_OF_EXECUTABLE is not set
-# LDSO_SEARCH_INTERP_PATH is not set
-# LDSO_STANDALONE_SUPPORT is not set
-# UCLIBC_HAS_BACKTRACE is not set
-UCLIBC_HAS_THREADS_NATIVE=y
-# MALLOC is not set
-# MALLOC_SIMPLE is not set
-MALLOC_STANDARD=y
-MULTILIB_DIR="lib"
-PTHREADS_DEBUG_SUPPORT=y
-RUNTIME_PREFIX="/"
-# SUPPORT_LD_DEBUG is not set
-# SUPPORT_LD_DEBUG_EARLY is not set
-TARGET_SUBARCH=""
-# TARGET_alpha is not set
-# TARGET_arc is not set
-# TARGET_arm is not set
-# TARGET_avr32 is not set
-# TARGET_bfin is not set
-# TARGET_c6x is not set
-# TARGET_cris is not set
-# TARGET_frv is not set
-# TARGET_h8300 is not set
-# TARGET_hppa is not set
-# TARGET_i386 is not set
-# TARGET_ia64 is not set
-# TARGET_lm32 is not set
-# TARGET_m68k is not set
-# TARGET_metag is not set
-# TARGET_microblaze is not set
-# TARGET_mips is not set
-# TARGET_nios is not set
-# TARGET_nios2 is not set
-# TARGET_or1k is not set
-# TARGET_powerpc is not set
-# TARGET_sh is not set
-# TARGET_sparc is not set
-# TARGET_x86_64 is not set
-# TARGET_xtensa is not set
-UCLIBC_BSD_SPECIFIC=y
-UCLIBC_BUILD_NOEXECSTACK=y
-# UCLIBC_BUILD_NOW is not set
-# UCLIBC_BUILD_PIE is not set
-UCLIBC_BUILD_RELRO=y
-UCLIBC_CTOR_DTOR=y
-UCLIBC_DYNAMIC_ATEXIT=y
-UCLIBC_EXTRA_CFLAGS=""
-UCLIBC_GRP_BUFFER_SIZE=256
-UCLIBC_HAS_ADVANCED_REALTIME=y
-# UCLIBC_HAS_ARGP is not set
-UCLIBC_HAS_BSD_ERR=y
-# UCLIBC_HAS_BSD_RES_CLOSE is not set
-# UCLIBC_HAS_COMPAT_RES_STATE is not set
-UCLIBC_HAS_CRYPT=y
-UCLIBC_HAS_CRYPT_IMPL=y
-UCLIBC_HAS_CTYPE_CHECKED=y
-# UCLIBC_HAS_CTYPE_ENFORCED is not set
-UCLIBC_HAS_CTYPE_SIGNED=y
-UCLIBC_HAS_CTYPE_TABLES=y
-# UCLIBC_HAS_CTYPE_UNSAFE is not set
-UCLIBC_HAS_EPOLL=y
-UCLIBC_HAS_ERRNO_MESSAGES=y
-# UCLIBC_HAS_EXTRA_COMPAT_RES_STATE is not set
-# UCLIBC_HAS_FENV is not set
-UCLIBC_HAS_FLOATS=y
-UCLIBC_HAS_FNMATCH=y
-# UCLIBC_HAS_FOPEN_CLOSEEXEC_MODE is not set
-UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
-# UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
-# UCLIBC_HAS_FPU is not set
-UCLIBC_HAS_FTS=y
-# UCLIBC_HAS_FTW is not set
-UCLIBC_HAS_GETPT=y
-UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
-UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
-# UCLIBC_HAS_GLIBC_DIGIT_GROUPING is not set
-UCLIBC_HAS_GLOB=y
-UCLIBC_HAS_GNU_ERROR=y
-UCLIBC_HAS_GNU_GETOPT=y
-UCLIBC_HAS_GNU_GETSUBOPT=y
-UCLIBC_HAS_GNU_GLOB=y
-UCLIBC_HAS_HEXADECIMAL_FLOATS=y
-UCLIBC_HAS_IPV4=y
-UCLIBC_HAS_IPV6=y
-UCLIBC_HAS_LFS=y
-UCLIBC_HAS_LIBUTIL=y
-# UCLIBC_HAS_LOCALE is not set
-# UCLIBC_BUILD_ALL_LOCALE is not set
-# UCLIBC_BUILD_MINIMAL_LOCALE is not set
-UCLIBC_HAS_LONG_DOUBLE_MATH=y
-UCLIBC_HAS_NETWORK_SUPPORT=y
-UCLIBC_HAS_NFTW=y
-# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
-# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
-UCLIBC_HAS_PRINTF_M_SPEC=y
-# UCLIBC_HAS_PROFILING is not set
-UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
-UCLIBC_HAS_PTY=y
-UCLIBC_HAS_REALTIME=y
-UCLIBC_HAS_REGEX=y
-UCLIBC_HAS_RESOLVER_SUPPORT=y
-# UCLIBC_HAS_SHA256_CRYPT_IMPL is not set
-# UCLIBC_HAS_SHA512_CRYPT_IMPL is not set
-UCLIBC_HAS_SHADOW=y
-UCLIBC_HAS_SIGNUM_MESSAGES=y
-UCLIBC_HAS_SOCKET=y
-UCLIBC_HAS_SOFT_FLOAT=y
-# UCLIBC_HAS_SSP is not set
-UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
-# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
-UCLIBC_HAS_STDIO_BUFSIZ_4096=y
-# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
-# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
-# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
-# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
-UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
-UCLIBC_HAS_STDIO_GETC_MACRO=y
-UCLIBC_HAS_STDIO_PUTC_MACRO=y
-# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
-UCLIBC_HAS_STRING_ARCH_OPT=y
-UCLIBC_HAS_STRING_GENERIC_OPT=y
-# UCLIBC_HAS_STUBS is not set
-UCLIBC_HAS_SYSLOG=y
-# UCLIBC_HAS_SYS_ERRLIST is not set
-# UCLIBC_HAS_SYS_SIGLIST is not set
-UCLIBC_HAS_THREADS=y
-UCLIBC_HAS_TM_EXTENSIONS=y
-UCLIBC_HAS_TZ_CACHING=y
-UCLIBC_HAS_TZ_FILE=y
-UCLIBC_HAS_TZ_FILE_READ_MANY=y
-UCLIBC_HAS_UTMPX=y
-UCLIBC_HAS_UTMP=y
-UCLIBC_HAS_WCHAR=y
-UCLIBC_HAS_WORDEXP=y
-UCLIBC_HAS_XATTR=y
-# UCLIBC_HAS_XLOCALE is not set
-UCLIBC_HAS___PROGNAME=y
-UCLIBC_LINUX_SPECIFIC=y
-# UCLIBC_MALLOC_DEBUGGING is not set
-# UCLIBC_NTP_LEGACY is not set
-# USE_OLD_VFPRINTF is not set
-UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
-UCLIBC_PWD_BUFFER_SIZE=256
-# UCLIBC_STATIC_LDCONFIG is not set
-# UCLIBC_STRICT_HEADERS is not set
-UCLIBC_SUPPORT_AI_ADDRCONFIG=y
-UCLIBC_SUSV3_LEGACY=y
-# UCLIBC_SUSV3_LEGACY_MACROS is not set
-UCLIBC_SUSV4_LEGACY=y
-# UCLIBC_SV4_DEPRECATED is not set
-UCLIBC_TZ_FILE_PATH="/etc/TZ"
-# UCLIBC_FALLBACK_TO_ETC_LOCALTIME is not set
-UCLIBC_USE_NETLINK=y
-# UNIX98PTY_ONLY is not set
-WARNINGS="-Wall"
-# UCLIBC_SUSV2_LEGACY is not set
-# UCLIBC_HAS_CONTEXT_FUNCS is not set
-UCLIBC_HAS_GETOPT_LONG=y
diff --git a/toolchain/uClibc/config/debug b/toolchain/uClibc/config/debug
deleted file mode 100644
index b366e66e39..0000000000
--- a/toolchain/uClibc/config/debug
+++ /dev/null
@@ -1,6 +0,0 @@
-DODEBUG=y
-DODEBUG_PT=y
-PTHREADS_DEBUG_SUPPORT=y
-SUPPORT_LD_DEBUG=y
-SUPPORT_LD_DEBUG_EARLY=y
-UCLIBC_MALLOC_DEBUGGING=y
diff --git a/toolchain/uClibc/config/i386 b/toolchain/uClibc/config/i386
deleted file mode 100644
index cddb709630..0000000000
--- a/toolchain/uClibc/config/i386
+++ /dev/null
@@ -1,8 +0,0 @@
-ARCH_LITTLE_ENDIAN=y
-# CONFIG_386 is not set
-CONFIG_486=y
-# CONFIG_586 is not set
-# CONFIG_686 is not set
-TARGET_ARCH="i386"
-TARGET_i386=y
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/config/i686 b/toolchain/uClibc/config/i686
deleted file mode 100644
index 8a25f41e23..0000000000
--- a/toolchain/uClibc/config/i686
+++ /dev/null
@@ -1,8 +0,0 @@
-ARCH_LITTLE_ENDIAN=y
-# CONFIG_386 is not set
-# CONFIG_486 is not set
-# CONFIG_586 is not set
-CONFIG_686=y
-TARGET_ARCH="i386"
-TARGET_i386=y
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/config/m68k b/toolchain/uClibc/config/m68k
deleted file mode 100644
index 0675bb9080..0000000000
--- a/toolchain/uClibc/config/m68k
+++ /dev/null
@@ -1,5 +0,0 @@
-ARCH_BIG_ENDIAN=y
-TARGET_ARCH="m68k"
-TARGET_SUBARCH=""
-TARGET_m68k=y
-# UCLIBC_HAS_THREADS_NATIVE is not set
diff --git a/toolchain/uClibc/config/mips b/toolchain/uClibc/config/mips
deleted file mode 100644
index c8f71f03c9..0000000000
--- a/toolchain/uClibc/config/mips
+++ /dev/null
@@ -1,10 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_BIG_ENDIAN=y
-ARCH_CFLAGS="-mno-split-addresses"
-ARCH_WANTS_BIG_ENDIAN=y
-# CONFIG_MIPS_N32_ABI is not set
-# CONFIG_MIPS_N64_ABI is not set
-CONFIG_MIPS_O32_ABI=y
-TARGET_ARCH="mips"
-TARGET_mips=y
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/config/mips64 b/toolchain/uClibc/config/mips64
deleted file mode 100644
index 453293def3..0000000000
--- a/toolchain/uClibc/config/mips64
+++ /dev/null
@@ -1,10 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_BIG_ENDIAN=y
-ARCH_CFLAGS="-mno-split-addresses"
-ARCH_WANTS_BIG_ENDIAN=y
-# CONFIG_MIPS_N32_ABI is not set
-CONFIG_MIPS_N64_ABI=y
-# CONFIG_MIPS_O32_ABI is not set
-TARGET_ARCH="mips"
-TARGET_mips=y
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/config/mips64.32 b/toolchain/uClibc/config/mips64.32
deleted file mode 100644
index 4e98968633..0000000000
--- a/toolchain/uClibc/config/mips64.32
+++ /dev/null
@@ -1,11 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_BIG_ENDIAN=y
-ARCH_CFLAGS="-mno-split-addresses"
-ARCH_WANTS_BIG_ENDIAN=y
-# CONFIG_MIPS_N32_ABI is not set
-# CONFIG_MIPS_N64_ABI is not set
-CONFIG_MIPS_O32_ABI=y
-TARGET_ARCH="mips"
-TARGET_mips=y
-TARGET_SUBARCH="mips64"
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/config/mips64.64 b/toolchain/uClibc/config/mips64.64
deleted file mode 100644
index bf4ecca704..0000000000
--- a/toolchain/uClibc/config/mips64.64
+++ /dev/null
@@ -1,11 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_BIG_ENDIAN=y
-ARCH_CFLAGS="-mno-split-addresses"
-ARCH_WANTS_BIG_ENDIAN=y
-# CONFIG_MIPS_N32_ABI is not set
-CONFIG_MIPS_N64_ABI=y
-# CONFIG_MIPS_O32_ABI is not set
-TARGET_ARCH="mips"
-TARGET_mips=y
-TARGET_SUBARCH="mips64"
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/config/mips64.n32 b/toolchain/uClibc/config/mips64.n32
deleted file mode 100644
index c26ecec4c2..0000000000
--- a/toolchain/uClibc/config/mips64.n32
+++ /dev/null
@@ -1,11 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_BIG_ENDIAN=y
-ARCH_CFLAGS="-mno-split-addresses"
-ARCH_WANTS_BIG_ENDIAN=y
-CONFIG_MIPS_N32_ABI=y
-# CONFIG_MIPS_N64_ABI is not set
-# CONFIG_MIPS_O32_ABI is not set
-TARGET_ARCH="mips"
-TARGET_mips=y
-TARGET_SUBARCH="mips64"
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/config/mips64el b/toolchain/uClibc/config/mips64el
deleted file mode 100644
index 98d9bb4569..0000000000
--- a/toolchain/uClibc/config/mips64el
+++ /dev/null
@@ -1,10 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_CFLAGS="-mno-split-addresses"
-ARCH_LITTLE_ENDIAN=y
-ARCH_WANTS_LITTLE_ENDIAN=y
-# CONFIG_MIPS_N32_ABI is not set
-CONFIG_MIPS_N64_ABI=y
-# CONFIG_MIPS_O32_ABI is not set
-TARGET_ARCH="mips"
-TARGET_mips=y
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/config/mips64el.32 b/toolchain/uClibc/config/mips64el.32
deleted file mode 100644
index 03ab17c24f..0000000000
--- a/toolchain/uClibc/config/mips64el.32
+++ /dev/null
@@ -1,11 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_CFLAGS="-mno-split-addresses"
-ARCH_LITTLE_ENDIAN=y
-ARCH_WANTS_LITTLE_ENDIAN=y
-# CONFIG_MIPS_N32_ABI is not set
-# CONFIG_MIPS_N64_ABI is not set
-CONFIG_MIPS_O32_ABI=y
-TARGET_ARCH="mips"
-TARGET_mips=y
-TARGET_SUBARCH="mips64"
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/config/mips64el.64 b/toolchain/uClibc/config/mips64el.64
deleted file mode 100644
index 884640c756..0000000000
--- a/toolchain/uClibc/config/mips64el.64
+++ /dev/null
@@ -1,11 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_CFLAGS="-mno-split-addresses"
-ARCH_LITTLE_ENDIAN=y
-ARCH_WANTS_LITTLE_ENDIAN=y
-# CONFIG_MIPS_N32_ABI is not set
-CONFIG_MIPS_N64_ABI=y
-# CONFIG_MIPS_O32_ABI is not set
-TARGET_ARCH="mips"
-TARGET_mips=y
-TARGET_SUBARCH="mips64"
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/config/mips64el.n32 b/toolchain/uClibc/config/mips64el.n32
deleted file mode 100644
index 9a8bb3d3fb..0000000000
--- a/toolchain/uClibc/config/mips64el.n32
+++ /dev/null
@@ -1,11 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_CFLAGS="-mno-split-addresses"
-ARCH_LITTLE_ENDIAN=y
-ARCH_WANTS_LITTLE_ENDIAN=y
-CONFIG_MIPS_N32_ABI=y
-# CONFIG_MIPS_N64_ABI is not set
-# CONFIG_MIPS_O32_ABI is not set
-TARGET_ARCH="mips"
-TARGET_mips=y
-TARGET_SUBARCH="mips64"
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/config/mipsel b/toolchain/uClibc/config/mipsel
deleted file mode 100644
index 2a79c16bdb..0000000000
--- a/toolchain/uClibc/config/mipsel
+++ /dev/null
@@ -1,10 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_CFLAGS="-mno-split-addresses"
-ARCH_LITTLE_ENDIAN=y
-ARCH_WANTS_LITTLE_ENDIAN=y
-# CONFIG_MIPS_N32_ABI is not set
-# CONFIG_MIPS_N64_ABI is not set
-CONFIG_MIPS_O32_ABI=y
-TARGET_ARCH="mips"
-TARGET_mips=y
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/config/mipsel.cobalt b/toolchain/uClibc/config/mipsel.cobalt
deleted file mode 100644
index 2a79c16bdb..0000000000
--- a/toolchain/uClibc/config/mipsel.cobalt
+++ /dev/null
@@ -1,10 +0,0 @@
-ARCH_ANY_ENDIAN=y
-ARCH_CFLAGS="-mno-split-addresses"
-ARCH_LITTLE_ENDIAN=y
-ARCH_WANTS_LITTLE_ENDIAN=y
-# CONFIG_MIPS_N32_ABI is not set
-# CONFIG_MIPS_N64_ABI is not set
-CONFIG_MIPS_O32_ABI=y
-TARGET_ARCH="mips"
-TARGET_mips=y
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/config/powerpc b/toolchain/uClibc/config/powerpc
deleted file mode 100644
index 5b1292d12e..0000000000
--- a/toolchain/uClibc/config/powerpc
+++ /dev/null
@@ -1,6 +0,0 @@
-ARCH_BIG_ENDIAN=y
-CONFIG_CLASSIC=y
-# CONFIG_E500 is not set
-TARGET_ARCH="powerpc"
-TARGET_SUBARCH="classic"
-TARGET_powerpc=y
diff --git a/toolchain/uClibc/config/powerpc.e500 b/toolchain/uClibc/config/powerpc.e500
deleted file mode 100644
index a835c3d5e7..0000000000
--- a/toolchain/uClibc/config/powerpc.e500
+++ /dev/null
@@ -1,6 +0,0 @@
-ARCH_BIG_ENDIAN=y
-# CONFIG_CLASSIC is not set
-CONFIG_E500=y
-TARGET_ARCH="powerpc"
-TARGET_SUBARCH="classic"
-TARGET_powerpc=y
diff --git a/toolchain/uClibc/config/sparc b/toolchain/uClibc/config/sparc
deleted file mode 100644
index 3630b24a7e..0000000000
--- a/toolchain/uClibc/config/sparc
+++ /dev/null
@@ -1,6 +0,0 @@
-ARCH_BIG_ENDIAN=y
-# CONFIG_SPARC_V7 is not set
-# CONFIG_SPARC_V8 is not set
-TARGET_ARCH="sparc"
-TARGET_sparc=y
-UCLIBC_HAS_LONG_DOUBLE_MATH=y
diff --git a/toolchain/uClibc/config/sparc.leon b/toolchain/uClibc/config/sparc.leon
deleted file mode 100644
index 3deb5148d9..0000000000
--- a/toolchain/uClibc/config/sparc.leon
+++ /dev/null
@@ -1,6 +0,0 @@
-ARCH_BIG_ENDIAN=y
-# CONFIG_SPARC_V7 is not set
-CONFIG_SPARC_V8=y
-TARGET_ARCH="sparc"
-TARGET_sparc=y
-UCLIBC_HAS_LONG_DOUBLE_MATH=y
diff --git a/toolchain/uClibc/config/x86_64 b/toolchain/uClibc/config/x86_64
deleted file mode 100644
index a13d659ba1..0000000000
--- a/toolchain/uClibc/config/x86_64
+++ /dev/null
@@ -1,5 +0,0 @@
-ARCH_LITTLE_ENDIAN=y
-TARGET_ARCH="x86_64"
-TARGET_x86_64=y
-UCLIBC_BSD_SPECIFIC=y
-UCLIBC_HAS_FPU=y
diff --git a/toolchain/uClibc/headers/Makefile b/toolchain/uClibc/headers/Makefile
deleted file mode 100644
index abd3620d33..0000000000
--- a/toolchain/uClibc/headers/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-PATH_PREFIX:=..
-
-include ../common.mk
-
-HOST_STAMP_BUILT:=$(HOST_BUILD_DIR)/.headers_built
-HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.uclibc_headers_installed
-
-define Host/Compile
-
-endef
-
-define Host/Install
- PATH='$(TARGET_PATH)' $(MAKE) -C $(HOST_BUILD_DIR) \
- PREFIX="$(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/" \
- DEVEL_PREFIX=/ \
- RUNTIME_PREFIX="$(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/" \
- HOSTCC="$(HOSTCC)" \
- CC="$(TARGET_CC)" \
- CPU_CFLAGS="$(TARGET_CFLAGS)" \
- ARCH="$(CONFIG_ARCH)" \
- pregen \
- install_headers
- $(CP) $(BUILD_DIR_TOOLCHAIN)/linux-dev/* $(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/
-endef
-
-$(eval $(call HostBuild))
-
diff --git a/toolchain/uClibc/utils/Makefile b/toolchain/uClibc/utils/Makefile
deleted file mode 100644
index 83100d70c1..0000000000
--- a/toolchain/uClibc/utils/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-PATH_PREFIX=..
-
-include ../common.mk
-
-HOST_STAMP_BUILT:=$(HOST_BUILD_DIR)/.utils_built
-HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.uclibc_utils_installed
-
-define Host/Compile
- $(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(HOST_BUILD_DIR)/Rules.mak
- $(UCLIBC_MAKE) PREFIX= utils
-endef
-
-define Host/Install
- $(INSTALL_DIR) $(TOOLCHAIN_DIR)/bin
- $(INSTALL_BIN) \
- $(HOST_BUILD_DIR)/utils/ldd \
- $(TOOLCHAIN_DIR)/bin/
- $(INSTALL_DIR) $(TOOLCHAIN_DIR)/sbin
- $(INSTALL_BIN) \
- $(HOST_BUILD_DIR)/utils/ldconfig \
- $(TOOLCHAIN_DIR)/sbin/
-endef
-
-$(eval $(call HostBuild))
More information about the lede-commits
mailing list