exynos-linux-stable/tools/gpio
Laura Abbott f467a23a5c tools: gpio: Correctly add make dependencies for gpio_utils
commit 0161a94e2d1c713bd34d72bc0239d87c31747bf7 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-11-28 18:28:07 +01:00
..
Build tools: gpio: Correctly add make dependencies for gpio_utils 2019-11-28 18:28:07 +01:00
gpio-event-mon.c tools/gpio: Fix build error with musl libc 2018-02-03 17:05:34 +01:00
gpio-hammer.c tools/gpio: add the gpio-hammer tool 2016-06-15 09:29:04 +02:00
gpio-utils.c tools/gpio: create GPIO tools 2016-02-09 11:09:48 +01:00
gpio-utils.h gpio: add userspace ABI for GPIO line information 2016-02-19 09:48:46 +01:00
lsgpio.c tools/gpio: Add missing initialization of device_name 2016-03-31 11:51:30 +02:00
Makefile tools: gpio: Correctly add make dependencies for gpio_utils 2019-11-28 18:28:07 +01:00