configure.gnu needs to unset more vars from the environment.
authorPhilip Balister <philip@opensdr.com>
Wed, 16 Sep 2009 22:59:19 +0000 (18:59 -0400)
committerPhilip Balister <philip@opensdr.com>
Thu, 17 Sep 2009 19:55:50 +0000 (15:55 -0400)
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.

usrp2/firmware/configure.gnu

index 60d6d2a7ecb2118ac084b6d25f45f54dfa9a8346..53ca9b518aede547457118c36d464e35acd9bffc 100755 (executable)
@@ -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