summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2006-11-16 09:55:20 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2006-11-16 09:55:20 +0000
commit2235df97347f72a008ba1bd7a743729d0ad75f0d (patch)
tree6d522d9755e09ce959e02cf1839b1ad6eedd07a9
parenta4c685f16589a657b2ad6b71b0d0961c15eb1c1d (diff)
Make sure libgcc_s.so.1 and friends always gets installed in TARGET_DIR.
Patch by Lars Munch.
-rw-r--r--toolchain/gcc/gcc-uclibc-3.x.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk
index 4b05fee5f..258a335bd 100644
--- a/toolchain/gcc/gcc-uclibc-3.x.mk
+++ b/toolchain/gcc/gcc-uclibc-3.x.mk
@@ -250,6 +250,9 @@ endif
#
# Ok... that's enough of that.
#
+ touch $(GCC_BUILD_DIR2)/.installed
+
+gcc-target-libs: $(GCC_BUILD_DIR2)/.installed
ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
# These are in /lib, so...
rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
@@ -266,10 +269,9 @@ ifeq ($(BR2_INSTALL_LIBGCJ),y)
-cp -a $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
-cp -a $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
endif
- touch $(GCC_BUILD_DIR2)/.installed
gcc: uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) uclibc \
- $(GCC_BUILD_DIR2)/.installed $(GCC_TARGETS)
+ $(GCC_BUILD_DIR2)/.installed gcc-target-libs $(GCC_TARGETS)
gcc-source: $(DL_DIR)/$(GCC_SOURCE)