From 388ed5848242f56a207abbc854aa5f2c519ffdb1 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Wed, 15 Jul 2020 20:53:16 +0200 Subject: Move struct gsm_bts: gsm_data.* => bts.* Place all code related to the object into the related file. Having all the data model in one file made sense in early stage of development to make progress quickly, but nowadays it hurts more than helps, due to constantly growing size and more and more bits being added to the model, gaining in complexity. Currently, having lots of different objects mixed up in gsm_data.h is a hole of despair, where nobody can make any sense were to properly put new stuff in, ending up with functions related to same object in different files or with wrong prefixes, declarations of non-existing functions, etc. because people cannot make up their mind on strict relation to objects in the data model. Splitting them in files really helps finding code operating on a specific object and helping with logically splitting in the future. Change-Id: I00c15f5285b5c1a0109279b7ab192d5467a04ece --- src/utils/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils/Makefile.am') diff --git a/src/utils/Makefile.am b/src/utils/Makefile.am index e585e0df8..669667971 100644 --- a/src/utils/Makefile.am +++ b/src/utils/Makefile.am @@ -48,6 +48,7 @@ bs11_config_SOURCES = \ bs11_config_LDADD = \ $(top_builddir)/src/osmo-bsc/abis_nm.o \ + $(top_builddir)/src/osmo-bsc/bts.o \ $(top_builddir)/src/osmo-bsc/bts_siemens_bs11.o \ $(top_builddir)/src/osmo-bsc/e1_config.o \ $(top_builddir)/src/osmo-bsc/gsm_data.o \ @@ -117,6 +118,7 @@ meas_json_SOURCES = \ $(NULL) meas_json_LDADD = \ + $(top_builddir)/src/osmo-bsc/bts.o \ $(top_builddir)/src/osmo-bsc/gsm_data.o \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ -- cgit v1.2.3