From mboxrd@z Thu Jan 1 00:00:00 1970 From: ulf at uclibc.org Date: Fri, 12 Oct 2007 14:01:41 -0700 (PDT) Subject: [Buildroot] svn commit: trunk/buildroot/toolchain/gcc Message-ID: <20071012210141.1DF69A5E1B@busybox.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Author: ulf Date: 2007-10-12 14:01:41 -0700 (Fri, 12 Oct 2007) New Revision: 20237 Log: Allow library copy to fail Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk Changeset: Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk =================================================================== --- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk 2007-10-12 15:18:27 UTC (rev 20236) +++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk 2007-10-12 21:01:41 UTC (rev 20237) @@ -332,13 +332,13 @@ ifeq ($(BR2_GCC_SHARED_LIBGCC),y) # These are in /lib, so... rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so* - cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \ + -cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \ $(TARGET_DIR)/lib/ -strip --strip-unneeded $(TARGET_DIR)/lib/libgcc_s* endif ifeq ($(BR2_INSTALL_LIBSTDCPP),y) ifeq ($(BR2_GCC_SHARED_LIBGCC),y) - cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/ + -cp -dpf $(STAGING_DIR)/lib/libstdc++.so* $(TARGET_DIR)/usr/lib/ -strip --strip-unneeded $(TARGET_DIR)/usr/lib/libstdc++.so* endif endif Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk =================================================================== --- trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk 2007-10-12 15:18:27 UTC (rev 20236) +++ trunk/buildroot/toolchain/gcc/gcc-uclibc-4.x.mk 2007-10-12 21:01:41 UTC (rev 20237) @@ -345,12 +345,12 @@ ifeq ($(BR2_GCC_SHARED_LIBGCC),y) # These are in /lib, so... rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so* - cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \ + -cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libgcc_s* \ $(TARGET_DIR)/lib/ endif ifeq ($(BR2_INSTALL_LIBSTDCPP),y) ifeq ($(BR2_GCC_SHARED_LIBGCC),y) - cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \ + -cp -dpf $(STAGING_DIR)/usr/$(REAL_GNU_TARGET_NAME)/lib/libstdc++.so* \ $(TARGET_DIR)/usr/lib/ endif endif