diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-11-23 20:02:29 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-11-23 20:02:29 +0000 |
commit | 6b63716262b89bec53402817876116898936d5f4 (patch) | |
tree | 1d792a9083d34dc6e40620b3c5802e9168a461e0 /package/toolchain/Makefile | |
parent | 14ed3f0f22f34b337bb58b2a5fd09e887df3331f (diff) | |
download | upstream-6b63716262b89bec53402817876116898936d5f4.tar.gz upstream-6b63716262b89bec53402817876116898936d5f4.tar.bz2 upstream-6b63716262b89bec53402817876116898936d5f4.zip |
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 <florian@openwrt.org>
SVN-Revision: 34314
Diffstat (limited to 'package/toolchain/Makefile')
-rw-r--r-- | package/toolchain/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/toolchain/Makefile b/package/toolchain/Makefile index 265587ed5f..84fc3e6b2f 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 |