diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-04-24 18:49:03 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-04-24 19:17:22 +0200 |
commit | f3d7f443a01e2a021a32cdbb402a38fdcedd2fee (patch) | |
tree | 7a2823c8395e719867e6b5da11c040cbd1bc0d31 /Transceiver52M/device | |
parent | e564f0fd846a359944e050a92a5b50c4f2bdf3d0 (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 'Transceiver52M/device')
-rw-r--r-- | Transceiver52M/device/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Transceiver52M/device/Makefile.am b/Transceiver52M/device/Makefile.am index f0675b0..2788eaa 100644 --- a/Transceiver52M/device/Makefile.am +++ b/Transceiver52M/device/Makefile.am @@ -6,6 +6,8 @@ SUBDIRS = if DEVICE_USRP1 SUBDIRS += usrp1 -else +endif + +if DEVICE_UHD SUBDIRS += uhd endif |