Subversion Repositories HelenOS

Rev

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

Rev 2125 Rev 2454
Line 35... Line 35...
35
TARGET = i686-pc-linux-gnu
35
TARGET = i686-pc-linux-gnu
36
TOOLCHAIN_DIR = /usr/local/i686
36
TOOLCHAIN_DIR = /usr/local/i686
37
 
37
 
38
DEFS += -DMACHINE=$(MACHINE) -D__32_BITS__
38
DEFS += -DMACHINE=$(MACHINE) -D__32_BITS__
39
 
39
 
-
 
40
SUNCC_CFLAGS = -m32
-
 
41
 
40
## Accepted CPUs
42
## Accepted CPUs
41
#
43
#
42
 
44
 
43
ifeq ($(MACHINE),athlon-xp)
45
ifeq ($(MACHINE),athlon-xp)
44
	CFLAGS += -march=athlon-xp -mmmx -msse -m3dnow
46
	GCC_CFLAGS += -march=athlon-xp -mmmx -msse -m3dnow
45
	DEFS += -DCONFIG_FENCES_P3
47
	DEFS += -DCONFIG_FENCES_P3
46
	CONFIG_SMP = n
48
	CONFIG_SMP = n
47
	CONFIG_HT = n
49
	CONFIG_HT = n
48
endif
50
endif
49
ifeq ($(MACHINE),athlon-mp)
51
ifeq ($(MACHINE),athlon-mp)
50
	CFLAGS += -march=athlon-mp -mmmx -msse -m3dnow
52
	GCC_CFLAGS += -march=athlon-mp -mmmx -msse -m3dnow
51
	DEFS += -DCONFIG_FENCES_P3
53
	DEFS += -DCONFIG_FENCES_P3
52
	CONFIG_HT = n
54
	CONFIG_HT = n
53
endif
55
endif
54
ifeq ($(MACHINE),pentium3)
56
ifeq ($(MACHINE),pentium3)
55
	CFLAGS += -march=pentium3 -mmmx -msse
57
	GCC_CFLAGS += -march=pentium3 -mmmx -msse
56
	DEFS += -DCONFIG_FENCES_P3
58
	DEFS += -DCONFIG_FENCES_P3
57
	CONFIG_HT = n
59
	CONFIG_HT = n
58
endif
60
endif
59
ifeq ($(MACHINE),prescott)
61
ifeq ($(MACHINE),prescott)
60
	CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -msse3
62
	GCC_CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -msse3
61
	DEFS += -DCONFIG_FENCES_P4
63
	DEFS += -DCONFIG_FENCES_P4
62
endif
64
endif
63
ifeq ($(MACHINE),pentium4)
65
ifeq ($(MACHINE),pentium4)
64
	CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2
66
	GCC_CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2
65
	DEFS += -DCONFIG_FENCES_P4
67
	DEFS += -DCONFIG_FENCES_P4
66
endif
68
endif
67
 
69
 
68
## Own configuration directives
70
## Own configuration directives
69
#
71
#