[OpenBIOS] [PATCH v2 4/4] bootstrap: don't include files from target/include as system includes.
Segher Boessenkool
segher at kernel.crashing.org
Sun Oct 25 17:16:43 CET 2015
On Sun, Oct 25, 2015 at 04:48:53PM +0100, Laurent Vivier wrote:
> Replace "-I" by "-iquote" to only take files from this directory
> when '#include "..."' is used ('#include <...>' works as usual)
Yes :-)
> HOSTCFLAGS+= -MMD -MP -MT $@ -MF '$(*D)/$(*F).d'
> -HOSTINCLUDES := -I$(SRCDIR)/include -I$(SRCDIR)/kernel -I$(SRCDIR)/kernel/include -I$(ODIR)/target/include
> +HOSTINCLUDES := -I$(SRCDIR)/include -I$(SRCDIR)/kernel -I$(SRCDIR)/kernel/include -iquote $(ODIR)/target/include
Shouldn't you give these other dirs the same treatment?
Line is long btw, split it (with +=)?
Segher
More information about the OpenBIOS
mailing list