On Thu, Aug 25, 2022 at 10:52:26PM -0500, Glenn Washburn wrote:
> The list of targets that support PCI is in gentpl.py. However, there is no
> support for generating makefile script from a .def file that will apply
> globally to the makefile, but on a per target basis. So instead, use
> gentpl.py in configure to get the list of targets and check if the current
> build target is one of them. If it is, set the automake conditional
> COND_HAVE_PCI. Then in conf/Makefile.common add -DGRUB_HAS_PCI for the
> platform if COND_HAVE_PCI is true.
>
> Signed-off-by: Glenn Washburn <developm...@efficientek.com>

Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to