summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap24
1 files changed, 14 insertions, 10 deletions
diff --git a/bootstrap b/bootstrap
index be511806f..341f157f9 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2001,2005,2008 Free Software Foundation, Inc.
+# Copyright 2001-2011 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -19,16 +19,20 @@
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
+srcdir=$(cd $(dirname $0) ; pwd)
-rm -fr config.cache autom4te*.cache
+echo "Bootstrap'n gnuradio... ${srcdir}"
-aclocal -I config
-autoconf
-autoheader
-libtoolize --automake
-automake --add-missing -Wno-portability -Wno-override -Wnone
-#automake --add-missing -Wno-portability
+(cd ${srcdir} ; rm -fr config.cache autom4te*.cache)
+(cd ${srcdir} ; autoconf)
+(cd ${srcdir} ; autoheader)
+(cd ${srcdir} ; libtoolize --automake)
+(cd ${srcdir} ; automake --add-missing -Wno-portability -Wno-override -Wnone)
# Run bootstrap in any subprojects
-(cd usrp2/firmware ; ./bootstrap)
-(cd volk ; ./bootstrap)
+subprojects="usrp2/firmware
+volk"
+for dir in ${subprojects}; do
+ (mkdir -p ${dir}) #ensure the build dir exists
+ (cd ${dir} ; sh ${srcdir}/${dir}/bootstrap)
+done