]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Remove useless warning while appending KCFLAGS
authorOzan Çağlayan <ozancag@gmail.com>
Tue, 14 Aug 2012 16:00:54 +0000 (19:00 +0300)
committerMichal Marek <mmarek@suse.cz>
Fri, 31 Aug 2012 14:03:16 +0000 (16:03 +0200)
commit460a1d50d3949de1ea9e42942d8cd08421828258
tree5e9979b4810281f0720f64ab5155180de5aca6fd
parentdde762d5e7a1fb234d670e75ab8ffe3b4780e644
kbuild: Remove useless warning while appending KCFLAGS

This is a respin of an older patch sent by Sam Ravnborg:
  http://www.gossamer-threads.com/lists/linux/kernel/1530602

This patch removes the annoying warning:

Makefile:708: "WARNING: Appending $KCFLAGS (-Wno-sign-compare) from command
line to kernel $CFLAGS"

which is printed every time I use KCFLAFS. The commit which introduced the
warning:

ec1eaa8 kbuild: do not pick up CFLAGS from the environment

tells about the problems when people have CFLAGS in their environment,
then switches to KCFLAFS which should be enough to solve the issue, but
it anyway introduces a warning. Drop this warning.

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile