diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-08-12 14:23:48 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-08-12 14:34:28 +0200 |
commit | 8e724b3d3e1d8b272b261b586772c5415c47cb39 (patch) | |
tree | 9c511b0f7112a0329721091d2bd3756ff459c223 /scripts | |
parent | b859e325e928d19d5cfefa9a45c4ff1ebe502430 (diff) | |
download | barebox-8e724b3d3e1d8b272b261b586772c5415c47cb39.tar.gz barebox-8e724b3d3e1d8b272b261b586772c5415c47cb39.tar.xz |
Makefile.lib: add disasm and ln commands
disasm: For generating an disasssembly of an ELF file
ln: For creating a softlink
Use the disasm command for generating barebox.S
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.lib | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 1a5b2b5001..cb46db225e 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -242,3 +242,9 @@ quiet_cmd_xzmisc = XZMISC $@ cmd_xzmisc = (cat $(filter-out FORCE,$^) | \ xz --check=crc32 --lzma2=dict=1MiB) > $@ || \ (rm -f $@ ; false) + +quiet_cmd_disasm = DISASM $@ +cmd_disasm = $(OBJDUMP) -d $< > $@ + +quiet_cmd_ln = LN $@ +cmd_ln = ln -sf $< $@ |