Changeset 6699 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jan 31, 2008 10:58:26 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/Makefile.kmk
r6241 r6699 44 44 VBOX_ADDITIONS_XYZ_ONLY = 1 45 45 VBOX_WITH_LINUX_ADDITIONS = 1 46 VBOX_REMOTE_LINUX_ADDITIONS_BUILD =47 46 VBOX_WITH_WIN32_ADDITIONS = 48 47 else ifdef VBOX_ADDITIONS_WIN32_ONLY 49 48 VBOX_ADDITIONS_XYZ_ONLY = 1 50 49 VBOX_WITH_WIN32_ADDITIONS = 1 51 VBOX_REMOTE_WIN32_ADDITIONS_BUILD =52 50 VBOX_WITH_LINUX_ADDITIONS = 53 51 endif … … 55 53 VBOX_WITH_ADDITIONS_ISO.win.x86 = 1 56 54 endif 57 if neq ($(VBOX_WITH_LINUX_ADDITIONS)$(VBOX_ADDITIONS_LINUX_CROSS),)55 ifdef VBOX_WITH_LINUX_ADDITIONS 58 56 VBOX_WITH_ADDITIONS_ISO.linux.x86 = 1 59 57 endif … … 62 60 include $(PATH_SUB_CURRENT)/common/Makefile.kmk 63 61 ifdef VBOX_WITH_WIN32_ADDITIONS 64 ifndef VBOX_REMOTE_WIN32_ADDITIONS_BUILD 65 include $(PATH_SUB_CURRENT)/WINNT/Makefile.kmk 66 endif 62 include $(PATH_SUB_CURRENT)/WINNT/Makefile.kmk 67 63 endif 68 64 ## @todo Convert linux and x11 to sub-makefiles too. 69 65 ifdef VBOX_WITH_LINUX_ADDITIONS 70 SUBDIRS += \ 71 linux \ 72 x11 73 LINUXINSTALLER = $(VBOX_PATH_ADDITIONS)/VBoxLinuxAdditions.run 74 endif 75 LINUXINSTALLER_CROSS = $(PATH_OUT_BASE)/linux.x86/$(BUILD_TYPE)/bin/additions/VBoxLinuxAdditions.run 76 ifdef VBOX_ADDITIONS_LINUX_CROSS 77 OTHER_CLEAN += $(LINUXINSTALLER_CROSS) 78 LINUXINSTALLER = $(LINUXINSTALLER_CROSS) 66 SUBDIRS += linux x11 67 else if1of ($(BUILD_TARGET), solaris) 68 SUBDIRS += x11 79 69 endif 80 70 … … 82 72 ifndef VBOX_WITHOUT_ADDITIONS_ISO 83 73 ifndef VBOX_ADDITIONS_XYZ_ONLY 84 ifneq ($(VBOX_WITH_WIN32_ADDITIONS)$(VBOX_WITH_LINUX_ADDITIONS),) 85 PACKING += $(if $(VBOX_OSE),,$(PATH_BIN)/additions/VBoxGuestAdditions.iso) 86 endif 74 PACKING += $(PATH_BIN)/additions/VBoxGuestAdditions.iso 87 75 endif 88 endif89 90 # Solaris additions91 ifeq ($(BUILD_TARGET),solaris)92 SUBDIRS += x1193 76 endif 94 77 … … 129 112 driver/VBoxSF/VBoxMRXNP.dll=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxMRXNP.dll 130 113 endif 131 ## @todo remove GUESTADDITIONS_WIN32_DEPS when cleaning up later.132 GUESTADDITIONS_WIN32_DEPS := $(filter-out %=deleteme=,,$(subst =,=deleteme= ,$(GUESTADDITIONS_FILESPEC.win.x86)))133 114 endif 134 115 … … 163 144 # 164 145 ifdef VBOX_WITH_ADDITIONS_ISO.linux.x86 165 ifneq ($(VBOX_ONLY_ADDITIONS)$(VBOX_ADDITIONS_LINUX_CROSS),) 166 VBOX_PATH_ADDITIONS.linux.x86 = $(PATH_OUT_BASE)/linux.x86/$(BUILD_TYPE)/bin/additions 167 else 168 VBOX_PATH_ADDITIONS.linux.x86 = $(VBOX_PATH_ADDITIONS) 169 endif 146 VBOX_PATH_ADDITIONS.linux.x86 = $(PATH_OUT_BASE)/linux.x86/$(BUILD_TYPE)/bin/additions 170 147 GUESTADDITIONS_FILESPEC.linux.x86 = \ 171 148 VBoxLinuxAdditions.run=$(VBOX_PATH_ADDITIONS.linux.x86)/VBoxLinuxAdditions.run … … 197 174 198 175 199 #200 # Remote building (to be obsoleted).201 #202 ifdef VBOX_REMOTE_WIN32_ADDITIONS_BUILD203 OTHER_CLEAN += $(PATH_TARGET)/ts-remote-build-win32-additions204 $(GUESTADDITIONS_WIN32_DEPS): $(PATH_TARGET)/ts-remote-build-win32-additions205 $(PATH_TARGET)/ts-remote-build-win32-additions:206 $(RM) -f $@207 $(VBOX_REMOTE_WIN32_ADDITIONS_BUILD)208 $(APPEND) $@209 210 endif # VBOX_REMOTE_BUILD_WIN32_ADDITIONS211 212 build-win32-additions:213 ifneq ($(BUILD_TARGET),linux) # Nothing is signed here and wine is faster building it.214 $(KMK) VBOX_ADDITIONS_WIN32_ONLY=1 -C ../Runtime215 endif216 $(KMK) VBOX_ADDITIONS_WIN32_ONLY=1 -C . all packing217 218 219 # build the Linux installer on a remote machine220 # TODO: Move the VBOX_REMOTE_LINUX32_ADDITIONS_BUILD stuff into LocalConfig.kmk on the x86 box.221 VBOX_REMOTE_LINUX32_ADDITIONS_BUILD ?= ssh vbox@$(VBOX_ADDITIONS_LINUX_CROSS_HOST) "./enter-rhel3-jail /mnt/tinderwin_vbox/w32-rel/tools/env.sh --no-wine kmk -C src/VBox/Additions build-linux32-additions BUILD_TYPE=release"222 $(LINUXINSTALLER_CROSS):223 $(VBOX_REMOTE_LINUX32_ADDITIONS_BUILD)224 225 test-build-linux32-additions: $(LINUXINSTALLER_CROSS)226 build-linux32-additions:227 $(KMK) VBOX_ADDITIONS_LINUX_ONLY=1 -C ../Runtime228 $(KMK) VBOX_ADDITIONS_LINUX_ONLY=1 -C common229 $(KMK) VBOX_ADDITIONS_LINUX_ONLY=1 -C linux all packing230
Note:
See TracChangeset
for help on using the changeset viewer.