summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-10 15:45:12 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-10 15:45:12 (EST)
commitd649b107879d76fd077194e5eb6969e2a43f059a (patch)
tree4da05ffbaf63523e7814147840e61f446953952e
parentfa1a7f415840d338e47dd88ec2a2fc5332586148 (diff)
Put libbfd-dev-* stuff in its own targets loop.
-rwxr-xr-xbuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/build b/build
index 557869c..d3d6c48 100755
--- a/build
+++ b/build
@@ -93,13 +93,15 @@ install: build
>>"binutils-$${target}.data/etc/ld.so.conf.d/bfd_$(OPK_HOST_ARCH)_$${target}"; \
done
# Move documentation into binutils-doc data directory.
- # Move BFD development files into libbfd-dev-* data directory.
mkdir -p 'binutils-doc.data/usr'
for target in $$(cat ../targets); do \
if [ ! -d 'binutils-doc.data/usr/share' ]; then \
mv "binutils-$${target}.data/usr/share" 'binutils-doc.data/usr' || \
exit 1; \
fi; \
+ done
+ # Move BFD development files into libbfd-dev-* data directory.
+ for target in $$(cat ../targets); do \
if [ -d "libbfd-dev-$${target}.data/usr" ]; then \
rm -Rf "libbfd-dev-$${target}.data/usr" || \
exit 1; \