diff options
author | P. 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) |
commit | 92351a0e3042fe0f89f65f4506cdc094acb7aeae (patch) | |
tree | 689543cd3b5b740be1315e0a747b87a2174e9765 | |
parent | 9741b163e9c3cf10d5387c2e82e19e8a4a74e9ce (diff) |
build: Make size86 and nm86 links to objdump86.
-rwxr-xr-x | build | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |