From ca529979f26b88b82462fe8e7ae1d1f67836f0a0 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 21 Apr 2013 13:31:55 -0400 Subject: build: Move and remove libmudflap files. --- diff --git a/build b/build index 933e9d3..34321f2 100755 --- a/build +++ b/build @@ -76,6 +76,18 @@ install: build fincludedir=/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/finclude \ toolexeclibdir=/usr/lib/$(OPK_HOST_ARCH) MULTIOSDIR= rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libiberty.a + # Move libmudflap.so and libmudflapth.so links. + rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libmudflap.so + ln -sf /usr/lib/$(OPK_HOST_ARCH)/libmudflap.so.0 \ + dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/libmudflap.so + rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libmudflapth.so + ln -sf /usr/lib/$(OPK_HOST_ARCH)/libmudflapth.so.0 \ + dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/libmudflapth.so + # Move libmudflap.a and libmudflapth.a. + mv dest/usr/lib/$(OPK_HOST_ARCH)/libmudflap.a \ + dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/ + mv dest/usr/lib/$(OPK_HOST_ARCH)/libmudflapth.a \ + dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/ # Move libgcc_s.so.1 under /lib. mkdir -p dest/lib/$(OPK_HOST_ARCH) mv dest/usr/lib/$(OPK_HOST_ARCH)/libgcc_s.so.1 dest/lib/$(OPK_HOST_ARCH) @@ -106,6 +118,8 @@ install: build dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/ # Remove libtool archives. rm -f \ + dest/usr/lib/$(OPK_HOST_ARCH)/libmudflap.la \ + dest/usr/lib/$(OPK_HOST_ARCH)/libmudflapth.la \ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/liblto_plugin.la \ dest/usr/lib/$(OPK_HOST_ARCH)/libquadmath.la \ dest/usr/lib/$(OPK_HOST_ARCH)/libgomp.la \ -- cgit v0.9.1