tools: iio: Correctly add make dependency for iio_utils
authorLaura Abbott <labbott@redhat.com>
Fri, 18 Oct 2019 17:29:08 +0000 (13:29 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 10 Nov 2019 17:11:06 +0000 (17:11 +0000)
commit731b60afcb3d318581af7f4e1ac9a66f9e12f1a5
tree2466f44f7bc7d693ce0591e3326083b85503e3b7
parent506d2e317a0a02631a74bbc4c508334c29e26eae
tools: iio: Correctly add make dependency for iio_utils

iio tools fail to build correctly with make parallelization:

$ make -s -j24
fixdep: error opening depfile: ./.iio_utils.o.d: No such file or directory
make[1]: *** [/home/labbott/linux_upstream/tools/build/Makefile.build:96: iio_utils.o] Error 2
make: *** [Makefile:43: iio_event_monitor-in.o] Error 2
make: *** Waiting for unfinished jobs....

This is because iio_utils.o is used across multiple targets.
Fix this by making iio_utils.o a proper dependency.

Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
tools/iio/Build
tools/iio/Makefile