2 # linux/arch/arm/boot/compressed/Makefile
4 # create a compressed vmlinux image from the original vmlinux
7 COMPRESSED_EXTRA=../../lib/ll_char_wr.o
8 OBJECTS=misc-debug.o ll_char_wr.aout.o
10 CFLAGS=-D__KERNEL__ -O2 -DSTDC_HEADERS -DSTANDALONE_DEBUG -Wall -I../../../../include -c
12 test-gzip: piggy.aout.o $(OBJECTS)
13 $(CC) -o $@ $(OBJECTS) piggy.aout.o
16 $(CC) $(CFLAGS) -o $@ misc.c
19 arm-linuxelf-objcopy --change-leading-char -I elf32-arm -O arm-aout32-linux piggy.o piggy.aout.o
21 ll_char_wr.aout.o: $(COMPRESSED_EXTRA)
22 arm-linuxelf-objcopy --change-leading-char -I elf32-arm -O arm-aout32-linux $(COMPRESSED_EXTRA) ll_char_wr.aout.o