diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-06-22 17:39:42 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-07-26 17:30:24 +0200 |
commit | 91ad9958b332658041799649c28ee321685c105d (patch) | |
tree | 0c5755b5f06c962de3f28d27d539fc673928993c /tools | |
parent | 1611216475d8b0db9138ea1962d77e89bb8ab5f3 (diff) | |
download | hardware_replicant_libsamsung-ipc-91ad9958b332658041799649c28ee321685c105d.tar.gz hardware_replicant_libsamsung-ipc-91ad9958b332658041799649c28ee321685c105d.tar.bz2 hardware_replicant_libsamsung-ipc-91ad9958b332658041799649c28ee321685c105d.zip |
tools: ipc-modem: autotools: fix missing header
Without that fix, nv_data-imei compiles fine in git, but if we build
from a tarball, nv_data-imei.h is missing from the tarball:
$ make dist
$ tar tf libsamsung-ipc-0.7.0.tar.xz | grep "ipc-modem.*\.[ch]"
libsamsung-ipc-0.7.0/tools/ipc-modem/ipc-modem-sms.c
libsamsung-ipc-0.7.0/tools/ipc-modem/ipc-modem-log.c
libsamsung-ipc-0.7.0/tools/ipc-modem/ipc-modem.c
libsamsung-ipc-0.7.0/tools/ipc-modem/tests/ipc-modem-sms-test.c
libsamsung-ipc-0.7.0/tools/ipc-modem/tests/ipc-modem-sms-fuzz.c
which then results in a compilation failure:
ipc-modem-log.c:28:10: fatal error: ipc-modem-log.h:
No such file or directory
28 | #include "ipc-modem-log.h"
| ^~~~~~~~~~~~~~~~~
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ipc-modem/Makefile.am | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/ipc-modem/Makefile.am b/tools/ipc-modem/Makefile.am index 2f6b537..361d106 100644 --- a/tools/ipc-modem/Makefile.am +++ b/tools/ipc-modem/Makefile.am @@ -16,6 +16,11 @@ PY_LOG_COMPILER = $(PYTHON) TEST_EXTENSIONS = .py TESTS = tests/ipc-modem.py -ipc_modem_SOURCES = ipc-modem.c ipc-modem-log.c +ipc_modem_SOURCES = \ +ipc-modem.c \ +ipc-modem.h \ +ipc-modem-log.c \ +ipc-modem-log.h + ipc_modem_LDADD = $(top_builddir)/samsung-ipc/libsamsung-ipc.la ipc_modem_LDFLAGS = -lpthread |