]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/Config
make.sh: Introduce DEFAULT_PARALLELISM
[people/pmueller/ipfire-2.x.git] / lfs / Config
index a1232a2c281d6c625d59e62af8b9ac2db95a38e5..be6725bc846177efd639d26ae13a6bb90b8e0592 100644 (file)
@@ -31,8 +31,9 @@
 ###############################################################################
 
 # Cleanup environment from any variables
-unexport BUILD_ARCH BUILD_PLATFORM BUILDTARGET CROSSTARGET TOOLCHAIN
-unexport TOOLS_DIR LOG_DIR
+unexport BUILD_ARCH BUILD_PLATFORM BUILDTARGET CROSSTARGET TOOLCHAIN TOOLS_DIR
+
+MAKETUNING = -j $(DEFAULT_PARALLELISM)
 
 ifeq "$(BUILD_ARCH)" "aarch64"
        IS_64BIT = 1
@@ -86,7 +87,7 @@ DIR_SRC = $(ROOT)/usr/src
 DIR_DL      = $(LFS_BASEDIR)/cache
 DIR_CHK     = $(LFS_BASEDIR)/cache/check
 DIR_CONF    = $(LFS_BASEDIR)/config
-DIR_INFO    = $(LFS_BASEDIR)/$(LOG_DIR)
+DIR_INFO    = $(LFS_BASEDIR)/log
 DIR_TMP     = /tmp
 
 # Add the compiler location and version and specs to the ccache hash
@@ -110,7 +111,7 @@ endif
 ###############################################################################
 
 # For each package we create a list of files that it installed under 
-# $(LOG_DIR/)<TARGET> name. Modified files are not identified
+# log/<TARGET> name. Modified files are not identified
 #
 define FIND_FILES
        cd $(ROOT)/ && find -mount \