]> git.baikalelectronics.ru Git - kernel.git/commit
tools: gpio: Fix out-of-tree build regression
authorAnssi Hannula <anssi.hannula@bitwise.fi>
Wed, 25 Mar 2020 10:31:54 +0000 (12:31 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 27 Mar 2020 21:27:19 +0000 (22:27 +0100)
commit1892cc41e33a87c36486a14fc94c8f89efd83d49
tree33968524e8a6aea5331e22a43619057ffa5839b6
parent28b5fdb1d7248c7e74f8c0afad9d179a2ef3721d
tools: gpio: Fix out-of-tree build regression

Commit 46353c3a72550 ("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: 46353c3a7255 ("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>
tools/gpio/Makefile