diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-07-16 11:12:22 +0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-07-16 19:15:26 +0400 |
commit | 663935593915ad8dc43d10f58ef5eeefc77ef8c4 (patch) | |
tree | 8e3589b7e4d44226347939a15bf150652aed2cca /lib/bch.c | |
parent | 62e2210798ed38928ab24841e8b4878a2c170af8 (diff) | |
download | linux-663935593915ad8dc43d10f58ef5eeefc77ef8c4.tar.xz |
kbuild: clean up scripts/Makefile.host
The directory creation can be more simplified by two levels.
[1] Drop $(dir ...)
$(dir $(f)) always returns non-empty string.
So, $(if $(dir $(f)),$(dir $(f)) is equivalent to $(dir $(f)).
[2] Unroll $(foreach ...) loop
$(dir ...) can take one or more arguments and returns a list of
directories of them.
$(foreach f, $(progs), $(dir $(f))) can be unrolled as $(dir $(progs)).
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions