summaryrefslogtreecommitdiffstats
path: root/FUNCTIONS
diff options
context:
space:
mode:
authorAndraž Levstik2007-01-12 15:07:15 +0100
committerAndraž Levstik2007-01-12 15:07:15 +0100
commitdc2d320fb0b8432d19c58fc1b20b1298817ab380 (patch)
treec79db6c4999d5e1f0957c197ee3ef211975eead6 /FUNCTIONS
parenta6ee3bf1cf6190c5e1e23f591ee45594e91008c8 (diff)
FUNCTIONS added a waf_build and waf_install
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-xFUNCTIONS16
1 files changed, 16 insertions, 0 deletions
diff --git a/FUNCTIONS b/FUNCTIONS
index b3e55cd450..8c47db9207 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -480,3 +480,19 @@ if check_if_modified "$1"; then
fi
}
+# Functions for default_build and default_install for waf based build systems
+# please use this one instead of maunaly calling waf when possible
+# Disabled caching as this has GREAT potential for borkage
+# and waf is fast without it as well
+
+function waf_build(){
+./waf configure \
+ --nocache \
+ --prefix=${INSTALL_ROOT}/usr \
+ $OPTS &&
+./waf --verbose
+}
+
+function waf_install(){
+./waf install
+}