Subversion Repositories HelenOS

Rev

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

Rev 4338 Rev 4339
Line 48... Line 48...
48
 
48
 
49
## Accepted CPUs
49
## Accepted CPUs
50
#
50
#
51
 
51
 
52
ifeq ($(MACHINE),athlon-xp)
52
ifeq ($(MACHINE),athlon-xp)
53
	FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-3dnow
-
 
54
	CMN2 = -march=athlon-xp
53
	CMN2 = -march=athlon-xp
55
	GCC_CFLAGS += $(CMN2)
-
 
56
	ICC_CFLAGS += $(CMN2)
-
 
57
	SUNCC_CFLAGS += -xarch=ssea
54
	SUNCC_CFLAGS += -xarch=ssea
58
	DEFS += -DCONFIG_FENCES_P3
55
	DEFS += -DCONFIG_FENCES_P3
59
	CONFIG_SMP = n
56
	CONFIG_SMP = n
60
	CONFIG_HT = n
57
	CONFIG_HT = n
61
endif
58
endif
62
ifeq ($(MACHINE),athlon-mp)
59
ifeq ($(MACHINE),athlon-mp)
63
	FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-3dnow
-
 
64
	CMN2 = -march=athlon-mp
60
	CMN2 = -march=athlon-mp
65
	GCC_CFLAGS += $(CMN2)
-
 
66
	ICC_CFLAGS += $(CMN2)
-
 
67
	SUNCC_CFLAGS += xarch=ssea
61
	SUNCC_CFLAGS += xarch=ssea
68
	DEFS += -DCONFIG_FENCES_P3
62
	DEFS += -DCONFIG_FENCES_P3
69
	CONFIG_HT = n
63
	CONFIG_HT = n
70
endif
64
endif
71
ifeq ($(MACHINE),pentium3)
65
ifeq ($(MACHINE),pentium3)
72
	FPU_NO_CFLAGS = -mno-mmx -mno-sse
-
 
73
	CMN2 = -march=pentium3
66
	CMN2 = -march=pentium3
74
	GCC_CFLAGS += $(CMN2)
-
 
75
	ICC_CFLAGS += $(CMN2)
-
 
76
	SUNCC_CFLAGS += -xarch=sse
67
	SUNCC_CFLAGS += -xarch=sse
77
	DEFS += -DCONFIG_FENCES_P3
68
	DEFS += -DCONFIG_FENCES_P3
78
	CONFIG_HT = n
69
	CONFIG_HT = n
79
endif
70
endif
-
 
71
ifeq ($(MACHINE),pentium4)
-
 
72
	CMN2 = -march=pentium4
-
 
73
	SUNCC_CFLAGS += -xarch=sse2
-
 
74
	DEFS += -DCONFIG_FENCES_P4
-
 
75
endif
80
ifeq ($(MACHINE),core)
76
ifeq ($(MACHINE),core)
81
	FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-sse2 -mno-sse3
-
 
82
	CMN2 = -march=prescott
77
	CMN2 = -march=prescott
83
	GCC_CFLAGS += $(CMN2)
-
 
84
	ICC_CFLAGS += $(CMN2)
-
 
85
	SUNCC_CFLAGS += -xarch=sse3
78
	SUNCC_CFLAGS += -xarch=sse3
86
	DEFS += -DCONFIG_FENCES_P4
79
	DEFS += -DCONFIG_FENCES_P4
87
endif
80
endif
88
ifeq ($(MACHINE),pentium4)
-
 
-
 
81
 
89
	FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-sse2
82
FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow
90
	GCC_CFLAGS += -march=pentium4
83
GCC_CFLAGS += $(CMN2)
91
	ICC_CFLAGS += -march=pentium4
-
 
92
	SUNCC_CFLAGS += -xarch=sse2
84
ICC_CFLAGS += $(CMN2)
93
	DEFS += -DCONFIG_FENCES_P4
-
 
94
endif
-
 
95
 
85
 
96
## Own configuration directives
86
## Own configuration directives
97
#
87
#
98
 
88
 
99
CONFIG_ACPI = y
89
CONFIG_ACPI = y