aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-04-24 18:49:03 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-04-24 19:17:22 +0200
commitf3d7f443a01e2a021a32cdbb402a38fdcedd2fee (patch)
tree7a2823c8395e719867e6b5da11c040cbd1bc0d31 /debian
parente564f0fd846a359944e050a92a5b50c4f2bdf3d0 (diff)
Build one osmo-trx binary for each device support enabled
Same way as we do in osmo-bts. After this commit, osmo-trx no longer exists. Instead, osmo-trx-uhd and osmo-trx-usrp1 are generated based on configure flags enabled. A new flag --with(out)-uhd has been added to enable/disable build of osmo-trx with UHD backend. It is left enabled by default to keep compatibility with older build scripts. Binary with USRP1 backend must still be manually enabled with --with-usrp1 flag. Change-Id: Iea8c0d7434762713a53440d29bf3ebd84accb262
Diffstat (limited to 'debian')
-rw-r--r--debian/control41
-rw-r--r--debian/osmo-trx-uhd.install1
-rw-r--r--debian/osmo-trx-usrp1.install1
-rw-r--r--debian/osmo-trx.install1
4 files changed, 39 insertions, 5 deletions
diff --git a/debian/control b/debian/control
index b3d63a7..cae44d4 100644
--- a/debian/control
+++ b/debian/control
@@ -19,9 +19,42 @@ Vcs-Git: git://git.osmocom.org/osmo-trx
Homepage: https://projects.osmocom.org/projects/osmotrx
Package: osmo-trx
+Maintainer: Ivan Klyuchnikov <ivan.kluchnikov@fairwaves.ru>
+Depends: osmo-trx-uhd
+Architecture: all
+Description: Virtual package for osmo-trx-uhd
+
+Package: osmo-trx-uhd
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: SDR transceiver that implements Layer 1 of a GSM BTS (UHD)
+ OsmoTRX is a software-defined radio transceiver that implements the Layer 1
+ physical layer of a BTS comprising the following 3GPP specifications:
+ .
+ TS 05.01 "Physical layer on the radio path"
+ TS 05.02 "Multiplexing and Multiple Access on the Radio Path"
+ TS 05.04 "Modulation"
+ TS 05.10 "Radio subsystem synchronization"
+ .
+ In this context, BTS is "Base transceiver station". It's the stations that
+ connect mobile phones to the mobile network.
+ .
+ 3GPP is the "3rd Generation Partnership Project" which is the collaboration
+ between different telecommunication associations for developing new
+ generations of mobile phone networks. (post-2G/GSM)
+
+Package: osmo-trx-uhd-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: osmo-trx-uhd (= ${binary:Version}), ${misc:Depends}
+Description: Debug symbols for the osmo-trx-uhd
+ Make debugging possible
+
+Package: osmo-trx-usrp1
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: SDR transceiver that implements Layer 1 of a GSM BTS
+Description: SDR transceiver that implements Layer 1 of a GSM BTS (USRP1)
OsmoTRX is a software-defined radio transceiver that implements the Layer 1
physical layer of a BTS comprising the following 3GPP specifications:
.
@@ -37,10 +70,10 @@ Description: SDR transceiver that implements Layer 1 of a GSM BTS
between different telecommunication associations for developing new
generations of mobile phone networks. (post-2G/GSM)
-Package: osmo-trx-dbg
+Package: osmo-trx-usrp1-dbg
Architecture: any
Section: debug
Priority: extra
-Depends: osmo-trx (= ${binary:Version}), ${misc:Depends}
-Description: Debug symbols for the osmo-trx
+Depends: osmo-trx-usrp1 (= ${binary:Version}), ${misc:Depends}
+Description: Debug symbols for the osmo-trx-usrp1
Make debugging possible
diff --git a/debian/osmo-trx-uhd.install b/debian/osmo-trx-uhd.install
new file mode 100644
index 0000000..0005b76
--- /dev/null
+++ b/debian/osmo-trx-uhd.install
@@ -0,0 +1 @@
+/usr/bin/osmo-trx-uhd
diff --git a/debian/osmo-trx-usrp1.install b/debian/osmo-trx-usrp1.install
new file mode 100644
index 0000000..1b76249
--- /dev/null
+++ b/debian/osmo-trx-usrp1.install
@@ -0,0 +1 @@
+/usr/bin/osmo-trx-usrp1
diff --git a/debian/osmo-trx.install b/debian/osmo-trx.install
index 574e915..e69de29 100644
--- a/debian/osmo-trx.install
+++ b/debian/osmo-trx.install
@@ -1 +0,0 @@
-/usr/bin/osmo-trx