Install sample cfg file to /etc/osmocom

Change-Id: Ib871a3cd14386ef6e6b512a3d66e7e7a839295a5
This commit is contained in:
Pau Espin 2018-09-12 19:48:57 +02:00
parent 5ac2cb3662
commit 6fdfb68b9e
5 changed files with 24 additions and 1 deletions

View File

@ -1,3 +1,4 @@
etc/osmocom/osmo-trx-lms.cfg
lib/systemd/system/osmo-trx-lms.service
/usr/bin/osmo-trx-lms
/usr/share/doc/osmo-trx/examples/osmo-trx-lms/osmo-trx-limesdr.cfg /usr/share/doc/osmo-trx/examples/osmo-trx-lms/

View File

@ -1,3 +1,4 @@
etc/osmocom/osmo-trx-uhd.cfg
lib/systemd/system/osmo-trx-uhd.service
/usr/bin/osmo-trx-uhd
/usr/share/doc/osmo-trx/examples/osmo-trx-uhd/osmo-trx-usrp_b200.cfg /usr/share/doc/osmo-trx/examples/osmo-trx-uhd/

View File

@ -1,4 +1,23 @@
CFG_FILES = find $(srcdir) -name '*.cfg*' | sed -e 's,^$(srcdir),,'
OSMOCONF_FILES =
osmoconfdir = $(sysconfdir)/osmocom
if DEVICE_UHD
OSMOCONF_FILES += osmo-trx-uhd/osmo-trx-uhd.cfg
endif
# if DEVICE_USRP1
# TODO: no usrp1 sample file yet
# OSMOCONF_FILES += osmo-trx-usrp1/osmo-trx-usrp1.cfg
# endif
if DEVICE_LMS
OSMOCONF_FILES += osmo-trx-lms/osmo-trx-lms.cfg
endif
osmoconf_DATA = $(OSMOCONF_FILES)
EXTRA_DIST = $(OSMOCONF_FILES)
CFG_FILES = find $(srcdir) -type f -name '*.cfg*' | sed -e 's,^$(srcdir),,'
dist-hook:
for f in $$($(CFG_FILES)); do \

View File

@ -0,0 +1 @@
osmo-trx-limesdr.cfg

View File

@ -0,0 +1 @@
osmo-trx-usrp_b200.cfg