summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-07-20 11:45:10 +0000
committerEric Andersen <andersen@codepoet.org>2004-07-20 11:45:10 +0000
commitb181752a349c9d1da1f2234b04250a97bdda0e2d (patch)
treed0a3080712fc943390e0bd634306341f0249cdd0
parent9534c0faaba3901ab3434d7e31a11d83ac2bb097 (diff)
downloadbuildroot-novena-b181752a349c9d1da1f2234b04250a97bdda0e2d.tar.gz
buildroot-novena-b181752a349c9d1da1f2234b04250a97bdda0e2d.zip
Install /lib/libgcc_s.so.1
-rw-r--r--make/gcc-uclibc-3.3.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/make/gcc-uclibc-3.3.mk b/make/gcc-uclibc-3.3.mk
index 13b4bf0c9..ec0e92734 100644
--- a/make/gcc-uclibc-3.3.mk
+++ b/make/gcc-uclibc-3.3.mk
@@ -173,12 +173,19 @@ ifeq ($(SOFT_FLOAT),true)
echo staging dir specs file is missing ; \
/bin/false ; \
fi;
- cp $(SOURCE_DIR)/specs-$(ARCH)-soft-float $(STAGING_DIR)/usr/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
+ cp $(SOURCE_DIR)/specs-$(ARCH)-soft-float \
+ $(STAGING_DIR)/usr/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
endif
touch $(GCC_BUILD_DIR2)/.installed
+$(TARGET_DIR)/lib/libgcc_s.so.1: $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s.so.1
+ # These are in /lib, so...
+ rm -rf $(TARGET_DIR)/usr/lib/libgcc_s.so*
+ $(STRIP) $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s.so.1
+ cp -a $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* $(TARGET_DIR)/lib/
+
gcc3_3: uclibc-configured binutils gcc3_3_initial $(LIBFLOAT_TARGET) uclibc \
- $(GCC_BUILD_DIR2)/.installed $(GCC_TARGETS)
+ $(TARGET_DIR)/lib/libgcc_s.so.1 $(GCC_BUILD_DIR2)/.installed $(GCC_TARGETS)
gcc3_3-source: $(DL_DIR)/$(GCC_SOURCE)