aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpio/Build
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2019-11-12 17:10:26 -0500
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-11-13 13:46:04 +0100
commit0161a94e2d1c713bd34d72bc0239d87c31747bf7 (patch)
tree0667485937699846f7e7527f039c524d48e19107 /tools/gpio/Build
parentgpio: bd70528: Use correct unit for debounce times (diff)
downloadlinux-dev-0161a94e2d1c713bd34d72bc0239d87c31747bf7.tar.xz
linux-dev-0161a94e2d1c713bd34d72bc0239d87c31747bf7.zip
tools: gpio: Correctly add make dependencies for gpio_utils
gpio tools fail to build correctly with make parallelization: $ make -s -j24 ld: gpio-utils.o: file not recognized: file truncated make[1]: *** [/home/labbott/linux_upstream/tools/build/Makefile.build:145: lsgpio-in.o] Error 1 make: *** [Makefile:43: lsgpio-in.o] Error 2 make: *** Waiting for unfinished jobs.... This is because gpio-utils.o is used across multiple targets. Fix this by making gpio-utios.o a proper dependency. Cc: <stable@vger.kernel.org> Signed-off-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/gpio/Build')
-rw-r--r--tools/gpio/Build1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpio/Build b/tools/gpio/Build
index 620c1937d957..4141f35837db 100644
--- a/tools/gpio/Build
+++ b/tools/gpio/Build
@@ -1,3 +1,4 @@
+gpio-utils-y += gpio-utils.o
lsgpio-y += lsgpio.o gpio-utils.o
gpio-hammer-y += gpio-hammer.o gpio-utils.o
gpio-event-mon-y += gpio-event-mon.o gpio-utils.o