VirtualBox

Changeset 48584 in vbox


Ignore:
Timestamp:
Sep 20, 2013 1:01:35 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89144
Message:

Try switch the EFI build to the imported source tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.kmk

    r47046 r48584  
    2626endif
    2727include $(PATH_SUB_CURRENT)/src/Makefile.kmk
     28
     29#
     30# Below we might need TOOL_ZIP_UNPACK (for the additions/docs/efifw packages
     31# from the build server), and it's not really worth the effort of dragging in
     32#q this tool only if absolutely needed.
     33#
     34## @todo Hack to get at TOOL_ZIP_UNPACK; see if this can be integrated somehow...
     35include $(KBUILD_PATH)/tools/ZIP.kmk
     36ifndef TOOL_ZIP_PACK
     37 TOOL_ZIP_PACK = zip
     38endif
    2839
    2940
     
    158169
    159170
    160 # Below we might need TOOL_ZIP_UNPACK (for the additions/docs/efifw packages
    161 # from the build server), and it's not really worth the effort of dragging in
    162 # this tool only if absolutely needed.
    163 ## @todo Hack to get at TOOL_ZIP_UNPACK; see if this can be integrated somehow...
    164 include $(KBUILD_PATH)/tools/ZIP.kmk
    165 
    166171#
    167172# For building the combined package, just get the additions .ISO
     
    272277   buildserver-efifw_MODE = 0644
    273278   buildserver-efifw_SOURCES = \
    274         $(buildserver-efifw_0_OUTDIR)/FV/VBOX.fd=>VBoxEFI32.fd \
    275            $(buildserver-efifw_0_OUTDIR)/FV/VBOX64.fd=>VBoxEFI64.fd
     279        $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \
     280        $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd
    276281   buildserver-efifw_CLEANS = \
    277282        $(buildserver-efifw_0_OUTDIR)/unpacked.ts \
     283        $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \
     284        $(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd \
    278285        $(buildserver-efifw_0_OUTDIR)/FV/VBOX.fd \
    279            $(buildserver-efifw_0_OUTDIR)/FV/VBOX64.fd \
     286        $(buildserver-efifw_0_OUTDIR)/FV/VBOX64.fd \
    280287        $(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip \
    281288        $(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip.tmp
    282    ## @todo rainy day: cleanup the output directory (zip contains lots more)
    283289
    284290   $$(buildserver-efifw_0_OUTDIR)/unpacked.ts \
    285    +| $$(buildserver-efifw_0_OUTDIR)/FV/VBOX.fd \
    286       $$(buildserver-efifw_0_OUTDIR)/FV/VBOX64.fd: \
     291   +| $$(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \
     292      $$(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd: \
    287293                $$(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip
    288294        $(call MSG_L1,Unpacking EFI firmware)
    289295        $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(buildserver-efifw_0_OUTDIR)
     296        $(TEST_EXT) -f "$(buildserver-efifw_0_OUTDIR)/FV/VBOX.fd"   -- $(MV_EXT) -f -- "$(buildserver-efifw_0_OUTDIR)/FV/VBOX.fd" "$(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd"
     297        $(TEST_EXT) -f "$(buildserver-efifw_0_OUTDIR)/FV/VBOX64.fd" -- $(MV_EXT) -f -- "$(buildserver-efifw_0_OUTDIR)/FV/VBOX.fd" "$(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd"
    290298        $(APPEND) -t $@ "done"
    291299
     
    14601468# Build the EFI firmware, all of it.
    14611469#
    1462 # Mainly hooks right now, maybe we need them later.
    1463 #
    14641470efi-fetch:
     1471        + $(KMK) -C tools fetch VBOX_ONLY_EXTPACKS=1
    14651472
    14661473efi-build: $(VBOX_VERSION_HEADER)
    1467         $(PATH_ROOT)/webtools/tinderbox/client/efi-build.sh
     1474        + $(KMK) -C src/VBox/Devices/EFI/Firmware
    14681475
    14691476efi-packing:
     1477        $(REDIRECT) -C "$(PATH_STAGE_BIN)" -- $(TOOL_ZIP_PACK) $(TOOL_ZIP_PACKFLAGS) -9X \
     1478                ../VBoxEfiFirmware.zip \
     1479                VBoxEFI32.fd \
     1480                VBoxEFI64.fd
     1481## @todo zip up debug info as well!
    14701482
    14711483#
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