File: Makefile.debug

package info (click to toggle)
linux-2.6 2.6.32-48squeeze20
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 494,000 kB
  • ctags: 1,415,173
  • sloc: ansic: 7,636,125; asm: 225,085; xml: 32,978; makefile: 19,314; perl: 11,533; sh: 3,561; cpp: 3,365; yacc: 2,964; python: 2,893; lex: 1,824; lisp: 218; pascal: 116; awk: 109; sed: 30
file content (23 lines) | stat: -rw-r--r-- 682 bytes parent folder | download | duplicates (25)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# linux/arch/arm/boot/compressed/Makefile
#
# create a compressed vmlinux image from the original vmlinux
#

COMPRESSED_EXTRA=../../lib/ll_char_wr.o
OBJECTS=misc-debug.o ll_char_wr.aout.o

CFLAGS=-D__KERNEL__ -O2 -DSTDC_HEADERS -DSTANDALONE_DEBUG -Wall -I../../../../include -c

test-gzip: piggy.aout.o $(OBJECTS)
	$(CC) -o $@ $(OBJECTS) piggy.aout.o

misc-debug.o: misc.c
	$(CC) $(CFLAGS) -o $@ misc.c

piggy.aout.o: piggy.o
	arm-linuxelf-objcopy --change-leading-char -I elf32-arm -O arm-aout32-linux piggy.o piggy.aout.o

ll_char_wr.aout.o: $(COMPRESSED_EXTRA)
	arm-linuxelf-objcopy --change-leading-char -I elf32-arm -O arm-aout32-linux $(COMPRESSED_EXTRA) ll_char_wr.aout.o