VirtualBox

Ignore:
Timestamp:
Jun 29, 2009 7:30:52 AM (15 years ago)
Author:
vboxsync
Message:

Linux guest kernel modules: prevent some superflous output during build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/Makefile.module

    r17935 r21015  
    2424# While at it, warn about BUILD_* vars found to help with user problems.
    2525#
     26ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),)
     27 BUILD_TARGET_ARCH_DEF := amd64
     28else
     29 BUILD_TARGET_ARCH_DEF := x86
     30endif
    2631ifneq ($(filter-out amd64 x86,$(BUILD_TARGET_ARCH)),)
    2732 $(warning Ignoring unknown BUILD_TARGET_ARCH value '$(BUILD_TARGET_ARCH)'.)
     
    3540   BUILD_TARGET_ARCH := x86
    3641  else
    37    ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),)
    38     BUILD_TARGET_ARCH := amd64
    39    else
    40     BUILD_TARGET_ARCH := x86
    41    endif
     42   BUILD_TARGET_ARCH := $(BUILD_TARGET_ARCH_DEF)
    4243  endif
    4344 endif
    4445else
    45  $(warning Using BUILD_TARGET_ARCH='$(BUILD_TARGET_ARCH)' from the $(origin BUILD_TARGET_ARCH).)
     46 ifneq ($(BUILD_TARGET_ARCH),$(BUILD_TARGET_ARCH_DEF))
     47  $(warning Using BUILD_TARGET_ARCH='$(BUILD_TARGET_ARCH)' from the $(origin BUILD_TARGET_ARCH).)
     48 endif
    4649endif
    4750
     
    5356 BUILD_TYPE := release
    5457else
    55  $(warning Using BUILD_TYPE='$(BUILD_TYPE)' from the $(origin BUILD_TYPE).)
     58 ifneq ($(BUILD_TYPE),release)
     59  $(warning Using BUILD_TYPE='$(BUILD_TYPE)' from the $(origin BUILD_TYPE).)
     60 endif
    5661endif
    5762
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