grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] term/serial: Add support for PCI serial devices


From: Peter Zijlstra
Subject: Re: [PATCH] term/serial: Add support for PCI serial devices
Date: Thu, 25 Aug 2022 21:59:01 +0200

On Thu, Aug 25, 2022 at 02:23:34PM -0500, Glenn Washburn wrote:

> > diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
> > index 5212dfab1369..c0683da2353b 100644
> > --- a/grub-core/Makefile.core.def
> > +++ b/grub-core/Makefile.core.def
> > @@ -224,12 +224,14 @@ kernel = {
> >  
> >    i386_efi = kern/i386/efi/init.c;
> >    i386_efi = bus/pci.c;
> > +  i386_efi_cppflags = '-DGRUB_HAS_PCI';
> 
> I imagine this should be enabled for all i386 and x86_64 targets, not
> just the few that you have here. For instance, what about i386-pc,
> which is the 32-bit BIOS target?

So what I did was put that _cppflags thing right next to all the
'bus/pci.c' instances I found, with exception of the pci module.

Where do i386-pc and friends get it from? IOW, what obvious place did I
miss?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]