]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - make.sh
make.sh: Determine how much memory the build host has
[ipfire-2.x.git] / make.sh
diff --git a/make.sh b/make.sh
index 11be8465eca284e9a556ac9135d8f77bb3328142..948a24d3907f2d68694bb1c28cefcca3156d2150 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -65,6 +65,9 @@ mkdir $BASEDIR/log/ 2>/dev/null
 # Include funtions
 . tools/make-functions
 
+# Get the amount of memory in this build system
+HOST_MEM=$(system_memory)
+
 if [ -f .config ]; then
        . .config
 fi