mirror of
https://github.com/RangeNetworks/openbts.git
synced 2025-11-02 12:53:15 +00:00
Transceiver52M: Move reference select from compile time to database
Enabling the external reference on UHD devices through the configure time switch is awkward. Use a database variable "TRX.Reference" with '0' or '1' value for internal and external references respectively. Use internal reference is no entry is defined. Signed-off-by: Thomas Tsou <tom@tsou.cc> git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6754 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
@@ -70,11 +70,6 @@ AC_ARG_WITH(singledb, [
|
||||
[enable single daughterboard use on USRP1])
|
||||
])
|
||||
|
||||
AC_ARG_WITH(extref, [
|
||||
AS_HELP_STRING([--with-extref],
|
||||
[enable external reference on UHD devices])
|
||||
])
|
||||
|
||||
AS_IF([test "x$with_usrp1" = "xyes"], [
|
||||
PKG_CHECK_MODULES(USRP, usrp >= 3.3)
|
||||
# Find and define supported SIMD extensions
|
||||
@@ -87,10 +82,6 @@ AS_IF([test "x$with_uhd" = "xyes"],[
|
||||
AX_EXT
|
||||
])
|
||||
|
||||
AS_IF([test "x$with_extref" = "xyes"], [
|
||||
AC_DEFINE(EXTREF, 1, Define to 1 for external reference)
|
||||
])
|
||||
|
||||
AS_IF([test "x$with_singledb" = "xyes"], [
|
||||
AC_DEFINE(SINGLEDB, 1, Define to 1 for single daughterboard)
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user