Changeset 19455 in vbox for trunk/src/VBox/HostDrivers/VBoxNetAdp/linux
- Timestamp:
- May 6, 2009 7:23:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile
r19013 r19455 26 26 # While at it, warn about BUILD_* vars found to help with user problems. 27 27 # 28 ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),) 29 BUILD_TARGET_ARCH_DEF := amd64 30 else 31 BUILD_TARGET_ARCH_DEF := x86 32 endif 28 33 ifneq ($(filter-out amd64 x86,$(BUILD_TARGET_ARCH)),) 29 34 $(warning Ignoring unknown BUILD_TARGET_ARCH value '$(BUILD_TARGET_ARCH)'.) … … 37 42 BUILD_TARGET_ARCH := x86 38 43 else 39 ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),) 40 BUILD_TARGET_ARCH := amd64 41 else 42 BUILD_TARGET_ARCH := x86 43 endif 44 endif 45 endif 46 else 47 $(warning Using BUILD_TARGET_ARCH='$(BUILD_TARGET_ARCH)' from the $(origin BUILD_TARGET_ARCH).) 44 BUILD_TARGET_ARCH := $(BUILD_TARGET_ARCH_DEF) 45 endif 46 endif 47 else 48 ifneq ($(BUILD_TARGET_ARCH),$(BUILD_TARGET_ARCH_DEF)) 49 $(warning Using BUILD_TARGET_ARCH='$(BUILD_TARGET_ARCH)' from the $(origin BUILD_TARGET_ARCH).) 50 endif 48 51 endif 49 52 … … 55 58 BUILD_TYPE := release 56 59 else 57 $(warning Using BUILD_TYPE='$(BUILD_TYPE)' from the $(origin BUILD_TYPE).) 60 ifneq ($(BUILD_TYPE),release) 61 $(warning Using BUILD_TYPE='$(BUILD_TYPE)' from the $(origin BUILD_TYPE).) 62 endif 58 63 endif 59 64
Note:
See TracChangeset
for help on using the changeset viewer.