Subversion Repositories HelenOS

Rev

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

Rev 2125 Rev 2454
Line 33... Line 33...
33
BFD_ARCH = i386:x86-64
33
BFD_ARCH = i386:x86-64
34
BFD = binary
34
BFD = binary
35
TARGET = amd64-linux-gnu
35
TARGET = amd64-linux-gnu
36
TOOLCHAIN_DIR = /usr/local/amd64
36
TOOLCHAIN_DIR = /usr/local/amd64
37
 
37
 
38
CFLAGS += -fno-unwind-tables -m64 -mcmodel=kernel -mno-red-zone
38
GCC_CFLAGS += -fno-unwind-tables -m64 -mcmodel=kernel -mno-red-zone
-
 
39
SUNCC_CFLAGS += -m64 -xmodel=kernel
-
 
40
 
39
DEFS += -DMACHINE=$(MACHINE) -D__64_BITS__
41
DEFS += -DMACHINE=$(MACHINE) -D__64_BITS__
40
 
42
 
41
## Accepted CPUs
43
## Accepted CPUs
42
#
44
#
43
 
45
 
44
ifeq ($(MACHINE),opteron)
46
ifeq ($(MACHINE),opteron)
45
	CFLAGS += -march=opteron
47
	GCC_CFLAGS += -march=opteron	
46
	DEFS += -DFENCES=p4
48
	DEFS += -DFENCES=p4
47
endif
49
endif
48
 
50
 
49
## Own configuration directives
51
## Own configuration directives
50
#
52
#