aboutsummaryrefslogtreecommitdiffstats
path: root/dos
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-19 17:03:02 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-19 17:03:02 -0700
commit606a4708c5ae9380a27e6f4260b4b3ceaea1ae75 (patch)
tree1636fe305548bf0ab9c387b43cb2a69ec339aed4 /dos
parent7fe236fe0ce9665d00b733891d943e76fbde0753 (diff)
downloadsyslinux-devel-606a4708c5ae9380a27e6f4260b4b3ceaea1ae75.tar.gz
syslinux-devel-606a4708c5ae9380a27e6f4260b4b3ceaea1ae75.tar.xz
syslinux-devel-606a4708c5ae9380a27e6f4260b4b3ceaea1ae75.zip
dos: run UPX on the DOS installer binary if we have it
If UPX is installed on the host system, we might as well use it to compress the DOS installer binary. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'dos')
-rw-r--r--dos/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/dos/Makefile b/dos/Makefile
index b8d4445f..512e2e76 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -60,6 +60,7 @@ libcom.a: $(LIBOBJS)
syslinux.com: syslinux.elf
$(OBJCOPY) -O binary $< $@
+ $(UPX) --ultra-brute $@ || true
%.com: %.asm
( $(NASM) -M -DDEPEND $(NASMOPT) -o $@ -M $< && echo '' ) > .$@.d; true