projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
toolchain/uclibc: Bump version to 1.0.22
[openwrt/openwrt.git]
/
toolchain
/
uClibc
/
Makefile
diff --git
a/toolchain/uClibc/Makefile
b/toolchain/uClibc/Makefile
index a5fb54bd761712e8679b8dd77179717cd048c6ee..4764f2fa1d70f66e98212085d1398b6190944330 100644
(file)
--- a/
toolchain/uClibc/Makefile
+++ b/
toolchain/uClibc/Makefile
@@
-23,19
+23,15
@@
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/
$(call Host/SetToolchainInfo)
$(UCLIBC_MAKE) PREFIX="$(TOOLCHAIN_DIR)/" install_runtime install_dev
$(CP) $(HOST_BUILD_DIR)/libc/libc_so.a $(TOOLCHAIN_DIR)/lib/
- $(CP) $(HOST_BUILD_DIR)/libpthread/*/libpthread_so.a $(TOOLCHAIN_DIR)/lib/
( cd $(TOOLCHAIN_DIR) ; \
for d in lib usr/lib ; do \
( cd $(TOOLCHAIN_DIR) ; \
for d in lib usr/lib ; do \
- for f in libc.so lib
pthread.so lib
gcc_s.so ; 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 \
)
if [ -f $$$$d/$$$$f -a ! -L $$$$d/$$$$f ] ; then \
$(SED) 's,/usr/lib/,,g;s,/lib/,,g' $$$$d/$$$$f ; \
fi \
done \
done \
)
- rm -f \
- $(TOOLCHAIN_DIR)/lib/libresolv*.so* \
- $(TOOLCHAIN_DIR)/lib/libnsl*.so*
endef
$(eval $(call HostBuild))
endef
$(eval $(call HostBuild))