Subversion Repositories HelenOS

Rev

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

Rev 2462 Rev 2489
Line 130... Line 130...
130
		DEFS += -DCONFIG_VESA_HEIGHT=$(CONFIG_VESA_HEIGHT)
130
		DEFS += -DCONFIG_VESA_HEIGHT=$(CONFIG_VESA_HEIGHT)
131
		DEFS += -DCONFIG_VESA_BPP=$(CONFIG_VESA_BPP)
131
		DEFS += -DCONFIG_VESA_BPP=$(CONFIG_VESA_BPP)
132
	endif
132
	endif
133
endif
133
endif
134
 
134
 
-
 
135
## Simple detection for the type of the host system
-
 
136
#
-
 
137
HOST = $(shell uname)
-
 
138
 
-
 
139
## On Solaris, some utilities have slightly different names
-
 
140
#
-
 
141
ifeq ($(HOST),SunOS)
-
 
142
	BINUTILS_PREFIX = "g"
-
 
143
else
-
 
144
	BINUTILS_PREFIX = ""
-
 
145
endif
-
 
146
 
135
## Toolchain configuration
147
## Toolchain configuration
136
#
148
#
137
 
149
 
138
ifeq ($(COMPILER),gcc_native)
150
ifeq ($(COMPILER),gcc_native)
139
	CC = gcc
151
	CC = gcc
140
	GCC = gcc
152
	GCC = gcc
141
	AS = as
153
	AS = $(BINUTILS_PREFIX)as
142
	LD = ld
154
	LD = $(BINUTILS_PREFIX)ld
143
	OBJCOPY = objcopy
155
	OBJCOPY = $(BINUTILS_PREFIX)objcopy
144
	OBJDUMP = objdump
156
	OBJDUMP = $(BINUTILS_PREFIX)objdump
145
	LIBDIR = /usr/lib
157
	LIBDIR = /usr/lib
146
	CFLAGS = $(GCC_CFLAGS)
158
	CFLAGS = $(GCC_CFLAGS)
147
endif
159
endif
148
 
160
 
149
ifeq ($(COMPILER),icc_native)
161
ifeq ($(COMPILER),icc_native)
Line 158... Line 170...
158
endif
170
endif
159
 
171
 
160
ifeq ($(COMPILER),suncc_native)
172
ifeq ($(COMPILER),suncc_native)
161
	CC = suncc
173
	CC = suncc
162
	GCC = gcc
174
	GCC = gcc
163
	AS = as
175
	AS = $(BINUTILS_PREFIX)as
164
	LD = ld
176
	LD = $(BINUTILS_PREFIX)ld
165
	OBJCOPY = objcopy
177
	OBJCOPY = $(BINUTILS_PREFIX)objcopy
166
	OBJDUMP = objdump
178
	OBJDUMP = $(BINUTILS_PREFIX)objdump
167
	LIBDIR = /usr/lib
179
	LIBDIR = /usr/lib
168
	CFLAGS = $(SUNCC_CFLAGS)
180
	CFLAGS = $(SUNCC_CFLAGS)
169
endif
181
endif
170
 
182
 
171
ifeq ($(COMPILER),gcc_cross)
183
ifeq ($(COMPILER),gcc_cross)