VirtualBox

Changeset 100511 in vbox for trunk/Makefile.kmk


Ignore:
Timestamp:
Jul 11, 2023 11:56:30 AM (17 months ago)
Author:
vboxsync
Message:

makefile.kmk,tools/bin/efi_firmware.sh: Adapt to enable fetching the armv8 EFI firmware from the buildserver if enabled, bugref:10400

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.kmk

    r100485 r100511  
    492492        $(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip \
    493493        $(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip.tmp \
    494         $(foreach arch, amd64 x86, $(foreach mod,$(VBOX_EFI_MODULES_FLAT),$$(buildserver-efifw_0_OUTDIR)/$(arch)/$(mod).pdb))
     494        $(foreach arch, amd64 x86, $(foreach mod,$(VBOX_EFI_MODULES_FLAT_X86),$$(buildserver-efifw_0_OUTDIR)/$(arch)/$(mod).pdb))
    495495
    496496   INSTALLS += buildserver-efifw-dbg-amd64
     
    498498   buildserver-efifw-dbg-amd64_MODE = 0644
    499499   buildserver-efifw-dbg-amd64_SOURCES = \
    500         $(foreach mod,$(VBOX_EFI_MODULES_FLAT),$(buildserver-efifw_0_OUTDIR)/amd64/$(mod).pdb)
     500        $(foreach mod,$(VBOX_EFI_MODULES_FLAT_X86),$(buildserver-efifw_0_OUTDIR)/amd64/$(mod).pdb)
    501501
    502502   INSTALLS += buildserver-efifw-dbg-x86
     
    504504   buildserver-efifw-dbg-x86_MODE = 0644
    505505   buildserver-efifw-dbg-x86_SOURCES = \
    506         $(foreach mod,$(VBOX_EFI_MODULES_FLAT),$(buildserver-efifw_0_OUTDIR)/x86/$(mod).pdb)
     506        $(foreach mod,$(VBOX_EFI_MODULES_FLAT_X86),$(buildserver-efifw_0_OUTDIR)/x86/$(mod).pdb)
    507507
    508508   $$(buildserver-efifw_0_OUTDIR)/unpacked.ts \
    509509   +| $$(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \
    510510   $$(buildserver-efifw_0_OUTDIR)/VBoxEFI64.fd \
    511    $(foreach arch, amd64 x86, $(foreach mod,$(VBOX_EFI_MODULES_FLAT),$$(buildserver-efifw_0_OUTDIR)/$(arch)/$(mod).pdb)): \
     511   $(foreach arch, amd64 x86, $(foreach mod,$(VBOX_EFI_MODULES_FLAT_X86),$$(buildserver-efifw_0_OUTDIR)/$(arch)/$(mod).pdb)): \
    512512                $$(buildserver-efifw_0_OUTDIR)/VBoxEfiFirmware.zip
    513513        $(call MSG_L1,Unpacking EFI firmware)
     
    515515        $(foreach arch, amd64 x86, \
    516516                $(NLTAB) $(QUIET)$(TEST) '!' -d $(dir $@)/$(arch) -- $(MKDIR_EXT) -- $(dir $@)/$(arch) \
    517                 $(foreach mod,$(VBOX_EFI_MODULES_FLAT) \
     517                $(foreach mod,$(VBOX_EFI_MODULES_FLAT_X86) \
    518518                ,$(NLTAB) $(QUIET)$(TEST) '!' -f $(dir $@)/$(arch)/$(mod).pdb -- $(APPEND_EXT) $(dir $@)/$(arch)/$(mod).pdb ))
    519519        $(TOUCH) -c -- $(buildserver-efifw_0_OUTDIR)/VBoxEFI32.fd \
     
    526526        $(SHELL) $(KBUILD_DEVTOOLS)/bin/efi_firmware.sh --cmd fetch --filename "[email protected]" $(if $(VBOX_USE_PROXY_FOR_BUILD_SERVER),--default-proxy,)
    527527        $(MV) -f -- "[email protected]" "$@"
     528
     529   ifdef VBOX_WITH_VIRT_ARMV8
     530    #
     531    # The ARMv8 EFI images
     532    #
     533    INSTALLS += buildserver-efifw-armv8
     534    buildserver-efifw-armv8_INST = $(INST_BIN)
     535    buildserver-efifw-armv8_MODE = 0644
     536    buildserver-efifw-armv8_SOURCES = \
     537        $(buildserver-efifw-armv8_0_OUTDIR)/VBoxEFIAArch32.fd \
     538        $(buildserver-efifw-armv8_0_OUTDIR)/VBoxEFIAArch64.fd
     539    buildserver-efifw-armv8_CLEANS = \
     540        $(buildserver-efifw-armv8_0_OUTDIR)/unpacked.ts \
     541        $(buildserver-efifw-armv8_0_OUTDIR)/VBoxEFIAArch32.fd \
     542        $(buildserver-efifw-armv8_0_OUTDIR)/VBoxEFIAArch64.fd \
     543        $(buildserver-efifw-armv8_0_OUTDIR)/VBoxEfiFirmware-armv8.zip \
     544        $(buildserver-efifw-armv8_0_OUTDIR)/VBoxEfiFirmware-armv8.zip.tmp \
     545        $(foreach arch, aarch64 aarch32, $(foreach mod,$(VBOX_EFI_MODULES_FLAT_ARM),$$(buildserver-efifw-armv8_0_OUTDIR)/$(arch)/$(mod).pdb))
     546
     547    INSTALLS += buildserver-efifw-dbg-aarch64
     548    buildserver-efifw-dbg-aarch64_INST = $(INST_VBOXDBG_SYMS)aarch64/
     549    buildserver-efifw-dbg-aarch64_MODE = 0644
     550    buildserver-efifw-dbg-aarch64_SOURCES = \
     551        $(foreach mod,$(VBOX_EFI_MODULES_FLAT_ARM),$(buildserver-efifw-armv8_0_OUTDIR)/aarch64/$(mod).pdb)
     552
     553    INSTALLS += buildserver-efifw-dbg-aarch32
     554    buildserver-efifw-dbg-aarch32_INST = $(INST_VBOXDBG_SYMS)aarch32/
     555    buildserver-efifw-dbg-aarch32_MODE = 0644
     556    buildserver-efifw-dbg-aarch32_SOURCES = \
     557        $(foreach mod,$(VBOX_EFI_MODULES_FLAT_ARM),$(buildserver-efifw-armv8_0_OUTDIR)/aarch32/$(mod).pdb)
     558
     559   $$(buildserver-efifw-armv8_0_OUTDIR)/unpacked.ts \
     560   +| $$(buildserver-efifw-armv8_0_OUTDIR)/VBoxEFIAArch32.fd \
     561   $$(buildserver-efifw-armv8_0_OUTDIR)/VBoxEFIAArch64.fd \
     562   $(foreach arch, aarch64 aarch32, $(foreach mod,$(VBOX_EFI_MODULES_FLAT_ARM),$$(buildserver-efifw-armv8_0_OUTDIR)/$(arch)/$(mod).pdb)): \
     563                $$(buildserver-efifw-armv8_0_OUTDIR)/VBoxEfiFirmware-armv8.zip
     564        $(call MSG_L1,Unpacking EFI ARMv8 firmware)
     565        $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(buildserver-efifw-armv8_0_OUTDIR)
     566        $(foreach arch, aarch64 aarch32, \
     567                $(NLTAB) $(QUIET)$(TEST) '!' -d $(dir $@)/$(arch) -- $(MKDIR_EXT) -- $(dir $@)/$(arch) \
     568                $(foreach mod,$(VBOX_EFI_MODULES_FLAT_ARM) \
     569                ,$(NLTAB) $(QUIET)$(TEST) '!' -f $(dir $@)/$(arch)/$(mod).pdb -- $(APPEND_EXT) $(dir $@)/$(arch)/$(mod).pdb ))
     570        $(TOUCH) -c -- $(buildserver-efifw-armv8_0_OUTDIR)/VBoxEFIAArch32.fd \
     571                $(buildserver-efifw-armv8_0_OUTDIR)/VBoxEFIAArch64.fd
     572        $(APPEND) -t $@ "done"
     573
     574   $$(buildserver-efifw-armv8_0_OUTDIR)/VBoxEfiFirmware-armv8.zip: \
     575                $(VBOX_SVN_REV_KMK) $(KBUILD_DEVTOOLS)/bin/efi_firmware.sh | $$(dir $$@)
     576        $(RM) -f -- "$@" "[email protected]"
     577        $(SHELL) $(KBUILD_DEVTOOLS)/bin/efi_firmware.sh --cmd fetch-armv8 --filename "[email protected]" $(if $(VBOX_USE_PROXY_FOR_BUILD_SERVER),--default-proxy,)
     578        $(MV) -f -- "[email protected]" "$@"
     579   endif
    528580
    529581  else # !VBOX_WITH_EFIFW_FROM_BUILD_SERVER
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