From d562f30b491191423cee5da595a5215c954fc3a0 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 22 Apr 2013 13:12:40 -0400 Subject: build: Shorten paths to .la files in rm command. --- (limited to 'build') diff --git a/build b/build index bab567d..e728d11 100755 --- a/build +++ b/build @@ -150,17 +150,18 @@ install: build mv dest/usr/lib/$(OPK_HOST_ARCH)/libitm.a \ dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(base_version)/ # Remove libtool archives. + libdir=usr/lib/$(OPK_HOST_ARCH) && \ rm -f \ - dest/usr/lib/$(OPK_HOST_ARCH)/libmudflap.la \ - dest/usr/lib/$(OPK_HOST_ARCH)/libmudflapth.la \ - dest/usr/lib/$(OPK_HOST_ARCH)/libssp.la \ - dest/usr/lib/$(OPK_HOST_ARCH)/libssp_nonshared.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 \ - dest/usr/lib/$(OPK_HOST_ARCH)/libitm.la \ - dest/usr/lib/$(OPK_HOST_ARCH)/libstdc++.la \ - dest/usr/lib/$(OPK_HOST_ARCH)/libsupc++.la + dest/$(libdir)/libmudflap.la \ + dest/$(libdir)/libmudflapth.la \ + dest/$(libdir)/libssp.la \ + dest/$(libdir)/libssp_nonshared.la \ + dest/$(libdir)/gcc-$(base_version)/liblto_plugin.la \ + dest/$(libdir)/libquadmath.la \ + dest/$(libdir)/libgomp.la \ + dest/$(libdir)/libitm.la \ + dest/$(libdir)/libstdc++.la \ + dest/$(libdir)/libsupc++.la # Remove the info directory node. rm -f dest/usr/share/info/dir # Remove empty documentation files. -- cgit v0.9.1