VirtualBox

Changeset 42289 in vbox


Ignore:
Timestamp:
Jul 20, 2012 6:35:43 PM (13 years ago)
Author:
vboxsync
Message:

Config.kmk: Only check xcodebuild -version when we're on a mac.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r42288 r42289  
    18541854ifeq ($(KBUILD_TARGET),darwin)
    18551855 ## The Xcode version.
    1856  ifndef VBOX_XCODE_VERSION
    1857   VBOX_XCODE_VERSION  := $(word 2, $(shell xcodebuild -version))
    1858   if "$(VBOX_XCODE_VERSION)" == ""
    1859    VBOX_XCODE_VERSION := 4.2
     1856 ifeq ($(KBUILD_HOST),darwin)
     1857  ifndef VBOX_XCODE_VERSION
     1858   VBOX_XCODE_VERSION := $(word 2, $(shell xcodebuild -version))
     1859   VBOX_XCODE_VERSION ?= 4.1
    18601860  endif
    1861  endif
    1862  ifeq ($(VBOX_XCODE_VERSION),4.2)
    1863   $(warning Xcode 4.2 is not able to correctly build the recompiler!)
    1864   $(warning Please downgrade to Xcode 4.1 if you want a working VMM!)
     1861  ifeq ($(VBOX_XCODE_VERSION),4.2)
     1862   $(warning Xcode 4.2 is not able to correctly build the recompiler!)
     1863   $(warning Please downgrade to Xcode 4.1 if you want a working VMM!)
     1864  endif
     1865 else
     1866  VBOX_XCODE_VERSION ?= 4.1
    18651867 endif
    18661868 VBOX_XCODE_VERSION_MAJOR := $(word 1, $(subst ., ,$(VBOX_XCODE_VERSION)))
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