Subversion Repositories HelenOS

Rev

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

Rev 2454 Rev 2460
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
GCC_CFLAGS += -fno-unwind-tables -m64 -mcmodel=kernel -mno-red-zone
38
CMN1 = -m64 -mcmodel=kernel -mno-red-zone -fno-unwind-tables
-
 
39
GCC_CFLAGS += $(CMN1)
-
 
40
ICC_CFLAGS += $(CMN1)
39
SUNCC_CFLAGS += -m64 -xmodel=kernel
41
SUNCC_CFLAGS += -m64 -xmodel=kernel
40
 
42
 
41
DEFS += -DMACHINE=$(MACHINE) -D__64_BITS__
43
DEFS += -DMACHINE=$(MACHINE) -D__64_BITS__
42
 
44
 
43
## Accepted CPUs
45
## Accepted CPUs
44
#
46
#
45
 
47
 
46
ifeq ($(MACHINE),opteron)
48
ifeq ($(MACHINE),opteron)
-
 
49
	CMN2 := -march=opteron
-
 
50
	GCC_CFLAGS += $(CMN2)
-
 
51
	ICC_CFLAGS += $(CMN2)
47
	GCC_CFLAGS += -march=opteron	
52
	SUNCC_CFLAGS += -xtarget=opteron
48
	DEFS += -DFENCES=p4
53
	DEFS += -DFENCES=p4
49
endif
54
endif
50
 
55
 
51
## Own configuration directives
56
## Own configuration directives
52
#
57
#