]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: enable use of AFLAGS and CFLAGS on commandline
authorSam Ravnborg <sam@neptun.(none)>
Mon, 15 Oct 2007 20:03:58 +0000 (22:03 +0200)
committerSam Ravnborg <sam@neptun.(none)>
Mon, 15 Oct 2007 20:03:58 +0000 (22:03 +0200)
commitdfbd92cc21625068ec327825244a7690f54cdbef
tree78f1f35060575c8b3f0659220728196fb80b4722
parent5aa7916bcf7e176cc5c144c0ecc58fbd7c5ccbd8
kbuild: enable use of AFLAGS and CFLAGS on commandline

The previous patches was preparation.
With this patch we can now say:
make CFLAGS=-Os vmlinux

And the option specified will be appended to the
options passed to gcc for C files.

For assembler use:
make AFLAGS=-foo vmlinux
for the same functionality.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile