patch-2.0.21-2.1.0 linux/arch/i386/boot/compressed/Makefile

Next file: linux/arch/i386/boot/compressed/misc.c
Previous file: linux/arch/i386/boot/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file lx2.0/v2.0.21/linux/arch/i386/boot/compressed/Makefile linux/arch/i386/boot/compressed/Makefile
@@ -15,11 +15,9 @@
 CFLAGS := $(CFLAGS) -D__SMP__
 endif
 
-ifdef CONFIG_KERNEL_ELF
 TARGET=--target elf32-i386
 INPUT_DATA=input_data
 INPUT_LEN=input_len
-endif
 
 all: vmlinux
 
@@ -41,7 +39,6 @@
 
 endif
 
-ifdef CONFIG_KERNEL_ELF
 
 # You cannot compress a file and have the kernel uncompress it, it must
 # be stdin
@@ -61,18 +58,6 @@
 	  $(LD) -m elf_i386 -r -o piggy.o -b binary $$tmppiggy.gz -b elf32-i386 -T $$tmppiggy.lnk; \
 	fi; \
 	rm -f $$tmppiggy $$tmppiggy.gz $$tmppiggy.lnk
-else
-
-piggy.o:	$(SYSTEM) xtract piggyback
-		./xtract $(SYSTEM) | gzip -9 | ./piggyback > piggy.o
-
-xtract: xtract.c
-	$(HOSTCC) $(CFLAGS) -o xtract xtract.c
-
-piggyback: piggyback.c
-	$(HOSTCC) $(CFLAGS) -o piggyback piggyback.c
-
-endif
 
 clean:
 	rm -f xtract piggyback vmlinux bvmlinux

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov