- Timestamp:
- Oct 28, 2005 11:36:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/header.kmk
r306 r329 117 117 $(error kBuild: BUILD_PLATFORM value '$(BUILD_PLATFORM)' was not recongized!) 118 118 endif 119 120 # Fill in defaults if needed. 121 ifndef BUILD_PLATFORM_ARCH 119 122 BUILD_PLATFORM_ARCH := x86 123 endif 124 ifndef BUILD_PLATFORM_CPU 120 125 BUILD_PLATFORM_CPU := i586 126 endif 121 127 122 128 … … 173 179 endif 174 180 endif 181 182 # Fill in defaults if needed. 183 ifndef BUILD_TARGET_ARCH 175 184 BUILD_TARGET_ARCH := x86 185 endif 186 ifndef BUILD_TARGET_CPU 176 187 BUILD_TARGET_CPU := i586 188 endif 177 189 178 190 # Adjust the DEPTH definition first … … 210 222 endif 211 223 ifndef PATH_OUT 224 ifeq ($(BUILD_PLATFORM_ARCH),x86) 212 225 ifdef BUILD_TARGET_SUB # (BUILD_TARGET_SUB is not currently recognized by kBuild in any other places.) 213 226 PATH_OUT := $(PATH_OUT_BASE)/$(BUILD_TARGET)/$(BUILD_TARGET_SUB)/$(BUILD_TYPE) … … 215 228 PATH_OUT := $(PATH_OUT_BASE)/$(BUILD_TARGET)/$(BUILD_TYPE) 216 229 endif 217 endif 230 else # !x86 231 ifdef BUILD_TARGET_SUB # (BUILD_TARGET_SUB is not currently recognized by kBuild in any other places.) 232 PATH_OUT := $(PATH_OUT_BASE)/$(BUILD_TARGET)/$(BUILD_TARGET_ARCH)/$(BUILD_TARGET_SUB)/$(BUILD_TYPE) 233 else 234 PATH_OUT := $(PATH_OUT_BASE)/$(BUILD_TARGET)/$(BUILD_TARGET_ARCH)/$(BUILD_TYPE) 235 endif 236 endif # !x86 237 endif # !define PATH_OUT 218 238 PATH_OBJ := $(PATH_OUT)/obj 219 239 PATH_TARGET := $(PATH_OBJ)/$(CURSUBDIR) … … 237 257 PATH_KBUILD := $(abspath $(PATH_KBUILD)) 238 258 endif 239 # kBuild tools240 PATH_TOOLS_W32 := $(PATH_KBUILD)/bin/x86.win32241 PATH_TOOLS_LNX := $(PATH_KBUILD)/bin/x86.linux242 PATH_TOOLS_OS2 := $(PATH_KBUILD)/bin/x86.os2243 PATH_TOOLS_FREEBSD := $(PATH_KBUILD)/bin/amd64.freebsd244 259 # kBuild files which might be of interest. 245 260 FILE_KBUILD_HEADER := $(PATH_KBUILD)/header.kmk … … 261 276 # Build platform setup. 262 277 # 278 PATH_TOOLS := $(PATH_KBUILD)/bin/$(BUILD_PLATFORM_ARCH).$(BUILD_PLATFORM) 279 263 280 # OS/2 264 281 ifeq ($(BUILD_PLATFORM),os2) 265 PATH_TOOLS := $(PATH_TOOLS_OS2)266 282 EXEC_X86_WIN32 := innopec.exe 267 283 HOSTSUFF_EXE := .exe … … 270 286 # Linux 271 287 ifeq ($(BUILD_PLATFORM),linux) 272 PATH_TOOLS := $(PATH_TOOLS_LNX)273 288 EXEC_X86_WIN32 := wine 274 289 HOSTSUFF_EXE := … … 277 292 # Win32 278 293 ifeq ($(BUILD_PLATFORM),win32) 279 PATH_TOOLS := $(PATH_TOOLS_W32)280 294 EXEC_X86_WIN32 := 281 295 HOSTSUFF_EXE := .exe … … 284 298 # FreeBSD 285 299 ifeq ($(BUILD_PLATFORM),freebsd) 286 PATH_TOOLS := $(PATH_TOOLS_FREEBSD)287 300 EXEC_X86_WIN32 := wine 288 301 HOSTSUFF_EXE :=
Note:
See TracChangeset
for help on using the changeset viewer.