From 1d2c47ad6ccdcaec6298c38520f7c18d3a7b2497 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 21 Apr 2013 06:11:11 -0400 Subject: build: Postprocess libsubdir. This probably has to be set at build time. --- (limited to 'build') diff --git a/build b/build index 5831920..0c85b65 100755 --- a/build +++ b/build @@ -66,6 +66,11 @@ install: build # TODO: Replace $(OPK_HOST_ARCH) with the target arch. oh-autoinstall -B gcc-build -T install -- \ toolexeclibdir=/usr/lib/$(OPK_HOST_ARCH) MULTIOSDIR= + rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libiberty.a + mv dest/usr/lib/$(OPK_HOST_ARCH)/gcc/*/*/ \ + dest/usr/lib/$(OPK_HOST_ARCH)/gcc-$(BASE_VERSION)/ + rmdir dest/usr/lib/$(OPK_HOST_ARCH)/gcc/*/ + rmdir dest/usr/lib/$(OPK_HOST_ARCH)/gcc/ # POSIX.1-2008: # If the pathname does not begin with a '/' it shall be treated as relative to -- cgit v0.9.1