Replied as below
Thanks,
James
-Original Message-
From: Ni, Ray
Sent: Monday, July 4, 2022 11:34 AM
To: Lu, James ; devel@edk2.groups.io
Cc: Dong, Guo ; Guo, Gua
Subject: RE: [PATCH] UefiPayloadPkg: Add macro to support selective driver in
UPL
>
> +!if
>
> +!if $(GENERIC_MEMORY_TEST_ENABLE) == TRUE
>
> +
> MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/Generic
> MemoryTestDxe.inf
>
> +!endif
>
> +!if $(NULL_MEMORY_TEST_ENABLE) == TRUE
>
>
> MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryT
> estDxe.inf
>
> +!endif
From: James Lu
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3967
Add macros to decide modules built into UPL.elf.
Macro list:
- GENERIC_MEMORY_TEST_ENABLE: GenericMemoryTestDxe
- NULL_MEMORY_TEST_ENABLE: NullMemoryTestDxe
- ATA_ENABLE: SataControllerDxe, AtaBusDxe,