]> git.karo-electronics.de Git - linux-beck.git/commit
make use of make variable CURDIR instead of calling pwd
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 22 Nov 2016 08:30:26 +0000 (09:30 +0100)
committerMichal Marek <mmarek@suse.com>
Sun, 11 Dec 2016 11:12:56 +0000 (12:12 +0100)
commite19b7cee020441dd690613d223aed7abb0bcda81
tree148ac04e7634c1e9234275fe82c2f9e22333c00a
parent76bee23411f8510fbf5fc5641bae2c203b726eb6
make use of make variable CURDIR instead of calling pwd

make already provides the current working directory in a variable, so make
use of it instead of forking a shell. Also replace usage of PWD by
CURDIR. PWD is provided by most shells, but not all, so this makes the
build system more robust.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Michal Marek <mmarek@suse.com>
14 files changed:
samples/bpf/Makefile
samples/connector/Makefile
tools/build/Makefile
tools/gpio/Makefile
tools/lib/api/Makefile
tools/lib/bpf/Makefile
tools/lib/lockdep/Makefile
tools/lib/subcmd/Makefile
tools/lib/traceevent/Makefile
tools/objtool/Makefile
tools/perf/Makefile.perf
tools/perf/tests/make
tools/power/cpupower/Makefile
tools/power/cpupower/debug/kernel/Makefile