Changeset 38150 in vbox
- Timestamp:
- Jul 25, 2011 11:37:43 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r38148 r38150 29 29 .SECONDTARGETEXPANSION: 30 30 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 = 137 endif38 39 ifndef VBOX_WITH_0_2_0_KBUILD40 # Enable automatic installation of what's built.41 KBUILD_DO_AUTO_INSTALL := 142 PASSES := $(filter-out PACKING,$(PASSES)) PACKING # temporary hack43 # Modify the order of the INSTALLS and OTHERS passes.44 DEFAULT_PASSES := BLDPROGS LIBRARIES DLLS BINARIES INSTALLS OTHERS45 endif46 31 # Modify the build types. 47 32 KBUILD_BLD_TYPES = release profile debug kprofile … … 82 67 # this will be done in FHS fashion assuming /usr/local or /usr as 'prefix'. 83 68 # 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. 86 70 ifndef 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) 94 73 endif 95 74 … … 133 112 INST_ADDITIONS = $(INST_BIN)additions/ 134 113 INST_ADDITIONS_ISO = $(INST_ADDITIONS) 135 114 136 115 INST_VBOXNETADP = $(INST_BIN) 137 116 … … 147 126 INST_PACKAGES = packages/ 148 127 149 ifndef VBOX_WITH_0_2_0_KBUILD150 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 endif157 128 VBOX_PATH_SDK = $(patsubst %/,%,$(PATH_STAGE)/$(INST_SDK)) 158 129 VBOX_PATH_DIST = $(patsubst %/,%,$(PATH_STAGE)/$(INST_DIST)) … … 169 140 170 141 # 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)) 142 if $(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 151 else 152 $(error You must update kBuild! Requires 0.1.999 or later, found $(KBUILD_VERSION)) 173 153 endif 174 154
Note:
See TracChangeset
for help on using the changeset viewer.