VirtualBox

Changeset 6699 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 31, 2008 10:58:26 PM (17 years ago)
Author:
vboxsync
Message:

Removed the obsolete remote cross building stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/Makefile.kmk

    r6241 r6699  
    4444 VBOX_ADDITIONS_XYZ_ONLY = 1
    4545 VBOX_WITH_LINUX_ADDITIONS = 1
    46  VBOX_REMOTE_LINUX_ADDITIONS_BUILD =
    4746 VBOX_WITH_WIN32_ADDITIONS =
    4847else ifdef VBOX_ADDITIONS_WIN32_ONLY
    4948 VBOX_ADDITIONS_XYZ_ONLY = 1
    5049 VBOX_WITH_WIN32_ADDITIONS = 1
    51  VBOX_REMOTE_WIN32_ADDITIONS_BUILD =
    5250 VBOX_WITH_LINUX_ADDITIONS =
    5351endif
     
    5553 VBOX_WITH_ADDITIONS_ISO.win.x86 = 1
    5654endif
    57 ifneq ($(VBOX_WITH_LINUX_ADDITIONS)$(VBOX_ADDITIONS_LINUX_CROSS),)
     55ifdef VBOX_WITH_LINUX_ADDITIONS
    5856 VBOX_WITH_ADDITIONS_ISO.linux.x86 = 1
    5957endif
     
    6260include $(PATH_SUB_CURRENT)/common/Makefile.kmk
    6361ifdef 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
    6763endif
    68 
     64## @todo Convert linux and x11 to sub-makefiles too.
    6965ifdef 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
     67else if1of ($(BUILD_TARGET), solaris)
     68 SUBDIRS += x11
    7969endif
    8070
     
    8272ifndef VBOX_WITHOUT_ADDITIONS_ISO
    8373 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
    8775 endif
    88 endif
    89 
    90 # Solaris additions
    91 ifeq ($(BUILD_TARGET),solaris)
    92  SUBDIRS += x11
    9376endif
    9477
     
    129112        driver/VBoxSF/VBoxMRXNP.dll=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxMRXNP.dll
    130113 endif
    131  ## @todo remove GUESTADDITIONS_WIN32_DEPS when cleaning up later.
    132  GUESTADDITIONS_WIN32_DEPS := $(filter-out %=deleteme=,,$(subst =,=deleteme= ,$(GUESTADDITIONS_FILESPEC.win.x86)))
    133114endif
    134115
     
    163144#
    164145ifdef 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
    170147 GUESTADDITIONS_FILESPEC.linux.x86 = \
    171148        VBoxLinuxAdditions.run=$(VBOX_PATH_ADDITIONS.linux.x86)/VBoxLinuxAdditions.run
     
    197174
    198175
    199 #
    200 # Remote building (to be obsoleted).
    201 #
    202 ifdef VBOX_REMOTE_WIN32_ADDITIONS_BUILD
    203 OTHER_CLEAN += $(PATH_TARGET)/ts-remote-build-win32-additions
    204 $(GUESTADDITIONS_WIN32_DEPS): $(PATH_TARGET)/ts-remote-build-win32-additions
    205 $(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_ADDITIONS
    211 
    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 ../Runtime
    215 endif
    216         $(KMK) VBOX_ADDITIONS_WIN32_ONLY=1 -C . all packing
    217 
    218 
    219 # build the Linux installer on a remote machine
    220 # 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 ../Runtime
    228         $(KMK) VBOX_ADDITIONS_LINUX_ONLY=1 -C common
    229         $(KMK) VBOX_ADDITIONS_LINUX_ONLY=1 -C linux all packing
    230 
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