summaryrefslogtreecommitdiff
path: root/package/uclibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-31 19:58:50 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-31 19:59:05 +0200
commit0d5a4bd73159fc794fdb417d49ab810b26e7d059 (patch)
tree53ef333b84afbbe7d6fed470885d716075295395 /package/uclibc
parent9e3458d13ae01591479732c1fe0cada8fd2259b7 (diff)
rework static linking support, works with musl/glibc, fails to boot with uclibc (qemu-x86)
Diffstat (limited to 'package/uclibc')
-rw-r--r--package/uclibc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/uclibc/Makefile b/package/uclibc/Makefile
index 7a76233b8..0c5daf272 100644
--- a/package/uclibc/Makefile
+++ b/package/uclibc/Makefile
@@ -31,6 +31,7 @@ do-install:
test -z $(ADK_RUNTIME_TIMEZONE) || \
grep $(ADK_RUNTIME_TIMEZONE) ./files/tz.lst | \
cut -f 2 > $(IDIR_UCLIBC)/etc/TZ
+ifneq ($(ADK_TARGET_USE_STATIC_LIBS),y)
$(CP) $(STAGING_TARGET_DIR)/lib/libc.so.* $(IDIR_UCLIBC)/$(ADK_TARGET_LIBC_PATH)
$(CP) $(STAGING_TARGET_DIR)/lib/libuClibc-$(GIT_VERSION).so \
$(IDIR_UCLIBC)/$(ADK_TARGET_LIBC_PATH)
@@ -42,6 +43,7 @@ do-install:
$(CP) $(STAGING_TARGET_DIR)/lib/$$file-$(GIT_VERSION).so \
$(IDIR_UCLIBC)/$(ADK_TARGET_LIBC_PATH); \
done
+endif
uclibc-dev-install:
${INSTALL_DIR} ${IDIR_UCLIBC_DEV}/usr/lib ${IDIR_UCLIBC_DEV}/$(ADK_TARGET_LIBC_PATH)