Messages in this thread | | | Date | Tue, 26 Jun 2012 12:18:36 +0200 | From | Michal Marek <> | Subject | Re: [PATCH 5/8] kbuild: move definitions from top-level Makefile to scripts/Kbuild.config |
| |
On 5.5.2012 10:18, Sam Ravnborg wrote: > diff --git a/scripts/Kbuild.config b/scripts/Kbuild.config > new file mode 100644 > index 0000000..15d5b1e > --- /dev/null > +++ b/scripts/Kbuild.config > @@ -0,0 +1,68 @@ [...] > +ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE > +KBUILD_CFLAGS += -Os > +else > +KBUILD_CFLAGS += -O2 > +endif
This duplicates the statement in the top-level Makefile and does not work in this context, because auto.conf is not included yet.
Michal
| |