VirtualBox

Changeset 19455 in vbox for trunk/src


Ignore:
Timestamp:
May 6, 2009 7:23:10 PM (16 years ago)
Author:
vboxsync
Message:

linux kernel modules: prevent some superflous output during build

Location:
trunk/src/VBox/HostDrivers
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/Makefile

    r18254 r19455  
    3535# While at it, warn about BUILD_* vars found to help with user problems.
    3636#
     37ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),)
     38 BUILD_TARGET_ARCH_DEF := amd64
     39else
     40 BUILD_TARGET_ARCH_DEF := x86
     41endif
    3742ifneq ($(filter-out amd64 x86,$(BUILD_TARGET_ARCH)),)
    3843 $(warning Ignoring unknown BUILD_TARGET_ARCH value '$(BUILD_TARGET_ARCH)'.)
     
    4651   BUILD_TARGET_ARCH := x86
    4752  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
     56else
     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
    5760endif
    5861
     
    6467 BUILD_TYPE := release
    6568else
    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
    6772endif
    6873
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/linux/Makefile

    r19013 r19455  
    2626# While at it, warn about BUILD_* vars found to help with user problems.
    2727#
     28ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),)
     29 BUILD_TARGET_ARCH_DEF := amd64
     30else
     31 BUILD_TARGET_ARCH_DEF := x86
     32endif
    2833ifneq ($(filter-out amd64 x86,$(BUILD_TARGET_ARCH)),)
    2934 $(warning Ignoring unknown BUILD_TARGET_ARCH value '$(BUILD_TARGET_ARCH)'.)
     
    3742   BUILD_TARGET_ARCH := x86
    3843  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
     47else
     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
    4851endif
    4952
     
    5558 BUILD_TYPE := release
    5659else
    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
    5863endif
    5964
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile

    r15691 r19455  
    2626# While at it, warn about BUILD_* vars found to help with user problems.
    2727#
     28ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),)
     29 BUILD_TARGET_ARCH_DEF := amd64
     30else
     31 BUILD_TARGET_ARCH_DEF := x86
     32endif
    2833ifneq ($(filter-out amd64 x86,$(BUILD_TARGET_ARCH)),)
    2934 $(warning Ignoring unknown BUILD_TARGET_ARCH value '$(BUILD_TARGET_ARCH)'.)
     
    3742   BUILD_TARGET_ARCH := x86
    3843  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
     47else
     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
    4851endif
    4952
     
    5558 BUILD_TYPE := release
    5659else
    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
    5863endif
    5964
  • trunk/src/VBox/HostDrivers/linux/Makefile

    r18973 r19455  
    3434            $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetflt; \
    3535            cp vboxnetflt/vboxnetflt.ko .; \
     36            echo; \
    3637        fi
    3738        @if [ -d vboxnetadp ]; then \
     
    3940            $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetadp; \
    4041            cp vboxnetadp/vboxnetadp.ko .; \
     42            echo; \
    4143        fi
    4244
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette