diff options
Diffstat (limited to 'src/VBox/Devices/EFI/Firmware/EfiModules.kmk')
-rw-r--r-- | src/VBox/Devices/EFI/Firmware/EfiModules.kmk | 158 |
1 files changed, 158 insertions, 0 deletions
diff --git a/src/VBox/Devices/EFI/Firmware/EfiModules.kmk b/src/VBox/Devices/EFI/Firmware/EfiModules.kmk new file mode 100644 index 00000000..4f7d45f3 --- /dev/null +++ b/src/VBox/Devices/EFI/Firmware/EfiModules.kmk @@ -0,0 +1,158 @@ +# $Id: EfiModules.kmk $ +## @file +# kBuild EFI module list shared with the root makefile. +# + +# +# Copyright (C) 2013-2022 Oracle and/or its affiliates. +# +# This file is part of VirtualBox base platform packages, as +# available from https://www.virtualbox.org. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation, in version 3 of the +# License. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see <https://www.gnu.org/licenses>. +# +# The contents of this file may alternatively be used under the terms +# of the Common Development and Distribution License Version 1.0 +# (CDDL), a copy of it is provided in the "COPYING.CDDL" file included +# in the VirtualBox distribution, in which case the provisions of the +# CDDL are applicable instead of those of the GPL. +# +# You may elect to license modified versions of this file under the +# terms and conditions of either the GPL or the CDDL or both. +# +# SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0 +# + +ifndef VBOX_EFI_FIRMWARE_EFI_MODULES_KMK_INCLUDED +VBOX_EFI_FIRMWARE_EFI_MODULES_KMK_INCLUDED = 1 + +# +# The name of the subdirectory which the .pdb, .efi and other output files ends +# up in, apparently. In the generated makefiles, DEBUG_DIR points to them. +# +if1of ($(VBOX_EFI_TOOL_CHAIN), VS2017) ## @todo figure why/how this happens. +VBOX_EFI_DEBUG_DIR = OUTPUT +else +VBOX_EFI_DEBUG_DIR = DEBUG +endif + +# +# List of modules that ends up producing .efi, .debug and .pdb files. +# +VBOX_EFI_MODULES = \ + FatPkg/EnhancedFatDxe/Fat/$(VBOX_EFI_DEBUG_DIR)/Fat \ + MdeModulePkg/Application/UiApp/UiApp/$(VBOX_EFI_DEBUG_DIR)/UiApp \ + MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru/$(VBOX_EFI_DEBUG_DIR)/AtaAtapiPassThruDxe \ + MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe/$(VBOX_EFI_DEBUG_DIR)/AtaBusDxe \ + MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe/$(VBOX_EFI_DEBUG_DIR)/Ps2KeyboardDxe \ + MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe/$(VBOX_EFI_DEBUG_DIR)/EhciDxe \ + MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressDxe/$(VBOX_EFI_DEBUG_DIR)/NvmExpressDxe \ + MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe/$(VBOX_EFI_DEBUG_DIR)/PciBusDxe \ + MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe/$(VBOX_EFI_DEBUG_DIR)/PciHostBridgeDxe \ + MdeModulePkg/Bus/Pci/PciSioSerialDxe/PciSioSerialDxe/$(VBOX_EFI_DEBUG_DIR)/PciSioSerialDxe \ + MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe/$(VBOX_EFI_DEBUG_DIR)/UhciDxe \ + MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe/$(VBOX_EFI_DEBUG_DIR)/XhciDxe \ + MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe/$(VBOX_EFI_DEBUG_DIR)/ScsiBus \ + MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe/$(VBOX_EFI_DEBUG_DIR)/ScsiDisk \ + MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe/$(VBOX_EFI_DEBUG_DIR)/UsbBusDxe \ + MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe/$(VBOX_EFI_DEBUG_DIR)/UsbKbDxe \ + MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe/$(VBOX_EFI_DEBUG_DIR)/UsbMassStorageDxe \ + MdeModulePkg/Core/Dxe/DxeMain/$(VBOX_EFI_DEBUG_DIR)/DxeCore \ + MdeModulePkg/Core/DxeIplPeim/DxeIpl/$(VBOX_EFI_DEBUG_DIR)/DxeIpl \ + MdeModulePkg/Core/Pei/PeiMain/$(VBOX_EFI_DEBUG_DIR)/PeiCore \ + MdeModulePkg/Core/RuntimeDxe/RuntimeDxe/$(VBOX_EFI_DEBUG_DIR)/RuntimeDxe \ + MdeModulePkg/Universal/Acpi/AcpiPlatformDxe/AcpiPlatformDxe/$(VBOX_EFI_DEBUG_DIR)/AcpiPlatform \ + MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe/$(VBOX_EFI_DEBUG_DIR)/AcpiTableDxe \ + MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe/$(VBOX_EFI_DEBUG_DIR)/BootGraphicsResourceTableDxe \ + MdeModulePkg/Universal/BdsDxe/BdsDxe/$(VBOX_EFI_DEBUG_DIR)/BdsDxe \ + MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe/$(VBOX_EFI_DEBUG_DIR)/CapsuleRuntimeDxe \ + MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe/$(VBOX_EFI_DEBUG_DIR)/ConPlatformDxe \ + MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe/$(VBOX_EFI_DEBUG_DIR)/ConSplitterDxe \ + MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe/$(VBOX_EFI_DEBUG_DIR)/GraphicsConsoleDxe \ + MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe/$(VBOX_EFI_DEBUG_DIR)/TerminalDxe \ + MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe/$(VBOX_EFI_DEBUG_DIR)/DevicePathDxe \ + MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe/$(VBOX_EFI_DEBUG_DIR)/DisplayEngine \ + MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe/$(VBOX_EFI_DEBUG_DIR)/DiskIoDxe \ + MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe/$(VBOX_EFI_DEBUG_DIR)/PartitionDxe \ + MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe/$(VBOX_EFI_DEBUG_DIR)/RamDiskDxe \ + MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe/$(VBOX_EFI_DEBUG_DIR)/UdfDxe \ + MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe/$(VBOX_EFI_DEBUG_DIR)/EnglishDxe \ + MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe/$(VBOX_EFI_DEBUG_DIR)/DriverHealthManagerDxe \ + MdeModulePkg/Universal/EbcDxe/EbcDxe/$(VBOX_EFI_DEBUG_DIR)/EbcDxe \ + MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe/$(VBOX_EFI_DEBUG_DIR)/FaultTolerantWriteDxe \ + MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe/$(VBOX_EFI_DEBUG_DIR)/HiiDatabase \ + MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe/$(VBOX_EFI_DEBUG_DIR)/NullMemoryTestDxe \ + MdeModulePkg/Universal/Metronome/Metronome/$(VBOX_EFI_DEBUG_DIR)/Metronome \ + MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe/$(VBOX_EFI_DEBUG_DIR)/MonotonicCounterRuntimeDxe \ + MdeModulePkg/Universal/PCD/Dxe/Pcd/$(VBOX_EFI_DEBUG_DIR)/PcdDxe \ + MdeModulePkg/Universal/PCD/Pei/Pcd/$(VBOX_EFI_DEBUG_DIR)/PcdPeim \ + MdeModulePkg/Universal/PrintDxe/PrintDxe/$(VBOX_EFI_DEBUG_DIR)/PrintDxe \ + MdeModulePkg/Universal/ReportStatusCodeRouter/Pei/ReportStatusCodeRouterPei/$(VBOX_EFI_DEBUG_DIR)/ReportStatusCodeRouterPei \ + MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/ReportStatusCodeRouterRuntimeDxe/$(VBOX_EFI_DEBUG_DIR)/ReportStatusCodeRouterRuntimeDxe \ + MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystemRuntimeDxe/$(VBOX_EFI_DEBUG_DIR)/ResetSystemRuntimeDxe \ + MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe/$(VBOX_EFI_DEBUG_DIR)/SecurityStubDxe \ + MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe/$(VBOX_EFI_DEBUG_DIR)/SetupBrowser \ + MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe/$(VBOX_EFI_DEBUG_DIR)/SmbiosDxe \ + MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei/$(VBOX_EFI_DEBUG_DIR)/StatusCodeHandlerPei \ + MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe/$(VBOX_EFI_DEBUG_DIR)/StatusCodeHandlerRuntimeDxe \ + MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe/$(VBOX_EFI_DEBUG_DIR)/VariableRuntimeDxe \ + MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer/$(VBOX_EFI_DEBUG_DIR)/WatchdogTimer \ + NetworkPkg/ArpDxe/ArpDxe/$(VBOX_EFI_DEBUG_DIR)/ArpDxe \ + NetworkPkg/Dhcp4Dxe/Dhcp4Dxe/$(VBOX_EFI_DEBUG_DIR)/Dhcp4Dxe \ + NetworkPkg/DpcDxe/DpcDxe/$(VBOX_EFI_DEBUG_DIR)/DpcDxe \ + NetworkPkg/Ip4Dxe/Ip4Dxe/$(VBOX_EFI_DEBUG_DIR)/Ip4Dxe \ + NetworkPkg/MnpDxe/MnpDxe/$(VBOX_EFI_DEBUG_DIR)/MnpDxe \ + NetworkPkg/Mtftp4Dxe/Mtftp4Dxe/$(VBOX_EFI_DEBUG_DIR)/Mtftp4Dxe \ + NetworkPkg/SnpDxe/SnpDxe/$(VBOX_EFI_DEBUG_DIR)/SnpDxe \ + NetworkPkg/TcpDxe/TcpDxe/$(VBOX_EFI_DEBUG_DIR)/TcpDxe \ + NetworkPkg/Udp4Dxe/Udp4Dxe/$(VBOX_EFI_DEBUG_DIR)/Udp4Dxe \ + NetworkPkg/UefiPxeBcDxe/UefiPxeBcDxe/$(VBOX_EFI_DEBUG_DIR)/UefiPxeBcDxe \ + NetworkPkg/VlanConfigDxe/VlanConfigDxe/$(VBOX_EFI_DEBUG_DIR)/VlanConfigDxe \ + OvmfPkg/8254TimerDxe/8254Timer/$(VBOX_EFI_DEBUG_DIR)/Timer \ + OvmfPkg/8259InterruptControllerDxe/8259/$(VBOX_EFI_DEBUG_DIR)/Legacy8259 \ + OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb/$(VBOX_EFI_DEBUG_DIR)/EmuVariableFvbRuntimeDxe \ + OvmfPkg/IncompatiblePciDeviceSupportDxe/IncompatiblePciDeviceSupport/$(VBOX_EFI_DEBUG_DIR)/IncompatiblePciDeviceSupportDxe \ + OvmfPkg/IoMmuDxe/IoMmuDxe/$(VBOX_EFI_DEBUG_DIR)/IoMmuDxe \ + OvmfPkg/PciHotPlugInitDxe/PciHotPlugInit/$(VBOX_EFI_DEBUG_DIR)/PciHotPlugInitDxe \ + OvmfPkg/PlatformDxe/Platform/$(VBOX_EFI_DEBUG_DIR)/PlatformDxe \ + OvmfPkg/PlatformPei/PlatformPei/$(VBOX_EFI_DEBUG_DIR)/PlatformPei \ + OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe/$(VBOX_EFI_DEBUG_DIR)/FvbServicesRuntimeDxe \ + OvmfPkg/SataControllerDxe/SataControllerDxe/$(VBOX_EFI_DEBUG_DIR)/SataController \ + OvmfPkg/Sec/SecMain/$(VBOX_EFI_DEBUG_DIR)/SecMain \ + OvmfPkg/SioBusDxe/SioBusDxe/$(VBOX_EFI_DEBUG_DIR)/SioBusDxe \ + OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe/$(VBOX_EFI_DEBUG_DIR)/SmbiosPlatformDxe \ + OvmfPkg/Virtio10Dxe/Virtio10/$(VBOX_EFI_DEBUG_DIR)/Virtio10 \ + OvmfPkg/VirtioNetDxe/VirtioNet/$(VBOX_EFI_DEBUG_DIR)/VirtioNetDxe \ + OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe/$(VBOX_EFI_DEBUG_DIR)/VirtioPciDeviceDxe \ + OvmfPkg/VirtioScsiDxe/VirtioScsi/$(VBOX_EFI_DEBUG_DIR)/VirtioScsiDxe \ + PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe/$(VBOX_EFI_DEBUG_DIR)/PcRtc \ + ShellPkg/Application/Shell/Shell/$(VBOX_EFI_DEBUG_DIR)/Shell \ + ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand/$(VBOX_EFI_DEBUG_DIR)/tftpDynamicCommand \ + UefiCpuPkg/CpuDxe/CpuDxe/$(VBOX_EFI_DEBUG_DIR)/CpuDxe \ + UefiCpuPkg/CpuIo2Dxe/CpuIo2Dxe/$(VBOX_EFI_DEBUG_DIR)/CpuIo2Dxe \ + UefiCpuPkg/CpuMpPei/CpuMpPei/$(VBOX_EFI_DEBUG_DIR)/CpuMpPei \ + UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume2Pei/$(VBOX_EFI_DEBUG_DIR)/S3Resume2Pei \ + VBoxPkg/Logo/LogoDxe/$(VBOX_EFI_DEBUG_DIR)/LogoDxe \ + VBoxPkg/VBoxAppleSim/VBoxAppleSim/$(VBOX_EFI_DEBUG_DIR)/VBoxAppleSim \ + VBoxPkg/VBoxFsDxe/VBoxHfs/$(VBOX_EFI_DEBUG_DIR)/VBoxHfs \ + VBoxPkg/VBoxSysTables/VBoxSysTables/$(VBOX_EFI_DEBUG_DIR)/VBoxSysTables \ + VBoxPkg/VBoxVgaDxe/VBoxVgaDxe/$(VBOX_EFI_DEBUG_DIR)/VBoxVgaDxe \ + VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaMiniPortDxe/$(VBOX_EFI_DEBUG_DIR)/VBoxVgaMiniPortDxe + +# Version of VBOX_EFI_MODULES without directories. (Using $(value ) to avoid +# expanding all the build target macros and then immediately discarding them.) +VBOX_EFI_MODULES_FLAT = $(notdir $(value VBOX_EFI_MODULES)) + +endif + |