[coreboot] [flashrom][PATCH] typo in Makefile

Ward Vandewege ward at gnu.org
Fri Apr 24 14:16:05 CEST 2009


On Fri, Apr 24, 2009 at 11:15:07AM +0200, stephan.guilloux at free.fr wrote:
> > > Found some typo in Makefile which was producing some "strange behaviours"
> > while
> > > compiling pciutils rule.
> > >
> > >
> > Can you enlighten us about the strangeness of that behavior? ;-)
> >
> > Stefan
> steph-laptop:~/Work/Flashrom/flashrom> make pciutils
> 
> Checking for pciutils and zlib... found.
> steph-laptop:~/Work/Flashrom/flashrom> make pciutils
> 
> Checking for pciutils and zlib... found.
> steph-laptop:~/Work/Flashrom/flashrom> cc1: erreur: .test.c : Aucun fichier ou
> dossier de ce type
> steph-laptop:~/Work/Flashrom/flashrom> make pciutils
> 
> Checking for pciutils and zlib... found.
> steph-laptop:~/Work/Flashrom/flashrom> gcc: .test.c : Aucun fichier ou dossier
> de ce type

Yes, I've seen that happen too, but never investigated.

> Regarding the fix, as discussed on #coreboot, ">&" is used to redirect both CC's
> stdin and stdout to /dev/null.
> 	@$(CC) $(CFLAGS) .test.c -o .test $(LDFLAGS) >& /dev/null &&

Yes, you're right.

> > > Signed-off-by: Stephan Guilloux <stephan.guilloux at free.fr>

Acked-by: Ward Vandewege <ward at gnu.org>

-- 
Ward Vandewege <ward at fsf.org>
Free Software Foundation - Senior Systems Administrator




More information about the coreboot mailing list