summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@bitwise.fi>2020-03-25 12:31:54 +0200
committerLinus Walleij <linus.walleij@linaro.org>2020-03-27 22:27:19 +0100
commit82f04bfe2aff428b063eefd234679b2d693228ed (patch)
tree33968524e8a6aea5331e22a43619057ffa5839b6 /tools
parent35c6cfb4340c199974f06a36670f7d1e9d32e1c7 (diff)
downloadlinux-rpi-82f04bfe2aff428b063eefd234679b2d693228ed.tar.gz
linux-rpi-82f04bfe2aff428b063eefd234679b2d693228ed.tar.bz2
linux-rpi-82f04bfe2aff428b063eefd234679b2d693228ed.zip
tools: gpio: Fix out-of-tree build regression
Commit 0161a94e2d1c7 ("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: 0161a94e2d1c ("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>
Diffstat (limited to 'tools')
-rw-r--r--tools/gpio/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpio/Makefile b/tools/gpio/Makefile
index 842287e42c83..440434027557 100644
--- a/tools/gpio/Makefile
+++ b/tools/gpio/Makefile
@@ -35,7 +35,7 @@ $(OUTPUT)include/linux/gpio.h: ../../include/uapi/linux/gpio.h
prepare: $(OUTPUT)include/linux/gpio.h
-GPIO_UTILS_IN := $(output)gpio-utils-in.o
+GPIO_UTILS_IN := $(OUTPUT)gpio-utils-in.o
$(GPIO_UTILS_IN): prepare FORCE
$(Q)$(MAKE) $(build)=gpio-utils