summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-27 11:49:01 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-27 11:49:01 (EDT)
commit92351a0e3042fe0f89f65f4506cdc094acb7aeae (patch)
tree689543cd3b5b740be1315e0a747b87a2174e9765
parent9741b163e9c3cf10d5387c2e82e19e8a4a74e9ce (diff)
build: Make size86 and nm86 links to objdump86.
-rwxr-xr-xbuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/build b/build
index c4f1bd5..4567515 100755
--- a/build
+++ b/build
@@ -16,6 +16,12 @@ install: build
# Remove bcc and ELKS libc things for now.
rm -Rf dest/usr/lib/bcc dest/usr/bin/bcc \
dest/usr/share/man/man1/bcc.1 dest/usr/share/man/man1/elks*.1
+ # objdump86, size86, and nm86 are all the same binary.
+ set -e; \
+ for prog in size86 nm86; do \
+ rm "dest/usr/bin/$${prog}"; \
+ ln -s objdump86 "dest/usr/bin/$${prog}"; \
+ done
oh-fixperms
oh-strip
oh-installfiles