aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-12 19:48:57 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-12 20:51:29 +0200
commit6fdfb68b9e43e31c6330e99def5857df0629efad (patch)
tree727b06f93f240f729a628b494979371ee17c2ba4 /doc
parent5ac2cb3662602d347bdd329cd81c7e746f309402 (diff)
Install sample cfg file to /etc/osmocom
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/Makefile.am21
l---------doc/examples/osmo-trx-lms/osmo-trx-lms.cfg1
l---------doc/examples/osmo-trx-uhd/osmo-trx-uhd.cfg1
3 files changed, 22 insertions, 1 deletions
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index 530c3fa..88d9142 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -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 \
diff --git a/doc/examples/osmo-trx-lms/osmo-trx-lms.cfg b/doc/examples/osmo-trx-lms/osmo-trx-lms.cfg
new file mode 120000
index 0000000..13ae04a
--- /dev/null
+++ b/doc/examples/osmo-trx-lms/osmo-trx-lms.cfg
@@ -0,0 +1 @@
+osmo-trx-limesdr.cfg \ No newline at end of file
diff --git a/doc/examples/osmo-trx-uhd/osmo-trx-uhd.cfg b/doc/examples/osmo-trx-uhd/osmo-trx-uhd.cfg
new file mode 120000
index 0000000..11f2320
--- /dev/null
+++ b/doc/examples/osmo-trx-uhd/osmo-trx-uhd.cfg
@@ -0,0 +1 @@
+osmo-trx-usrp_b200.cfg \ No newline at end of file