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 -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html