summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada2019-06-22 18:07:05 +0200
committerMasahiro Yamada2019-07-01 03:03:40 +0200
commitc2341e2a4f58d8e27d89c5edfefdaa52547f792d (patch)
treed9663a355afa1589a97ab87c3b843442ee5edccc /Makefile
parentkbuild: save $(strip ...) for calling any-prepreq (diff)
downloadkernel-qcow2-linux-c2341e2a4f58d8e27d89c5edfefdaa52547f792d.tar.gz
kernel-qcow2-linux-c2341e2a4f58d8e27d89c5edfefdaa52547f792d.tar.xz
kernel-qcow2-linux-c2341e2a4f58d8e27d89c5edfefdaa52547f792d.zip
kbuild: save $(strip ...) for calling if_changed and friends
The string returned by $(filter-out ...) does not contain any leading or trailing spaces. With the previous commit, 'any-prereq' no longer contains any excessive spaces. Nor does 'cmd-check' since it expands to a $(filter-out ...) call. So, only the space that matters is the one between 'any-prereq' and 'cmd-check'. By removing it from the code, we can save $(strip ...) evaluation. This refactoring is possible because $(any-prereq)$(cmd-check) is only passed to the first argument of $(if ...), so we are only interested in whether or not it is empty. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions