Changeset 994 for trunk/kBuild/header.kmk
- Timestamp:
- May 29, 2007, 10:00:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/header.kmk
r992 r994 177 177 178 178 ifeq ($(strip $(BUILD_PLATFORM_CPU)),) 179 $(error kBuild: The BUILD_PLATFORM_CPU value is missing (should be set by kmk)!) 180 endif 181 ifneq (.$(words $(BUILD_PLATFORM_CPU)).$(BUILD_PLATFORM_CPU).,.1.$(strip $(BUILD_PLATFORM_CPU)).) 182 $(error kBuild: The BUILD_PLATFORM_CPU value '$(BUILD_PLATFORM_CPU)' contains spaces/tabs!) 183 endif 184 ifneq ($(filter $(BUILD_PLATFORM_CPU), $(KBUILD_OSES) $(BUILD_ARCHES)),) 185 $(error kBuild: The BUILD_PLATFORM_CPU value '$(BUILD_PLATFORM_CPU)' was found in the OS or architecture keywords!) 186 endif 187 ifeq ($(BUILD_PLATFORM_CPU),$(BUILD_TYPE)) 188 $(error kBuild: The BUILD_PLATFORM_CPU value '$(BUILD_PLATFORM_CPU)' is the same as the BUILD_TYPE!) 179 BUILD_PLATFORM_CPU := blend 180 else 181 ifneq (.$(words $(BUILD_PLATFORM_CPU)).$(BUILD_PLATFORM_CPU).,.1.$(strip $(BUILD_PLATFORM_CPU)).) 182 $(error kBuild: The BUILD_PLATFORM_CPU value '$(BUILD_PLATFORM_CPU)' contains spaces/tabs!) 183 endif 184 ifneq ($(filter $(BUILD_PLATFORM_CPU), $(KBUILD_OSES) $(BUILD_ARCHES)),) 185 $(error kBuild: The BUILD_PLATFORM_CPU value '$(BUILD_PLATFORM_CPU)' was found in the OS or architecture keywords!) 186 endif 187 ifeq ($(BUILD_PLATFORM_CPU),$(BUILD_TYPE)) 188 $(error kBuild: The BUILD_PLATFORM_CPU value '$(BUILD_PLATFORM_CPU)' is the same as the BUILD_TYPE!) 189 endif 189 190 endif 190 191 … … 218 219 ifndef BUILD_TARGET_CPU 219 220 BUILD_TARGET_CPU := $(BUILD_PLATFORM_CPU) 220 else 221 ifeq ($(strip $(BUILD_TARGET_CPU)),) 222 $(error kBuild: The BUILD_TARGET_CPU value is missing (should be set by kmk)!) 223 endif 221 else ifeq ($(strip $(BUILD_TARGET_CPU)),) 222 ifeq ($(BUILD_TARGET_ARCH),$(BUILD_PLATFORM_ARCH)) 223 BUILD_TARGET_CPU := $(BUILD_PLATFORM_CPU) 224 else 225 BUILD_TARGET_CPU := blend 226 endif 227 else 224 228 ifneq (.$(words $(BUILD_TARGET_CPU)).$(BUILD_TARGET_CPU).,.1.$(strip $(BUILD_TARGET_CPU)).) 225 229 $(error kBuild: The BUILD_TARGET_CPU value '$(BUILD_TARGET_CPU)' contains spaces/tabs!)
Note:
See TracChangeset
for help on using the changeset viewer.