diff options
-rwxr-xr-x | build | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -92,6 +92,14 @@ install: build echo "/usr/lib/$(OPK_HOST_ARCH)/$${target}" \ >>"binutils-$${target}.data/etc/ld.so.conf.d/bfd_$(OPK_HOST_ARCH)_$${target}"; \ done + # Move documentation into binutils-doc 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 # Post-process and install everything. for target in $$(cat ../targets); do \ oh-fixperms -d "binutils-$${target}.data" && \ |