2008-07-13 Bean <bean123ch@gmail.com>
authorbean <bean@localhost>
Sun, 13 Jul 2008 01:55:15 +0000 (01:55 +0000)
committerbean <bean@localhost>
Sun, 13 Jul 2008 01:55:15 +0000 (01:55 +0000)
commitaa24b516a2d81f922199a517c123e20f12152145
treee748d87376130fa38596a1ac426789a847eb6b90
parent4ae821ac9a28380dd6f2e665c38a6dd64fe50222
2008-07-13  Bean  <bean123ch@gmail.com>

* Makefile.in (enable_lzo): New rule.

* conf/i386-pc.rmk (grub_mkimage_SOURCES): New test with enable_lzo.

* configure.ac (ENABLE_LZO): New option --enable-lzo.

* boot/i386/pc/lnxboot.S: #include <config.h>.

* include/grub/i386/pc/kernel.h (GRUB_KERNEL_MACHINE_RAW_SIZE): Change
its value accordding to the compression algorithm used, lzo or lzma.

* util/i386/pc/grub-mkimage.c (compress_kernel): Use different
compression algorithm according to configure macro.

* kern/i386/pc/startup.S (codestart): Likewise.

* kern/i386/pc/lzma_decode.S: New file.

* include/grub/lib/LzFind.h: Likewise.

* include/grub/lib/LzHash.h: Likewise.

* include/grub/lib/LzmaDec.h: Likewise.

* include/grub/lib/LzmaEnc.h: Likewise.

* include/grub/lib/LzmaTypes.h: Likewise.

* lib/LzFind.c: Likewise.

* lib/LzmaDec.c: Likewise.

* lib/LzmaEnc.c: Likewise.
20 files changed:
ChangeLog
Makefile.in
boot/i386/pc/lnxboot.S
conf/i386-pc.mk
conf/i386-pc.rmk
config.h.in
configure
configure.ac
include/grub/i386/pc/kernel.h
include/grub/lib/LzFind.h [new file with mode: 0644]
include/grub/lib/LzHash.h [new file with mode: 0644]
include/grub/lib/LzmaDec.h [new file with mode: 0644]
include/grub/lib/LzmaEnc.h [new file with mode: 0644]
include/grub/lib/LzmaTypes.h [new file with mode: 0644]
kern/i386/pc/lzma_decode.S [new file with mode: 0644]
kern/i386/pc/startup.S
lib/LzFind.c [new file with mode: 0644]
lib/LzmaDec.c [new file with mode: 0644]
lib/LzmaEnc.c [new file with mode: 0644]
util/i386/pc/grub-mkimage.c