- Timestamp:
- May 6, 2009 7:23:10 PM (16 years ago)
- Location:
- trunk/src/VBox/HostDrivers
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/Makefile
r18254 r19455 35 35 # While at it, warn about BUILD_* vars found to help with user problems. 36 36 # 37 ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),) 38 BUILD_TARGET_ARCH_DEF := amd64 39 else 40 BUILD_TARGET_ARCH_DEF := x86 41 endif 37 42 ifneq ($(filter-out amd64 x86,$(BUILD_TARGET_ARCH)),) 38 43 $(warning Ignoring unknown BUILD_TARGET_ARCH value '$(BUILD_TARGET_ARCH)'.) … … 46 51 BUILD_TARGET_ARCH := x86 47 52 else 48 ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),) 49 BUILD_TARGET_ARCH := amd64 50 else 51 BUILD_TARGET_ARCH := x86 52 endif 53 endif 54 endif 55 else 56 $(warning Using BUILD_TARGET_ARCH='$(BUILD_TARGET_ARCH)' from the $(origin BUILD_TARGET_ARCH).) 53 BUILD_TARGET_ARCH := $(BUILD_TARGET_ARCH_DEF) 54 endif 55 endif 56 else 57 ifneq ($(BUILD_TARGET_ARCH),$(BUILD_TARGET_ARCH_DEF)) 58 $(warning Using BUILD_TARGET_ARCH='$(BUILD_TARGET_ARCH)' from the $(origin BUILD_TARGET_ARCH).) 59 endif 57 60 endif 58 61 … … 64 67 BUILD_TYPE := release 65 68 else 66 $(warning Using BUILD_TYPE='$(BUILD_TYPE)' from the $(origin BUILD_TYPE).) 69 ifneq ($(BUILD_TYPE),release) 70 $(warning Using BUILD_TYPE='$(BUILD_TYPE)' from the $(origin BUILD_TYPE).) 71 endif 67 72 endif 68 73 -
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 -
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile
r15691 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 -
trunk/src/VBox/HostDrivers/linux/Makefile
r18973 r19455 34 34 $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetflt; \ 35 35 cp vboxnetflt/vboxnetflt.ko .; \ 36 echo; \ 36 37 fi 37 38 @if [ -d vboxnetadp ]; then \ … … 39 40 $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetadp; \ 40 41 cp vboxnetadp/vboxnetadp.ko .; \ 42 echo; \ 41 43 fi 42 44
Note:
See TracChangeset
for help on using the changeset viewer.