diff options
author | Laura Abbott <labbott@redhat.com> | 2019-10-18 13:29:08 -0400 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-11-10 17:11:06 +0000 |
commit | 731b60afcb3d318581af7f4e1ac9a66f9e12f1a5 (patch) | |
tree | 2466f44f7bc7d693ce0591e3326083b85503e3b7 /tools/iio/Build | |
parent | 506d2e317a0a02631a74bbc4c508334c29e26eae (diff) |
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>
Diffstat (limited to 'tools/iio/Build')
-rw-r--r-- | tools/iio/Build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/iio/Build b/tools/iio/Build index f74cbda64710..8d0f3af3723f 100644 --- a/tools/iio/Build +++ b/tools/iio/Build @@ -1,3 +1,4 @@ +iio_utils-y += iio_utils.o lsiio-y += lsiio.o iio_utils.o iio_event_monitor-y += iio_event_monitor.o iio_utils.o iio_generic_buffer-y += iio_generic_buffer.o iio_utils.o |