[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] configure: Add -DGRUB_HAS_PCI when compiling C/C++ files on
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] configure: Add -DGRUB_HAS_PCI when compiling C/C++ files on targets that support PCI |
Date: |
Thu, 29 Sep 2022 17:55:19 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
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 <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] configure: Add -DGRUB_HAS_PCI when compiling C/C++ files on targets that support PCI,
Daniel Kiper <=