Rev 277 | Rev 293 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 277 | Rev 289 | ||
---|---|---|---|
Line 20... | Line 20... | ||
20 | endif |
20 | endif |
21 | 21 | ||
22 | 22 | ||
23 | CPPFLAGS=$(DEFS) -nostdinc -I../include |
23 | CPPFLAGS=$(DEFS) -nostdinc -I../include |
24 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fno-unwind-tables -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -march=opteron -m64 -mcmodel=kernel -mno-red-zone |
24 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fno-unwind-tables -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -march=opteron -m64 -mcmodel=kernel -mno-red-zone |
- | 25 | LFLAGS=-M |
|
- | 26 | ||
25 | LFLAGS=-M -T ../arch/amd64/_link.ld |
27 | ../arch/amd64/_link.ld: ../arch/amd64/_link.ld.in |
- | 28 | $(CC) $(CFLAGS) -E -x c $< | grep -v "^\#" > $@ |
|
26 | 29 | ||
27 | arch_sources = arch/dummy.s \ |
30 | arch_sources = arch/dummy.s \ |
28 | arch/fpu_context.c \ |
31 | arch/fpu_context.c \ |
29 | arch/boot/boot.S \ |
32 | arch/boot/boot.S \ |
30 | arch/boot/memmap.S \ |
33 | arch/boot/memmap.S \ |