VirtualBox

Changeset 38150 in vbox


Ignore:
Timestamp:
Jul 25, 2011 11:37:43 AM (14 years ago)
Author:
vboxsync
Message:

Config.kmk: Drop VBOX_WITH_0_2_0_KBUILD hacks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r38148 r38150  
    2929.SECONDTARGETEXPANSION:
    3030
    31 # Installation and staging changes in the works for kBuild 0.2.0 and VBox 4.1.2.
    32 if $(KMK_REVISION) >= 2475 \
    33  && $(KBUILD_VERSION_MAJOR) == 0 \
    34  && (   ($(KBUILD_VERSION_MINOR) == 1 && $(KBUILD_VERSION_PATCH) >= 99) \
    35      || $(KBUILD_VERSION_MINOR) >= 2)
    36  VBOX_WITH_0_2_0_KBUILD = 1
    37 endif
    38 
    39 ifndef VBOX_WITH_0_2_0_KBUILD
    40  # Enable automatic installation of what's built.
    41  KBUILD_DO_AUTO_INSTALL := 1
    42  PASSES := $(filter-out PACKING,$(PASSES)) PACKING # temporary hack
    43  # Modify the order of the INSTALLS and OTHERS passes.
    44  DEFAULT_PASSES       := BLDPROGS LIBRARIES DLLS BINARIES INSTALLS OTHERS
    45 endif
    4631# Modify the build types.
    4732KBUILD_BLD_TYPES = release profile debug kprofile
     
    8267# this will be done in FHS fashion assuming /usr/local or /usr as 'prefix'.
    8368#
    84 # Changes related to this are marked VBOX_WITH_NEW_LAYOUT, while changes marked
    85 # VBOX_WITH_0_2_0_KBUILD are for building with current kBuild svn.
     69# Changes related to this are marked VBOX_WITH_NEW_LAYOUT.
    8670ifndef VBOX_WITH_NEW_LAYOUT
    87  ifndef VBOX_WITH_0_2_0_KBUILD
    88   PATH_INS            = $(PATH_OUT)
    89   PATH_STAGE          = $(PATH_INS)
    90  else
    91   PATH_INS            = $(PATH_OUT)/dist
    92   PATH_STAGE          = $(PATH_OUT)
    93  endif
     71 PATH_INS             = $(PATH_OUT)/dist
     72 PATH_STAGE           = $(PATH_OUT)
    9473endif
    9574
     
    133112 INST_ADDITIONS       = $(INST_BIN)additions/
    134113 INST_ADDITIONS_ISO   = $(INST_ADDITIONS)
    135  
     114
    136115 INST_VBOXNETADP      = $(INST_BIN)
    137116
     
    147126INST_PACKAGES         = packages/
    148127
    149 ifndef VBOX_WITH_0_2_0_KBUILD
    150  PATH_BIN             = $(patsubst %/,%,$(PATH_STAGE)/$(INST_BIN))
    151  PATH_DLL             = $(patsubst %/,%,$(PATH_STAGE)/$(INST_DLL))
    152  PATH_SYS             = $(patsubst %/,%,$(PATH_STAGE)/$(INST_SYS))
    153  PATH_LIB             = $(patsubst %/,%,$(PATH_STAGE)/$(INST_LIB))
    154  PATH_DOC             = $(patsubst %/,%,$(PATH_STAGE)/$(INST_DOC))
    155  $(foreach path, BIN DLL SYS LIB DOC, $(eval PATH_STAGE_$(path) = $$(PATH_$(path))))
    156 endif
    157128VBOX_PATH_SDK         = $(patsubst %/,%,$(PATH_STAGE)/$(INST_SDK))
    158129VBOX_PATH_DIST        = $(patsubst %/,%,$(PATH_STAGE)/$(INST_DIST))
     
    169140
    170141# Notify about important kBuild updates.
    171 ifneq ($(call if-expr, $(KMK_REVISION) >= 2274 && $(KBUILD_KMK_REVISION) >= 2206,fine,old),fine)
    172  $(error You must update kBuild! KMK_REVISION=$(KMK_REVISION) KBUILD_KMK_REVISION=$(KBUILD_KMK_REVISION) KBUILD_PATH=$(KBUILD_PATH))
     142if  $(KBUILD_VERSION_MAJOR) == 0 \
     143 && (   $(KBUILD_VERSION_MINOR) >= 2 \
     144     || (   $(KBUILD_VERSION_MINOR) == 1 \
     145         && $(KBUILD_VERSION_PATCH) >= 999))
     146 if $(KMK_REVISION) >= 2512
     147  # OK.
     148 else
     149  $(error You must update kBuild! Requires kBuild revision 2512 or later, found $(KMK_REVISION) ($(KBUILD_VERSION)))
     150 endif
     151else
     152 $(error You must update kBuild! Requires 0.1.999 or later, found $(KBUILD_VERSION))
    173153endif
    174154
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