summaryrefslogtreecommitdiffstats
path: root/init/calibrate.c
diff options
context:
space:
mode:
authorShuah Khan <skhan@linuxfoundation.org>2019-09-26 19:16:41 -0600
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-10-22 14:42:42 +0200
commit4a6a6f5c4aeedb72db871d60bfcca89835f317aa (patch)
tree1c673a8a0a4c40754df2eebe6257c34229aaad83 /init/calibrate.c
parent7d194c2100ad2a6dded545887d02754948ca5241 (diff)
downloadtalos-op-linux-4a6a6f5c4aeedb72db871d60bfcca89835f317aa.tar.gz
talos-op-linux-4a6a6f5c4aeedb72db871d60bfcca89835f317aa.zip
tools: gpio: Use !building_out_of_srctree to determine srctree
make TARGETS=gpio kselftest fails with: Makefile:23: tools/build/Makefile.include: No such file or directory When the gpio tool make is invoked from tools Makefile, srctree is cleared and the current logic check for srctree equals to empty string to determine srctree location from CURDIR. When the build in invoked from selftests/gpio Makefile, the srctree is set to "." and the same logic used for srctree equals to empty is needed to determine srctree. Check building_out_of_srctree undefined as the condition for both cases to fix "make TARGETS=gpio kselftest" build failure. Cc: stable@vger.kernel.org Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud