From cfcc935fa2f110fdf4824c67d3cd67f34d91f7a8 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 23 Nov 2012 20:02:29 +0000 Subject: [buildroot] add preliminary support for musl Musl is an alternative C-library, see http://www.musl-libc.org for more infos. Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/toolchain/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'package/toolchain') diff --git a/package/toolchain/Makefile b/package/toolchain/Makefile index 265587ed5..84fc3e6b2 100644 --- a/package/toolchain/Makefile +++ b/package/toolchain/Makefile @@ -426,6 +426,16 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) $(1)/lib/ endef + define Package/musl/install + $(INSTALL_DIR) $(1)/lib + $(CP) \ + $(TOOLCHAIN_DIR)/lib/ld-musl-*.so* \ + $(1)/lib/ + $(CP) \ + $(TOOLCHAIN_DIR)/lib/libc.so* \ + $(1)/lib/ + endef + define Package/libc/install $(call Package/$(LIBC)/install,$1) endef -- cgit v1.2.3