Following patchset enable the possibility to specify 
CFLAGS, AFLAGS or CPPFLAGS on the commandline to add
additional options while building the kernel.

The patch prefix all uses of CFLAGS, AFLAGS and CPPFLAGS
with KBUILD_ which touches all arch Makefiles.

Regression testing was very simple. Since this patch did not
change behaviour adding the patch should not cause any recompile
and this was tested with defconfig on several architectures.
To be more specific on:
alpha arm i386 mips sparc sparc64 x86_64 ia64 m68k s390

powerpc I dave a toolchain but defconfig seems not to be present.
blackfin and um did not build.

A small cleanup patch for ia64 sneaked in too - to allow the
above mentioned regression test.

The patchset will conflict with a patch from Andi Kleen.
If the patch for x86_64 will be pushed for -rc - no troubles.
If the patch await next mergewindow I could take it in my tree
to avoid the conflict.

The patch in question is:

The purpose of this patch is to make it much simpler to try out
different gcc options.
The receipe is the following:

make CFLAGS=-fmuch-quicker-kernel mm/slub.o

The KBUILD_NOCMDDEP=1 tell kbuild not to check any commandline
arguments and can be used to change options AND compiler.
Without this kbuild would detech changes in commandline options
and rebuild mm/slub.o again.

Any objections to this change?


This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
kbuild-devel mailing list

Reply via email to