VirtualBox

Changeset 23658 in vbox


Ignore:
Timestamp:
Oct 9, 2009 6:00:38 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53371
Message:

/Makefile: buildserver-efifw must be in INSTALLS. Make it more like the two other build server downloads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.kmk

    r23656 r23658  
    242242#
    243243# Install documentation files (at the moment the .chm) from the build server.
    244 # The $(CP)/$(RM) stuff can be replaced by a simple $(TOUCH) once that has
    245 # been added to kBuild.
    246244#
    247245ifdef VBOX_WITH_DOCS_FROM_BUILD_SERVER
     
    281279        $(CP) -f [email protected] $@
    282280        $(RM) -f [email protected]
     281## @todo kBuild: The $(CP)/$(RM) stuff can be replaced by a simple $(TOUCH) once that has been added to kBuild.
    283282
    284283 ifeq ($(KBUILD_HOST),win)
     
    289288
    290289
     290#
     291# Install EFI firmware image from the build server.
     292#
    291293ifdef VBOX_WITH_EFIFW_FROM_BUILD_SERVER
    292 include $(KBUILD_PATH)/tools/ZIP.kmk
    293 
    294 VBOX_FW_BASE=$(PATH_TARGET)/EfiFw
    295 
    296 BLDDIRS += $(VBOX_FW_BASE)
    297 
     294INSTALLS += buildserver-efifw
    298295buildserver-efifw_INST = $(INST_BIN)
    299296buildserver-efifw_MODE = 0644
    300297buildserver-efifw_SOURCES = \
    301       $(VBOX_FW_BASE)/FV/VBOX.fd=>vboxefi.fv
    302 buildserver-efifw_CLEANS = $(INST_BIN)/vboxefi.fv
    303 
    304 $$(VBOX_FW_BASE)/VBoxEfiFirmware.zip: $(VBOX_SVN_REV_KMK) $(PATH_DEVTOOLS)/bin/efi_firmware.sh | $$(dir $$@)
    305         $(RM) -f $(VBOX_FW_BASE)/VBoxEfiFirmware.zip.tmp
    306         $(SHELL) $(PATH_DEVTOOLS)/bin/efi_firmware.sh --cmd fetch --filename $(VBOX_FW_BASE)/VBoxEfiFirmware.zip.tmp
    307         $(MV) $(VBOX_FW_BASE)/VBoxEfiFirmware.zip.tmp $(VBOX_FW_BASE)/VBoxEfiFirmware.zip
    308 
    309 $$(VBOX_FW_BASE)/FV/VBOX.fd: $(VBOX_FW_BASE)/VBoxEfiFirmware.zip
    310         $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(VBOX_FW_BASE)
    311 
    312 endif
     298        $(buildserver-efifw_0_OUTDIR)/FV/VBOX.fd=>vboxefi.fv
     299buildserver-efifw_CLEANS = \
     300        $(buildserver-efifw_0_OUTDIR)/FV/VBOX.fd \
     301        $(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip \
     302        $(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip.tmp
     303## @todo rainy day: cleanup the output directory (zip contains lots more)
     304
     305## @todo Hack to get at TOOL_ZIP_UNPACK; see if this can be integrated somehow...
     306include $(KBUILD_PATH)/tools/ZIP.kmk
     307
     308$$(buildserver-efifw_0_OUTDIR)/FV/VBOX.fd: $$(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip
     309        $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(buildserver-efifw_0_OUTDIR)
     310
     311$$(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip: $(VBOX_SVN_REV_KMK) $(PATH_DEVTOOLS)/bin/efi_firmware.sh | $$(dir $$@)
     312        $(RM) -f [email protected] [email protected]
     313 ifneq ($(KBUILD_HOST),win)
     314        $(SHELL) $(PATH_DEVTOOLS)/bin/efi_firmware.sh --cmd fetch --filename [email protected]
     315 else
     316        $(KMK) --affinity 1 -f $(MAKEFILE) VBOX_SINGLE_MAKEFILE= buildserver-efifw-affinity-hack
     317 endif
     318        $(CP) -f [email protected] $@
     319        $(RM) -f [email protected]
     320## @todo kBuild: The $(CP)/$(RM) stuff can be replaced by a simple $(TOUCH) once that has been added to kBuild.
     321
     322 ifeq ($(KBUILD_HOST),win)
     323buildserver-efifw-affinity-hack:
     324        $(SHELL) $(PATH_DEVTOOLS)/bin/efi_firmware.sh --cmd fetch --filename $(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip
     325 endif
     326endif # VBOX_WITH_EFIFW_FROM_BUILD_SERVER
     327
    313328
    314329#
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