diff options
author | Cheng Renquan <crq@kernel.org> | 2009-05-26 04:03:07 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-06-09 16:37:45 -0400 |
commit | b8b0618cf6fab3bd5b1da8c72f4b29847d81ac42 (patch) | |
tree | ca98af18492ddc48eb298dfb94a603d30ba3e444 /drivers/parport/ieee1284_ops.c | |
parent | 3e56f08bffe9e3e2b936eb73bd51d8800d1b42c2 (diff) |
kbuild: remove extra ifdef/endif of top Makefile
The GNU make's origin function know undefined variable well,
so the outer ifdef/endif conditional checking is unneeded.
From `info make` documentation, origin will return
`undefined'
if VARIABLE was never defined.
`command line'
if VARIABLE was defined on the command line.
...
Therefore, $(origin V) will get a value anyway, killing ifdef/endif is
viable and safe.
Furthermore, I've checked the minimal requirements from
Documentation/Changes is GNU make 3.79.1, and that version of GNU make
has support of origin function well already, so now it's safe to kill
the outer conditional checking, without upgrading the minimal
requirements.
Signed-off-by: Cheng Renquan <crq@kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'drivers/parport/ieee1284_ops.c')
0 files changed, 0 insertions, 0 deletions