osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/30746 )
Change subject: utils/osmo-stat-dummy: check for ENABLE_UTILS ......................................................................
utils/osmo-stat-dummy: check for ENABLE_UTILS
Don't attempt to build osmo-stat-dummy, unless ENABLE_UTILS is set. We check for this in utils/Makefile.am too.
Fix for currently failing master-osmo-ccid-firmware job, at cross-compiling libosmocore: make[3]: *** No rule to make target '../../src/vty/libosmovty.la', needed by 'osmo-stat-dummy'. Stop.
Fixes: 7a79dd3d ("osmo-stat-dummy: add rate counters and statsd tester") Change-Id: I44e49b5646518bd07b2628ca488e4bf74586852c --- M utils/osmo-stat-dummy/Makefile.am 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/46/30746/1
diff --git a/utils/osmo-stat-dummy/Makefile.am b/utils/osmo-stat-dummy/Makefile.am index 8184d9c..d28b982 100644 --- a/utils/osmo-stat-dummy/Makefile.am +++ b/utils/osmo-stat-dummy/Makefile.am @@ -1,3 +1,4 @@ +if ENABLE_UTILITIES noinst_PROGRAMS = osmo-stat-dummy osmo_stat_dummy_SOURCES = osmo-stat-dummy.c osmo_stat_dummy_LDADD = $(LDADD) $(TALLOC_LIBS) \ @@ -6,3 +7,4 @@ $(top_builddir)/src/libosmocore.la osmo_stat_dummy_CFLAGS = -Wall $(TALLOC_CFLAGS) $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(LIBOSMOCTRL_CFLAGS) osmo_stat_dummy_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include +endif