VirtualBox

Changeset 108703 in vbox


Ignore:
Timestamp:
Mar 24, 2025 6:44:35 AM (3 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168120
Message:

Config.kmk: Some KBUILD_TARGET vs. KBUILD_HOST fixes when cross compiling, bugref:19874

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r108693 r108703  
    25972597
    25982598# GNU tar if present.
    2599 if1of ($(KBUILD_TARGET), linux os2 win)
     2599if1of ($(KBUILD_HOST), linux os2 win)
    26002600 VBOX_GTAR ?= tar
    2601 else if1of ($(KBUILD_TARGET), freebsd netbsd solaris)
     2601else if1of ($(KBUILD_HOST), freebsd netbsd solaris darwin)
    26022602 VBOX_GTAR ?= gtar
    26032603endif
     
    26122612 VBOX_NM ?= nm -p -t x
    26132613endif
     2614
     2615# objcopy tool
     2616VBOX_OBJCOPY   ?= $(TOOL_$(VBOX_GCC_TOOL)_OBJCOPY)
    26142617
    26152618# Makeself for the linux installers.
     
    32813284
    32823285 # Java stuff.
    3283  ifeq ($(KBUILD_TARGET),darwin)
     3286 ifeq ($(KBUILD_HOST),darwin)
    32843287  VBOX_JAVA_BIN_PATH = $(firstword $(wildcard \
    32853288                        /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands \
     
    33053308 else # !darwin
    33063309
    3307   ifeq ($(KBUILD_TARGET),linux)
     3310  ifeq ($(KBUILD_HOST),linux)
    33083311   ifeq ($(origin VBOX_JAVA_HOME),undefined)
    33093312    # Add correct detection for you distro after the /usr/../java-6-sun line.
     
    33253328  endif
    33263329
    3327   ifeq ($(KBUILD_TARGET),solaris)
     3330  ifeq ($(KBUILD_HOST),solaris)
    33283331   # VBOX_JAVA_HOME ?= /usr/jdk/jdk1.6.0
    33293332   VBOX_JAVA_HOME ?= $(firstword $(abspath $(wildcard \
     
    33353338  endif
    33363339
    3337   ifeq ($(KBUILD_TARGET),win)
     3340  ifeq ($(KBUILD_HOST),win)
    33383341   VBOX_JAVA_HOME ?= c:/jdk
    33393342  endif
Note: See TracChangeset for help on using the changeset viewer.

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