kbuild: fix make headers_check with make 3.80
authorSam Ravnborg <sam@ravnborg.org>
Mon, 4 Mar 2013 20:36:24 +0000 (21:36 +0100)
committerMichal Marek <mmarek@suse.cz>
Tue, 5 Mar 2013 14:02:57 +0000 (15:02 +0100)
commitc4619bc6fa5149a6ab39be845a39142b6a996ea5
tree9cdc09cfe3a554b3e91cd4e1f79fd13eadff8a1d
parent423a8155facf23719078ff63911c1e85ba40970b
kbuild: fix make headers_check with make 3.80

Commit 10b63956 ("UAPI: Plumb the UAPI Kbuilds into the user header
installation and checking") introduced a dependency of make 3.81
due to use of $(or ...)

We do not want to lift the requirement to gmake 3.81 just yet...
Included are a straightforward conversion to $(if ...)

Bisected-and-tested-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: <stable@vger.kernel.org> [v3.7+]
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/Makefile.headersinst