aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2012-12-18 10:47:28 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2012-12-18 10:47:28 +0100
commita23c7eee151c1e92dacaadb823b26d426a904564 (patch)
tree5080ae630ed374de87b5668483a805003f9a5dab /src/Makefile.am
parent106ea79337c98fd1f2bda28af6979401cf05d78f (diff)
Adding direct access to DSP of sysmoBTS for PDTCH traffice
In order to use this feature, sysmoBTS requires option "-M", otherwise the traffic is forwarded through socket interface. This is essential, if PCU runs on processor of sysmoBTS. The reaction time and delay of PDTCH frames could heavily degrade proper packet flow.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am35
1 files changed, 34 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e52a597..b4dcfed 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,6 +19,11 @@
#
AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGB_CFLAGS) $(LIBOSMOGSM_CFLAGS)
+
+if ENABLE_SYSMODSP
+AM_CPPFLAGS += -DENABLE_SYSMODSP
+endif
+
AM_CXXFLAGS = -Wall -ldl -pthread
noinst_LTLIBRARIES = libgprs.la
@@ -50,6 +55,11 @@ noinst_PROGRAMS = \
bin_PROGRAMS = \
osmo-pcu
+if ENABLE_SYSMODSP
+noinst_PROGRAMS += \
+ osmo-pcu-remote
+endif
+
noinst_HEADERS = \
gprs_debug.h \
csn1.h \
@@ -60,7 +70,9 @@ noinst_HEADERS = \
pcu_l1_if.h \
gsm_timer.h \
bitvector.h \
- pcu_vty.h
+ pcu_vty.h \
+ sysmo_l1_if.h \
+ femtobts.h
RLCMACTest_SOURCES = RLCMACTest.cpp
RLCMACTest_LDADD = \
@@ -69,6 +81,18 @@ RLCMACTest_LDADD = \
$(COMMON_LA)
osmo_pcu_SOURCES = pcu_main.cpp
+
+if ENABLE_SYSMODSP
+osmo_pcu_SOURCES += sysmo_l1_if.c \
+ sysmo_l1_hw.c \
+ femtobts.c
+
+osmo_pcu_remote_SOURCES = pcu_main.cpp \
+ sysmo_l1_if.c \
+ sysmo_l1_fwd.c \
+ femtobts.c
+endif
+
osmo_pcu_LDADD = \
libgprs.la \
$(LIBOSMOGB_LIBS) \
@@ -76,4 +100,13 @@ osmo_pcu_LDADD = \
$(LIBOSMOGSM_LIBS) \
$(COMMON_LA)
+if ENABLE_SYSMODSP
+osmo_pcu_remote_LDADD = \
+ libgprs.la \
+ $(LIBOSMOGB_LIBS) \
+ $(LIBOSMOCORE_LIBS) \
+ $(LIBOSMOGSM_LIBS) \
+ $(COMMON_LA)
+endif
+
#MOSTLYCLEANFILES += testSource testDestination