diff options
-rwxr-xr-x | build | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 \ |