Subversion Repositories HelenOS

Rev

Rev 3369 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3369 Rev 3800
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
	CMN2 = -march=athlon-xp -mmmx -msse -m3dnow
53
	CMN2 = -march=athlon-xp
54
	GCC_CFLAGS += $(CMN2)
-
 
55
	ICC_CFLAGS += $(CMN2)
-
 
56
	SUNCC_CFLAGS += -xarch=ssea
54
	SUNCC_CFLAGS += -xarch=ssea
57
	DEFS += -DCONFIG_FENCES_P3
55
	DEFS += -DCONFIG_FENCES_P3
58
	CONFIG_SMP = n
56
	CONFIG_SMP = n
59
	CONFIG_HT = n
57
	CONFIG_HT = n
60
endif
58
endif
61
ifeq ($(MACHINE),athlon-mp)
59
ifeq ($(MACHINE),athlon-mp)
62
	CMN2 = -march=athlon-mp -mmmx -msse -m3dnow
60
	CMN2 = -march=athlon-mp
63
	GCC_CFLAGS += $(CMN2)
-
 
64
	ICC_CFLAGS += $(CMN2)
-
 
65
	SUNCC_CFLAGS += -xarch=ssea
61
	SUNCC_CFLAGS += xarch=ssea
66
	DEFS += -DCONFIG_FENCES_P3
62
	DEFS += -DCONFIG_FENCES_P3
67
	CONFIG_HT = n
63
	CONFIG_HT = n
68
endif
64
endif
69
ifeq ($(MACHINE),pentium3)
65
ifeq ($(MACHINE),pentium3)
70
	CMN2 = -march=pentium3 -mmmx -msse
66
	CMN2 = -march=pentium3
71
	GCC_CFLAGS += $(CMN2)
-
 
72
	ICC_CFLAGS += $(CMN2)
-
 
73
	SUNCC_CFLAGS += -xarch=sse
67
	SUNCC_CFLAGS += -xarch=sse
74
	DEFS += -DCONFIG_FENCES_P3
68
	DEFS += -DCONFIG_FENCES_P3
75
	CONFIG_HT = n
69
	CONFIG_HT = n
76
endif
70
endif
77
ifeq ($(MACHINE),core)
-
 
78
	CMN2 = -march=prescott -mfpmath=sse -mmmx -msse -msse2 -msse3
-
 
79
	GCC_CFLAGS += $(CMN2)
-
 
80
	ICC_CFLAGS += $(CMN2)
-
 
81
	SUNCC_CFLAGS += -xarch=sse3
-
 
82
	DEFS += -DCONFIG_FENCES_P4
-
 
83
endif
-
 
84
ifeq ($(MACHINE),pentium4)
71
ifeq ($(MACHINE),pentium4)
85
	GCC_CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2
-
 
86
	ICC_CFLAGS += -march=pentium4
72
	CMN2 = -march=pentium4
87
	SUNCC_CFLAGS += -xarch=sse2
73
	SUNCC_CFLAGS += -xarch=sse2
88
	DEFS += -DCONFIG_FENCES_P4
74
	DEFS += -DCONFIG_FENCES_P4
89
endif
75
endif
-
 
76
ifeq ($(MACHINE),core)
-
 
77
	CMN2 = -march=prescott
-
 
78
	SUNCC_CFLAGS += -xarch=sse3
-
 
79
	DEFS += -DCONFIG_FENCES_P4
-
 
80
endif
-
 
81
 
-
 
82
FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow
-
 
83
GCC_CFLAGS += $(CMN2)
-
 
84
ICC_CFLAGS += $(CMN2)
90
 
85
 
91
## Own configuration directives
86
## Own configuration directives
92
#
87
#
93
 
88
 
94
CONFIG_ACPI = y
89
CONFIG_ACPI = y