Subversion Repositories HelenOS-historic

Rev

Rev 309 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 309 Rev 326
Line 19... Line 19...
19
ifdef HT
19
ifdef HT
20
DEFS+=-D$(HT)
20
DEFS+=-D$(HT)
21
endif
21
endif
22
 
22
 
23
 
23
 
24
CPPFLAGS=$(DEFS) -nostdinc -I../include
-
 
25
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=$(DEFS) -nostdlib -fno-builtin -fno-unwind-tables -O3 -march=opteron -m64 -mcmodel=kernel -mno-red-zone
26
LFLAGS=-M 
25
LFLAGS=-M 
27
 
26
 
28
../arch/$(ARCH)/_link.ld: ../arch/$(ARCH)/_link.ld.in
27
../arch/$(ARCH)/_link.ld: ../arch/$(ARCH)/_link.ld.in
29
	$(CC) $(CFLAGS) -E -x c $< | grep -v "^\#" > $@
28
	$(CC) $(CFLAGS) -C -E -x c $< | grep -v "^\#" > $@
30
 
29
 
31
arch_sources = arch/dummy.s \
30
arch_sources = arch/dummy.s \
32
	arch/fpu_context.c \
31
	arch/fpu_context.c \
33
	arch/boot/boot.S \
32
	arch/boot/boot.S \
34
	arch/boot/memmap.S \
33
	arch/boot/memmap.S \