|
From: Tom T. <to...@ts...> - 2015-01-27 21:28:48
|
Remove the requirement to explicitly specify the USRP device type
because there are only two real requirements for the build - USRP1 and
everything else. Group all non-USRP1 devices under the UHD name.
Signed-off-by: Tom Tsou <to...@ts...>
---
build.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/build.sh b/build.sh
index 9889b07..15ed3a1 100755
--- a/build.sh
+++ b/build.sh
@@ -21,7 +21,7 @@ source $(dirname $0)/common.source
usage () {
echo "# usage: ./build.sh.sh radio-type (component-name)"
- echo "# valid radio types are: SDR1, USRP1, B100, B110, B200, B210, N200, N210"
+ echo "# valid radio types are: SDR1, UHD, USRP1"
echo "# (optional) valid component names are: libcoredumper, liba53, subscriberRegistry, smqueue, openbts, asterisk, asterisk-config, system-config"
exit 1
}
@@ -44,12 +44,12 @@ elif [ "$RADIO" == "SDR1" ] || [ "$RADIO" == "RAD1" ]; then
RADIO="SDR1"
MANUFACTURER="Range"
EXTRA_CONFIGURE_FLAGS=""
+elif [ "$RADIO" == "UHD" ]; then
+ MANUFACTURER="Ettus"
+ EXTRA_CONFIGURE_FLAGS="--with-uhd"
elif [ "$RADIO" == "USRP1" ]; then
MANUFACTURER="Ettus"
EXTRA_CONFIGURE_FLAGS="--with-usrp1"
-elif [ "$RADIO" == "B100" ] || [ "$RADIO" == "B110" ] || [ "$RADIO" == "B200" ] || [ "$RADIO" == "B210" ] || [ "$RADIO" == "N200" ] || [ "$RADIO" == "N210" ]; then
- MANUFACTURER="Ettus"
- EXTRA_CONFIGURE_FLAGS="--with-uhd"
fi
export EXTRA_CONFIGURE_FLAGS
--
2.1.0
|