VirtualBox

Changeset 61846 in vbox


Ignore:
Timestamp:
Jun 23, 2016 12:01:28 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108256
Message:

/Makefile.kmk: Fixed warning about undefined variable 'buildserver-additions_0_OUTDIR'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.kmk

    r61048 r61846  
    294294endif # VBOX_WITH_QTGUI_V5
    295295
    296 #
    297 # For building the combined package, just get the additions .ISO
    298 # once for amd64 to prevent version inconsistences. In all other
    299 # cases we get the .ISO per target architecture.
    300 #
    301 ifdef VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER
    302  ifdef VBOX_WITH_COMBINED_PACKAGE
    303   ifeq ($(KBUILD_TARGET_ARCH),amd64)
    304    INSTALLS += buildserver-additions
    305   endif
    306  else
    307   INSTALLS += buildserver-additions
    308  endif
    309 
    310 #
    311 # Install additions iso from the build server.
    312 # The $(CP)/$(RM) stuff can be replaced by a simple $(TOUCH) once that has
    313 # been added to kBuild.
    314 #
    315 buildserver-additions_INST = $(INST_ADDITIONS_ISO)
    316 buildserver-additions_MODE = 0644
    317 buildserver-additions_SOURCES = $(PATH_TARGET)/VBoxGuestAdditions.iso
    318 buildserver-additions_CLEANS = \
    319         $(buildserver-additions_0_OUTDIR)/unpacked.ts \
    320         $(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip \
    321         $(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip.tmp \
    322         $(PATH_TARGET)/VBoxGuestAdditions.iso
    323 
    324 $$(buildserver-additions_0_OUTDIR)/unpacked.ts +| $(PATH_TARGET)/VBoxGuestAdditions.iso: \
    325                 $$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip
     296
     297#
     298# Install additions iso from the build server if configured to do so.
     299#
     300# Note! For building the combined package, just get the additions .ISO
     301#       once for amd64 to prevent version inconsistences. In all other
     302#       cases we get the .ISO per target architecture.
     303#
     304if  defined(VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER) \
     305 && (   !defined(VBOX_WITH_COMBINED_PACKAGE) \
     306     || "$(KBUILD_TARGET_ARCH)" == "amd64" )
     307 INSTALLS += buildserver-additions
     308 buildserver-additions_INST = $(INST_ADDITIONS_ISO)
     309 buildserver-additions_MODE = 0644
     310 buildserver-additions_SOURCES = $(PATH_TARGET)/VBoxGuestAdditions.iso
     311 buildserver-additions_CLEANS = \
     312        $(buildserver-additions_0_OUTDIR)/unpacked.ts \
     313        $(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip \
     314        $(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip.tmp \
     315        $(PATH_TARGET)/VBoxGuestAdditions.iso
     316
     317 $$(buildserver-additions_0_OUTDIR)/unpacked.ts +| $(PATH_TARGET)/VBoxGuestAdditions.iso: \
     318                $$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip
    326319        $(call MSG_L1,Unpacking additions archive)
    327320        $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(PATH_TARGET)
    328321        $(APPEND) -t $@ "done"
    329322
    330 $$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip: $(VBOX_SVN_REV_KMK) $(PATH_DEVTOOLS)/bin/additions.sh | $$(dir $$@)
     323 $$(buildserver-additions_0_OUTDIR)/VBoxGuestAdditions.zip: $(VBOX_SVN_REV_KMK) $(PATH_DEVTOOLS)/bin/additions.sh | $$(dir $$@)
    331324        $(RM) -f -- "$@" "[email protected]"
    332325        $(SHELL) $(PATH_DEVTOOLS)/bin/additions.sh --cmd fetch --filename "[email protected]"
    333326        $(MV) -f -- "[email protected]" "$@"
    334327
    335 endif # VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER
     328endif # VBOX_WITH_ADDITIONS_FROM_BUILD_SERVER unless win.x86+combined
    336329
    337330
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette