debian: Add cfg file examples for osmo-trx-{lms,uhd}
Sort cfg files according to their osmo-trx binary. Install them during make install. Add the installed cfg files to related debian packages. Change-Id: I905cdac30b441e4df0a3f5c0924d1637b9f67b90
This commit is contained in:
parent
7ed686b223
commit
c7756e73b7
|
@ -28,6 +28,7 @@ AM_CXXFLAGS = -Wall -pthread
|
|||
|
||||
# Order must be preserved
|
||||
SUBDIRS = \
|
||||
doc \
|
||||
CommonLibs \
|
||||
GSM \
|
||||
Transceiver52M \
|
||||
|
|
|
@ -225,6 +225,8 @@ AC_CONFIG_FILES([\
|
|||
tests/Makefile \
|
||||
tests/CommonLibs/Makefile \
|
||||
tests/Transceiver52M/Makefile \
|
||||
doc/Makefile \
|
||||
doc/examples/Makefile \
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
/usr/bin/osmo-trx-lms
|
||||
/usr/share/doc/osmo-trx-lms/examples/osmo-trx-limesdr.cfg /usr/share/doc/osmo-trx-lms/examples
|
||||
|
|
|
@ -1 +1,4 @@
|
|||
/usr/bin/osmo-trx-uhd
|
||||
/usr/share/doc/osmo-trx-uhd/examples/osmo-trx-usrp_b200.cfg /usr/share/doc/osmo-trx-uhd/examples
|
||||
/usr/share/doc/osmo-trx-uhd/examples/osmo-trx-limesdr.cfg /usr/share/doc/osmo-trx-uhd/examples
|
||||
/usr/share/doc/osmo-trx-uhd/examples/osmo-trx-umtrx.cfg /usr/share/doc/osmo-trx-uhd/examples
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
SUBDIRS = \
|
||||
examples \
|
||||
$(NULL)
|
|
@ -0,0 +1,22 @@
|
|||
CFG_FILES = find $(srcdir) -name '*.cfg*' | sed -e 's,^$(srcdir),,'
|
||||
|
||||
dist-hook:
|
||||
for f in $$($(CFG_FILES)); do \
|
||||
j="$(distdir)/$$f" && \
|
||||
mkdir -p "$$(dirname $$j)" && \
|
||||
$(INSTALL_DATA) $(srcdir)/$$f $$j; \
|
||||
done
|
||||
|
||||
install-data-hook:
|
||||
for f in $$($(CFG_FILES)); do \
|
||||
j="$(DESTDIR)$(docdir)/examples/$$f" && \
|
||||
mkdir -p "$$(dirname $$j)" && \
|
||||
$(INSTALL_DATA) $(srcdir)/$$f $$j; \
|
||||
done
|
||||
|
||||
uninstall-hook:
|
||||
@$(PRE_UNINSTALL)
|
||||
for f in $$($(CFG_FILES)); do \
|
||||
j="$(DESTDIR)$(docdir)/examples/$$f" && \
|
||||
$(RM) $$j; \
|
||||
done
|
|
@ -0,0 +1,22 @@
|
|||
log stderr
|
||||
logging filter all 1
|
||||
logging color 1
|
||||
logging print category 1
|
||||
logging timestamp 1
|
||||
logging print file basename
|
||||
logging level all info
|
||||
!
|
||||
line vty
|
||||
no login
|
||||
!
|
||||
trx
|
||||
bind-ip 127.0.0.1
|
||||
remote-ip 127.0.0.1
|
||||
base-port 5700
|
||||
egprs disable
|
||||
tx-sps 4
|
||||
rx-sps 4
|
||||
rt-prio 18
|
||||
chan 0
|
||||
tx-path BAND1
|
||||
rx-path LNAW
|
Loading…
Reference in New Issue