Messages in this thread | | | Date | Tue, 26 Jun 2012 12:33:31 +0200 | From | Michal Marek <> | Subject | Re: [PATCH 6/8] kbuild: move arch definitions from top-level Makefile to scripts/Kbuild.arch |
| |
On 5.5.2012 10:18, Sam Ravnborg wrote: > diff --git a/scripts/Kbuild.arch b/scripts/Kbuild.arch > new file mode 100644 > index 0000000..230050f > --- /dev/null > +++ b/scripts/Kbuild.arch > @@ -0,0 +1,106 @@ > +# > +# CC options etc. that requires arch/$(ARCH)/Makefile to be included > +# before they can be defined > + [...] > +# arch Makefile may override CC so keep this after arch Makefile is included
Just a nitpick, this comment is superfluous now, as the whole file is included after the arch Makefile.
> +NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) > +CHECKFLAGS += $(NOSTDINC_FLAGS)
Michal
| |