VirtualBox

Changeset 2322 in kBuild for branches/kBuild-0.1.5


Ignore:
Timestamp:
Apr 10, 2009 4:14:37 PM (16 years ago)
Author:
bird
Message:

Backported 2271: header.kmk: KBUILD_DEVTOOLS, KBUILD_DEVTOOLS_TRG, KBUILD_DEVTOOLS_HST, KBUILD_DEVTOOLS_TRG_ALT and KBUILD_DEVTOOLS_HST_ALT.

Location:
branches/kBuild-0.1.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/kBuild-0.1.5

  • branches/kBuild-0.1.5/kBuild/header.kmk

    r2243 r2322  
    410410PATH_LIB             = $(PATH_INS)/lib
    411411PATH_DOC             = $(PATH_INS)/doc
     412
     413# Development tool tree.
     414KBUILD_DEVTOOLS      = $(if $(PATH_DEVTOOLS),$(PATH_DEVTOOLS),$(PATH_ROOT)/tools)
     415KBUILD_DEVTOOLS_TRG  = $(KBUILD_DEVTOOLS)/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)
     416KBUILD_DEVTOOLS_HST  = $(KBUILD_DEVTOOLS)/$(KBUILD_HOST).$(KBUILD_HOST_ARCH)
     417
     418if1of ($(KBUILD_TARGET_ARCH), amd64 hppa64 mips64 ppc64 s390x sparc64)
     419 ifeq ($(KBUILD_TARGET_ARCH),amd64)
     420  KBUILD_DEVTOOLS_TRG_ALT = $(PATH_DEVTOOLS)/$(KBUILD_TARGET).x86
     421 else ifeq ($(KBUILD_TARGET_ARCH),hppa64)
     422  KBUILD_DEVTOOLS_TRG_ALT = $(PATH_DEVTOOLS)/$(KBUILD_TARGET).hppa32
     423 else ifeq ($(KBUILD_TARGET_ARCH),mips64)
     424  KBUILD_DEVTOOLS_TRG_ALT = $(PATH_DEVTOOLS)/$(KBUILD_TARGET).mips32
     425 else ifeq ($(KBUILD_TARGET_ARCH),ppc64)
     426  KBUILD_DEVTOOLS_TRG_ALT = $(PATH_DEVTOOLS)/$(KBUILD_TARGET).ppc32
     427 else ifeq ($(KBUILD_TARGET_ARCH),s390x)
     428  KBUILD_DEVTOOLS_TRG_ALT = $(PATH_DEVTOOLS)/$(KBUILD_TARGET).s390
     429 else ifeq ($(KBUILD_TARGET_ARCH),sparc64)
     430  KBUILD_DEVTOOLS_TRG_ALT = $(PATH_DEVTOOLS)/$(KBUILD_TARGET).sparc32
     431 endif
     432endif
     433
     434if1of ($(KBUILD_HOST_ARCH), amd64 hppa64 mips64 ppc64 s390x sparc64)
     435 ifeq ($(KBUILD_HOST_ARCH),amd64)
     436  KBUILD_DEVTOOLS_HST_ALT = $(PATH_DEVTOOLS)/$(KBUILD_HOST).x86
     437 else ifeq ($(KBUILD_HOST_ARCH),hppa64)
     438  KBUILD_DEVTOOLS_HST_ALT = $(PATH_DEVTOOLS)/$(KBUILD_HOST).hppa32
     439 else ifeq ($(KBUILD_HOST_ARCH),mips64)
     440  KBUILD_DEVTOOLS_HST_ALT = $(PATH_DEVTOOLS)/$(KBUILD_HOST).mips32
     441 else ifeq ($(KBUILD_HOST_ARCH),ppc64)
     442  KBUILD_DEVTOOLS_HST_ALT = $(PATH_DEVTOOLS)/$(KBUILD_HOST).ppc32
     443 else ifeq ($(KBUILD_HOST_ARCH),s390x)
     444  KBUILD_DEVTOOLS_HST_ALT = $(PATH_DEVTOOLS)/$(KBUILD_HOST).s390
     445 else ifeq ($(KBUILD_HOST_ARCH),sparc64)
     446  KBUILD_DEVTOOLS_HST_ALT = $(PATH_DEVTOOLS)/$(KBUILD_HOST).sparc32
     447 endif
     448endif
     449
    412450
    413451# KBUILD_PATH / PATH_KBUILD is determined by kmk.
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