trxcon: separate the scheduler into libl1sched.la

Change-Id: I001fb7bc2663eea308b5a8882746ed9863f2c2f8
Related: OS#5599, OS#3761
This commit is contained in:
Vadim Yanitskiy 2022-07-05 03:07:33 +07:00
parent 8428b1ea0a
commit fb26115d71
5 changed files with 31 additions and 11 deletions

View File

@ -9,6 +9,11 @@ install-sh
missing
compile
# libtool by-products
ltmain.sh
libtool
m4/*.m4
# configure by-products
.deps/
Makefile
@ -18,7 +23,9 @@ version.h
# build by-products
*.o
*.lo
*.a
*.la
/src/trxcon

View File

@ -5,6 +5,8 @@ SUBDIRS = \
src \
$(NULL)
ACLOCAL_AMFLAGS = -I m4
BUILT_SOURCES = \
$(top_srcdir)/.version \
$(NULL)

View File

@ -1,6 +1,7 @@
dnl Process this file with autoconf to produce a configure script
AC_INIT([trxcon], [0.0.0])
AM_INIT_AUTOMAKE
LT_INIT
dnl kernel style compile messages
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@ -31,6 +32,7 @@ fi
dnl Checks for typedefs, structures and compiler characteristics
AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_FILES([include/Makefile
include/osmocom/Makefile
include/osmocom/bb/Makefile

View File

View File

@ -10,18 +10,10 @@ AM_CFLAGS = \
$(LIBOSMOGSM_CFLAGS) \
$(NULL)
bin_PROGRAMS = trxcon
trxcon_SOURCES = \
l1ctl_link.c \
l1ctl.c \
trx_if.c \
logging.c \
trxcon.c \
$(NULL)
noinst_LTLIBRARIES = libl1sched.la
# Scheduler
trxcon_SOURCES += \
libl1sched_la_SOURCES = \
sched_lchan_common.c \
sched_lchan_pdtch.c \
sched_lchan_desc.c \
@ -36,8 +28,25 @@ trxcon_SOURCES += \
sched_trx.c \
$(NULL)
trxcon_LDADD = \
libl1sched_la_LIBADD = \
$(LIBOSMOCORE_LIBS) \
$(LIBOSMOCODING_LIBS) \
$(LIBOSMOGSM_LIBS) \
$(NULL)
bin_PROGRAMS = trxcon
trxcon_SOURCES = \
l1ctl_link.c \
l1ctl.c \
trx_if.c \
logging.c \
trxcon.c \
$(NULL)
trxcon_LDADD = \
libl1sched.la \
$(LIBOSMOCORE_LIBS) \
$(LIBOSMOGSM_LIBS) \
$(NULL)