File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ config S390
102102 select HAVE_KERNEL_GZIP
103103 select HAVE_KERNEL_BZIP2
104104 select HAVE_KERNEL_LZMA
105+ select HAVE_KERNEL_LZO
105106 select ARCH_INLINE_SPIN_TRYLOCK
106107 select ARCH_INLINE_SPIN_TRYLOCK_BH
107108 select ARCH_INLINE_SPIN_LOCK
Original file line number Diff line number Diff line change 77BITS := $(if $(CONFIG_64BIT ) ,64,31)
88
99targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 \
10- vmlinux.bin.lzma misc.o piggy.o sizes.h head$(BITS ) .o
10+ vmlinux.bin.lzma vmlinux.bin.lzo misc.o piggy.o sizes.h head$(BITS ) .o
1111
1212KBUILD_CFLAGS := -m$(BITS ) -D__KERNEL__ $(LINUX_INCLUDE ) -O2
1313KBUILD_CFLAGS += $(cflags-y )
@@ -47,13 +47,16 @@ vmlinux.bin.all-y := $(obj)/vmlinux.bin
4747suffix-$(CONFIG_KERNEL_GZIP) := gz
4848suffix-$(CONFIG_KERNEL_BZIP2) := bz2
4949suffix-$(CONFIG_KERNEL_LZMA) := lzma
50+ suffix-$(CONFIG_KERNEL_LZO) := lzo
5051
5152$(obj ) /vmlinux.bin.gz : $(vmlinux.bin.all-y )
5253 $(call if_changed,gzip)
5354$(obj ) /vmlinux.bin.bz2 : $(vmlinux.bin.all-y )
5455 $(call if_changed,bzip2)
5556$(obj ) /vmlinux.bin.lzma : $(vmlinux.bin.all-y )
5657 $(call if_changed,lzma)
58+ $(obj ) /vmlinux.bin.lzo : $(vmlinux.bin.all-y )
59+ $(call if_changed,lzo)
5760
5861LDFLAGS_piggy.o := -r --format binary --oformat $(LD_BFD ) -T
5962$(obj ) /piggy.o : $(obj ) /vmlinux.scr $(obj ) /vmlinux.bin.$(suffix-y )
Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ static unsigned long free_mem_end_ptr;
5050#include "../../../../lib/decompress_unlzma.c"
5151#endif
5252
53+ #ifdef CONFIG_KERNEL_LZO
54+ #include "../../../../lib/decompress_unlzo.c"
55+ #endif
56+
5357extern _sclp_print_early (const char * ) ;
5458
5559int puts (const char * s )
You can’t perform that action at this time.
0 commit comments