aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorCory Fields <theuni-nospam-@xbmc.org>2012-09-20 02:42:43 -0400
committerCory Fields <theuni-nospam-@xbmc.org>2012-09-20 03:35:41 -0400
commitd24d30ad2bd83c02c02342295f883d73aadf29f1 (patch)
treedbd9093b7a923d62789df4e5da9bc4c264e36dd9 /bootstrap
parentc31aca24e63b1b70a6e207f360f134f460cbe2d7 (diff)
build: bootstrap overhaul
Put an end to the constant autoreconfs when switching branches. Use make to determine when bootstrapping for xbmc and subprojects needs to happen (hint: rarely). bootstrapping can now be done in parallel, but I didn't obseve much (any?) speed increase. Also allows for easier skipping of reconfigures for minor/cosmetic configure.in changes. This should be transparent to users, other than the fact that it's much faster. Same build procedure as always: ./bootstrap && ./configure && make
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap26
1 files changed, 1 insertions, 25 deletions
diff --git a/bootstrap b/bootstrap
index 86b5189975..09dc378df8 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,26 +1,2 @@
#!/bin/sh
-
-set -e
-
-autoreconf -vif
-autoreconf -vif lib/libid3tag/libid3tag
-autoreconf -vif xbmc/screensavers/rsxs-0.9
-autoreconf -vif xbmc/visualizations/Goom/goom2k4-0
-autoreconf -vif lib/libapetag
-autoreconf -vif lib/cpluff
-# order matters with libdvd and friends
-[ -d lib/libdvd/libdvdcss ] && \
- autoreconf -vif lib/libdvd/libdvdcss
-autoreconf -vif lib/libdvd/libdvdread
-autoreconf -vif lib/libdvd/libdvdnav
-autoreconf -vif lib/gtest
-
-if [ -f pvr-addons/Makefile.am ]; then
- autoreconf -vif pvr-addons
-fi
-
-# Clean the generated files
-find . -depth -type d -name "autom4te.cache" -exec rm -rf {} \;
-
-echo "Please (re)run configure..."
-
+BOOTSTRAP_STANDALONE=1 make -f bootstrap.mk