From 4ca52ef456165d9fda0937a136a5fde109bcab78 Mon Sep 17 00:00:00 2001 From: Raphael Defosseux Date: Mon, 12 Feb 2024 11:48:52 +0100 Subject: [PATCH] fix(ci): PACKAGE_VERSION is missing from nr-cuup executable Signed-off-by: Raphael Defosseux --- executables/nr-cuup.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/executables/nr-cuup.c b/executables/nr-cuup.c index 40ae604716..7c7c70f429 100644 --- a/executables/nr-cuup.c +++ b/executables/nr-cuup.c @@ -155,6 +155,10 @@ int main(int argc, char **argv) exit_fun("[SOFTMODEM] Error, configuration module init failed\n"); } logInit(); +#ifndef PACKAGE_VERSION +# define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL" +#endif + LOG_I(HW, "Version: %s\n", PACKAGE_VERSION); set_softmodem_sighandler(); itti_init(TASK_MAX, tasks_info); int rc;