aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/Makefile
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-12-11 19:25:45 -0800
committerPetr Štetiar <ynezz@true.cz>2020-12-22 19:11:50 +0100
commit63fb175203bbf3b336804587c2f5b3a2d8132ec1 (patch)
tree04a160aea4cac6dbd5bacc16e1de6e4e81f29278 /toolchain/uClibc/Makefile
parent2207917acc7cd93db5b3bc9c6c5b898c38ec39aa (diff)
downloadupstream-63fb175203bbf3b336804587c2f5b3a2d8132ec1.tar.gz
upstream-63fb175203bbf3b336804587c2f5b3a2d8132ec1.tar.bz2
upstream-63fb175203bbf3b336804587c2f5b3a2d8132ec1.zip
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@gmail.com>
Diffstat (limited to 'toolchain/uClibc/Makefile')
-rw-r--r--toolchain/uClibc/Makefile37
1 files changed, 0 insertions, 37 deletions
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))