Changeset 3423 for trunk/kBuild/header.kmk
- Timestamp:
- Aug 21, 2020, 1:49:39 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/header.kmk
r3419 r3423 235 235 ifneq ($(KBUILD_TYPE),$(BUILD_TYPE)) 236 236 ifeq ($(origin KBUILD_TYPE):$(origin BUILD_TYPE),environment:command line) 237 $(warning kBuild: Please use KBUILD_TYPE instead of BUILD_TYPE on the command line!) 237 238 KBUILD_TYPE := $(BUILD_TYPE) 238 239 else ifneq ($(origin KBUILD_TYPE):$(origin BUILD_TYPE),command line:environment) 239 $(error kBuild: KBUILD_TYPE and BUILD_TYPEdisagree.)240 $(error kBuild: KBUILD_TYPE (command line) and BUILD_TYPE (env) disagree.) 240 241 endif 241 242 endif … … 252 253 $(error kBuild: The KBUILD_TYPE value '$(KBUILD_TYPE)' contains spaces/tabs!) 253 254 endif 254 endif255 256 257 #258 # Host platform legacy259 # kmk deals with this, so this is only temporary until I've rebuilt everything.260 #261 ifndef KBUILD_HOST262 KBUILD_HOST := $(BUILD_PLATFORM)263 endif264 ifndef KBUILD_HOST_ARCH265 KBUILD_HOST_ARCH := $(BUILD_PLATFORM_ARCH)266 endif267 ifndef KBUILD_HOST_CPU268 KBUILD_HOST_CPU := $(BUILD_PLATFORM_CPU)269 255 endif 270 256 … … 315 301 ifneq ($(KBUILD_TARGET),$(BUILD_TARGET)) 316 302 ifeq ($(origin KBUILD_TARGET):$(origin BUILD_TARGET),environment:command line) 303 $(warning kBuild: Please use KBUILD_TARGET instead of BUILD_TARGET on the command line!) 317 304 KBUILD_TARGET := $(BUILD_TARGET) 318 305 else ifneq ($(origin KBUILD_TARGET):$(origin BUILD_TARGET),command line:environment) … … 330 317 ifneq ($(KBUILD_TARGET_ARCH),$(BUILD_TARGET_ARCH)) 331 318 ifeq ($(origin KBUILD_TARGET_ARCH):$(origin BUILD_TARGET_ARCH),environment:command line) 319 $(warning kBuild: Please use KBUILD_TARGET_ARCH instead of BUILD_TARGET_ARCH on the command line!) 332 320 KBUILD_TARGET_ARCH := $(BUILD_TARGET_ARCH) 333 321 else ifneq ($(origin KBUILD_TARGET_ARCH):$(origin BUILD_TARGET_ARCH),command line:environment) … … 345 333 ifneq ($(KBUILD_TARGET_CPU),$(BUILD_TARGET_CPU)) 346 334 ifeq ($(origin KBUILD_TARGET_CPU):$(origin BUILD_TARGET_CPU),environment:command line) 335 $(warning kBuild: Please use KBUILD_TARGET_CPU instead of BUILD_TARGET_CPU on the command line!) 347 336 KBUILD_TARGET_CPU := $(BUILD_TARGET_CPU) 348 337 else ifneq ($(origin KBUILD_TARGET_CPU):$(origin BUILD_TARGET_CPU),command line:environment)
Note:
See TracChangeset
for help on using the changeset viewer.