diff options
author | P. J. McDermott <pjm@nac.net> | 2013-04-21 06:11:11 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-04-21 06:11:11 (EDT) |
commit | 1d2c47ad6ccdcaec6298c38520f7c18d3a7b2497 (patch) | |
tree | 305c000763efa3e10b887a42be2541ba45280ad0 /build | |
parent | 6e77124fda10bab838c13b0ee174b3721cda75e7 (diff) |
build: Postprocess libsubdir.
This probably has to be set at build time.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |