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 11be846..948a24d 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