svn commit: trunk/buildroot/toolchain/gcc

vapier at uclibc.org vapier at uclibc.org
Thu Sep 22 03:06:34 UTC 2005


Author: vapier
Date: 2005-09-21 20:06:33 -0700 (Wed, 21 Sep 2005)
New Revision: 11560

Log:
if target arch installs into a lib64 dir, make sure we move the stuff to plain old lib

Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2005-09-22 03:05:52 UTC (rev 11559)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2005-09-22 03:06:33 UTC (rev 11560)
@@ -176,6 +176,13 @@
 
 $(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled
 	PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR2) install
+	if [ -d "$(STAGING_DIR)/lib64" ] ; then \
+		if [ ! -e "$(STAGING_DIR)/lib" ] ; then \
+			mkdir "$(STAGING_DIR)/lib" ; \
+		fi ; \
+		mv "$(STAGING_DIR)/lib64/"* "$(STAGING_DIR)/lib/" ; \
+		rmdir "$(STAGING_DIR)/lib64" ; \
+	fi
 	# Strip the host binaries
 ifeq ($(GCC_STRIP_HOST_BINARIES),true)
 	-strip --strip-all -R .note -R .comment $(STAGING_DIR)/bin/*




More information about the uClibc-cvs mailing list