summaryrefslogtreecommitdiff
path: root/usrp2/firmware
diff options
context:
space:
mode:
authorPhilip Balister2009-09-16 18:59:19 -0400
committerPhilip Balister2009-09-17 15:55:50 -0400
commite84ff1fa31e7c43c6887469a1c09dc3c5faea56f (patch)
tree73f76b9ed4655ce79643c9bf1af01549fc18db99 /usrp2/firmware
parenta08c659c122f24947421adf38e7260642a67381a (diff)
downloadgnuradio-e84ff1fa31e7c43c6887469a1c09dc3c5faea56f.tar.gz
gnuradio-e84ff1fa31e7c43c6887469a1c09dc3c5faea56f.tar.bz2
gnuradio-e84ff1fa31e7c43c6887469a1c09dc3c5faea56f.zip
configure.gnu needs to unset more vars from the environment.
This solves a problem running the usrp2/firmware configure script when the USB_* vars are set in the environment. Long term fix is to have the configure.gnu wrapper make sure the quoting is OK for vars passed on.
Diffstat (limited to 'usrp2/firmware')
-rwxr-xr-xusrp2/firmware/configure.gnu6
1 files changed, 5 insertions, 1 deletions
diff --git a/usrp2/firmware/configure.gnu b/usrp2/firmware/configure.gnu
index 60d6d2a7e..53ca9b518 100755
--- a/usrp2/firmware/configure.gnu
+++ b/usrp2/firmware/configure.gnu
@@ -3,7 +3,7 @@
# wrapper to setup cross-compilation of firmware
#
-for v in CC CPP CXX AS AR NM RANLIB STRIP F77 CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
+for v in CC CPP CXX AS AR NM RANLIB STRIP F77 CFLAGS CXXFLAGS CPPFLAGS LDFLAGS CCAS CCASFLAGS USB_LIBS USB_CFLAGS
do
unset $v
done
@@ -26,6 +26,10 @@ do
(CXXFLAGS=*) ;;
(CPPFLAGS=*) ;;
(LDFLAGS=*) ;;
+ (CCAS=*) ;;
+ (CCASFLAGS=*) ;;
+ (USB_CFLAGS=*) ;;
+ (USB_LIBS=*) ;;
(*) args="$args $t" ;;
esac
done