diff options
author | Oliver Smith <osmith@sysmocom.de> | 2022-12-21 10:29:49 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2022-12-21 10:34:50 +0100 |
commit | a42f4a51c09fdc3c4f532ff07b806e26bf7e9fa1 (patch) | |
tree | fe1f8aeb1a8da94a2c6f7dc0840f036dc2b1c207 /utils | |
parent | 3f79ce8f232ae1aa47a899df67dc067a891f9780 (diff) |
utils/osmo-stat-dummy: check for ENABLE_UTILITIES
Don't attempt to build osmo-stat-dummy, unless ENABLE_UTILITIES 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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/osmo-stat-dummy/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/osmo-stat-dummy/Makefile.am b/utils/osmo-stat-dummy/Makefile.am index 8184d9cb..d28b9828 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 @@ osmo_stat_dummy_LDADD = $(LDADD) $(TALLOC_LIBS) \ $(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 |