From 6f371c09732b7f9d2b0adba02a25ffa8eee404e2 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 23 Jul 2017 13:12:34 +0200 Subject: Windows MBR Bootloader: always compress bootloader with upx to reduce runtime memory requirement thanks to its in-place decompression. --- src/Boot/Windows/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Boot/Windows') diff --git a/src/Boot/Windows/Makefile b/src/Boot/Windows/Makefile index a7506266..1966a3cb 100644 --- a/src/Boot/Windows/Makefile +++ b/src/Boot/Windows/Makefile @@ -197,9 +197,9 @@ $(LIBS) del $(PROJ).crf $(PROJ).crf2 # Compress the Rescue Disk botloader for Cascades and Serpent since it is too big (size > 31232 bytes) -!if DEFINED(RESCUE_DISK) && (!DEFINED (SINGLE_CIPHER) || ("$(SINGLE_CIPHER)" == "SERPENT") || ("$(SINGLE_CIPHER)" == "CAMELLIA")) +#!if DEFINED(RESCUE_DISK) && (!DEFINED (SINGLE_CIPHER) || ("$(SINGLE_CIPHER)" == "SERPENT") || ("$(SINGLE_CIPHER)" == "CAMELLIA")) upx $(PROJ).$(TARGETEXT) -!endif +#!endif gzip.exe -c -n --best $(PROJ).$(TARGETEXT) >$(PROJ).$(TARGETEXT).gz -dd.exe conv=notrunc,sync bs=512 seek=5 if=$(PROJ).$(TARGETEXT).gz of=$(PROJ).flp 2>NUL: cd .. -- cgit v1.2.3