Windows MBR Bootloader: compress Camellia Rescue Disk bootloader to reduce size ( < 13312 bytes), allowing a backup copy to be included in the Rescue Disk.

This commit is contained in:
Mounir IDRASSI 2016-09-26 14:10:46 +02:00
parent 4a435870f6
commit eb3e923091
No known key found for this signature in database
GPG Key ID: DD0C382D5FCFB8FC

View File

@ -197,7 +197,7 @@ $(LIBS)
del $(PROJ).crf $(PROJ).crf2 del $(PROJ).crf $(PROJ).crf2
# Compress the Rescue Disk botloader for Cascades and Serpent since it is too big (size > 31232 bytes) # 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")) !if DEFINED(RESCUE_DISK) && (!DEFINED (SINGLE_CIPHER) || ("$(SINGLE_CIPHER)" == "SERPENT") || ("$(SINGLE_CIPHER)" == "CAMELLIA"))
upx $(PROJ).$(TARGETEXT) upx $(PROJ).$(TARGETEXT)
!endif !endif
gzip.exe -c -n --best $(PROJ).$(TARGETEXT) >$(PROJ).$(TARGETEXT).gz gzip.exe -c -n --best $(PROJ).$(TARGETEXT) >$(PROJ).$(TARGETEXT).gz