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 <gnu...@cyberdimension.org> --- tools/ipc-modem/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.37.1 _______________________________________________ Replicant mailing list Replicant@osuosl.org https://lists.osuosl.org/mailman/listinfo/replicant