summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/build b/build
index 0c92044..f5f51c2 100755
--- a/build
+++ b/build
@@ -100,6 +100,10 @@ install: build
mv "binutils-$${target}.data/usr/share" 'binutils-doc.data/usr' || \
exit 1; \
fi; \
+ if [ -d "libbfd-dev-$${target}.data/usr" ]; then \
+ rm -Rf "libbfd-dev-$${target}.data/usr" || \
+ exit 1; \
+ fi; \
mkdir -p "libbfd-dev-$${target}.data/usr/lib/$(OPK_HOST_ARCH)/$${target}" && \
mv "binutils-$${target}.data/usr/include" \
"libbfd-dev-$${target}.data/usr" && \