mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-26 08:13:56 +00:00
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>
4 lines
157 B
Text
4 lines
157 B
Text
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
|