]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: Correctly deal with make options which contain an "s"
authorJason Wessel <jason.wessel@windriver.com>
Thu, 5 Jan 2012 22:46:30 +0000 (16:46 -0600)
committerMichal Marek <mmarek@suse.cz>
Sun, 8 Jan 2012 13:20:25 +0000 (14:20 +0100)
commit20f3cbcb9dafdc8848fb28fc7c2858495feeebb3
treef26c97b74b9bcf35c26925707e187250dfc3d5d0
parent65bca5f5f16657672751df54586e3b1da1594fdb
kbuild: Correctly deal with make options which contain an "s"

When using remake, which is based on gnumake, if you invoke
an example build as shown below, the build will become silent
due to the top level make file incorrectly guessing that
the end user wants a silent build because an argument that
contained an "s" was used.  Here are two examples one with remake
and one with straight gnumake.

remake --no-extended-errors
make --warn-undefined-variables

Fix up the top level Makefile to use filter to parse the options
that mean silent instead of findstring catching other random
arguments containing an "s".

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
CC: Michal Marek <mmarek@suse.cz>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: linux-kbuild@vger.kernel.org
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile