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>
Showing
- samples/bpf/Makefile 2 additions, 2 deletionssamples/bpf/Makefile
- samples/connector/Makefile 1 addition, 1 deletionsamples/connector/Makefile
- tools/build/Makefile 1 addition, 1 deletiontools/build/Makefile
- tools/gpio/Makefile 1 addition, 1 deletiontools/gpio/Makefile
- tools/lib/api/Makefile 1 addition, 1 deletiontools/lib/api/Makefile
- tools/lib/bpf/Makefile 1 addition, 1 deletiontools/lib/bpf/Makefile
- tools/lib/lockdep/Makefile 1 addition, 1 deletiontools/lib/lockdep/Makefile
- tools/lib/subcmd/Makefile 1 addition, 1 deletiontools/lib/subcmd/Makefile
- tools/lib/traceevent/Makefile 1 addition, 1 deletiontools/lib/traceevent/Makefile
- tools/objtool/Makefile 2 additions, 2 deletionstools/objtool/Makefile
- tools/perf/Makefile.perf 1 addition, 1 deletiontools/perf/Makefile.perf
- tools/perf/tests/make 1 addition, 1 deletiontools/perf/tests/make
- tools/power/cpupower/Makefile 0 additions, 3 deletionstools/power/cpupower/Makefile
- tools/power/cpupower/debug/kernel/Makefile 1 addition, 2 deletionstools/power/cpupower/debug/kernel/Makefile
Loading
Please register or sign in to comment