linux-brain/tools/gpio
Anssi Hannula 2e22edcd73 tools: gpio: Fix out-of-tree build regression
commit 82f04bfe2aff428b063eefd234679b2d693228ed upstream.

Commit 0161a94e2d ("tools: gpio: Correctly add make dependencies for
gpio_utils") added a make rule for gpio-utils-in.o but used $(output)
instead of the correct $(OUTPUT) for the output directory, breaking
out-of-tree build (O=xx) with the following error:

  No rule to make target 'out/tools/gpio/gpio-utils-in.o', needed by 'out/tools/gpio/lsgpio-in.o'.  Stop.

Fix that.

Fixes: 0161a94e2d ("tools: gpio: Correctly add make dependencies for gpio_utils")
Cc: <stable@vger.kernel.org>
Cc: Laura Abbott <labbott@redhat.com>
Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi>
Link: https://lore.kernel.org/r/20200325103154.32235-1-anssi.hannula@bitwise.fi
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-17 10:48:50 +02:00
..
.gitignore gpio: tools: add .gitignore for generated files 2017-01-11 16:18:09 +01:00
Build tools: gpio: Correctly add make dependencies for gpio_utils 2019-12-01 09:16:09 +01:00
gpio-event-mon.c tools/gpio/gpio-event-mon: fix warning 2018-03-01 15:26:58 +01:00
gpio-hammer.c gpio-hammer: fix make consumer_label suitable to work on gpio-nails 2017-01-26 16:29:09 +01:00
gpio-utils.c tools: gpio: Print error string on IOCTL failures 2017-10-07 00:03:14 +02:00
gpio-utils.h tools/gpio: add gpio basic opereations 2016-10-24 16:33:11 +02:00
lsgpio.c tools/gpio: Add missing initialization of device_name 2016-03-31 11:51:30 +02:00
Makefile tools: gpio: Fix out-of-tree build regression 2020-04-17 10:48:50 +02:00