summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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; \