VirtualBox

Changeset 99715 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
May 10, 2023 12:43:47 AM (21 months ago)
Author:
vboxsync
Message:

*.kmk: Changed the VBOX_ONLY_SDK_ON_WINDOWS for VBOX_ONLY_SDK_ON_HOST and VBOX_ONLY_SDK_IN_VM and added proper sdk-fetch, sdk-build and sdk-package targets to the root makefile. Adjusted packing in the installer makefile as well (a bit crude, just zipping up the linux then the windows sdk directories into a single zip file). bugref:10442

File:
1 edited

Legend:

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

    r99701 r99715  
    5959include $(PATH_SUB_CURRENT)/common/Makefile.kmk
    6060
    61 if defined(VBOX_ONLY_SDK) ## @todo || defined(VBOX_WITH_SDK)
     61if defined(VBOX_ONLY_SDK) || defined(VBOX_WITH_SDK)
    6262 #
    6363 # Package the VirtualBox SDK.
     
    7373                $(VBOX_VERSION_STAMP)
    7474        $(call MSG_L1,Making SDK delivery $@)
     75 ifdef VBOX_ONLY_SDK_ON_HOST
     76        $(QUIET)$(RM) -f -- "$@"
     77  if defined(VBOX_WITH_SDK_PACKING.linux.amd64) && "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" != "linux.amd64"
     78        $(REDIRECT) -C "$(PATH_OUT_BASE)/linux.amd64/$(KBUILD_TYPE)/bin/" -- $(VBOX_ZIP) -r9Xv "$@" sdk
     79  endif
     80  if defined(VBOX_WITH_SDK_PACKING.win.amd64) && "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" != "win.amd64"
     81        $(REDIRECT) -C "$(PATH_OUT_BASE)/win.amd64/$(KBUILD_TYPE)/bin/"   -- $(VBOX_ZIP) -r9Xv "$@" sdk
     82  endif
     83        $(REDIRECT) -C "$(PATH_STAGE_BIN)/"                               -- $(VBOX_ZIP) -r9Xv "$@" sdk
     84        $(call MSG_L1, Ready: $@)
     85 else  # !VBOX_ONLY_SDK_ON_HOST
    7586        $(QUIET)$(REDIRECT) $(if $(QUIET),-wo /dev/null,) -C $(PATH_STAGE_BIN) -- $(VBOX_ZIP) -r9 "$@" sdk
     87 endif # !VBOX_ONLY_SDK_ON_HOST
    7688endif
    7789
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