diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-06-23 01:07:04 +0900 | 
|---|---|---|
| committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-01 10:03:15 +0900 | 
| commit | 93f31bbda43603da1e8af06667b45b410c6c897a (patch) | |
| tree | 23a3b78650d2a98f5fbb1d605c2de378f2fa6e98 /lib/debugobjects.c | |
| parent | 50bcca6ac417bfd18fa84d45eeaa4a30155fe3c8 (diff) | |
kbuild: save $(strip ...) for calling any-prepreq
The string returned by $(filter-out ...) does not contain any leading
or trailing spaces.
So, only the space that matters is the one between
  $(filter-out $(PHONY),$?)
and
  $(filter-out $(PHONY) $(wildcard $^),$^)
By removing it from the code, we can save $(strip ...) evaluation.
This refactoring is possible because $(any-prereq) is only passed to
the first argument of $(if ...), so we are only interested in whether
or not it is empty.
This is also the prerequisite for the next commit.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
