From 8e3320ac4835aa4b7cbe71ac3b3ccd4a7c07f20e Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 21 Jul 2021 20:43:35 +0200 Subject: Introduce libbsc to avoid linking long lists of .o files Every time a new file is added in osmo-bsc, it ends up being a pain because its .o file has to be included to other tests/util binaries, or stubs need to be added. Let's instead bundle all .o files together in an .la file and pass that around. Change-Id: If91dc589ea1e476da105b58846d1c3e720a439e1 --- tests/nanobts_omlattr/Makefile.am | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'tests/nanobts_omlattr/Makefile.am') diff --git a/tests/nanobts_omlattr/Makefile.am b/tests/nanobts_omlattr/Makefile.am index e31b8e921..b5d1d7a7e 100644 --- a/tests/nanobts_omlattr/Makefile.am +++ b/tests/nanobts_omlattr/Makefile.am @@ -23,23 +23,7 @@ nanobts_omlattr_test_SOURCES = \ $(NULL) nanobts_omlattr_test_LDADD = \ - $(top_builddir)/src/osmo-bsc/abis_nm.o \ - $(top_builddir)/src/osmo-bsc/abis_osmo.o \ - $(top_builddir)/src/osmo-bsc/acc.o \ - $(top_builddir)/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.o \ - $(top_builddir)/src/osmo-bsc/bts.o \ - $(top_builddir)/src/osmo-bsc/bts_sm.o \ - $(top_builddir)/src/osmo-bsc/bts_trx.o \ - $(top_builddir)/src/osmo-bsc/gsm_data.o \ - $(top_builddir)/src/osmo-bsc/nm_common_fsm.o \ - $(top_builddir)/src/osmo-bsc/nm_bts_sm_fsm.o \ - $(top_builddir)/src/osmo-bsc/nm_bts_fsm.o \ - $(top_builddir)/src/osmo-bsc/nm_bb_transc_fsm.o \ - $(top_builddir)/src/osmo-bsc/nm_channel_fsm.o \ - $(top_builddir)/src/osmo-bsc/nm_gprs_cell_fsm.o \ - $(top_builddir)/src/osmo-bsc/nm_gprs_nse_fsm.o \ - $(top_builddir)/src/osmo-bsc/nm_gprs_nsvc_fsm.o \ - $(top_builddir)/src/osmo-bsc/nm_rcarrier_fsm.o \ + $(top_builddir)/src/osmo-bsc/libbsc.la \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ $(LIBOSMOABIS_LIBS) \ -- cgit v1.2.3