]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/Config
Update translations
[ipfire-2.x.git] / lfs / Config
index a1232a2c281d6c625d59e62af8b9ac2db95a38e5..f597b8c6522fd766ef7a6a62ccb107ace8396da8 100644 (file)
 ###############################################################################
 
 # 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
+unexport XZ_OPT
+
+PARALLELISM = $(shell echo $$( \
+       if [ -n "$(MAX_PARALLELISM)" ] && [ $(MAX_PARALLELISM) -lt $(DEFAULT_PARALLELISM) ]; then \
+               echo $(MAX_PARALLELISM); \
+       else \
+               echo $(DEFAULT_PARALLELISM); \
+       fi) \
+)
+
+MAKETUNING = -j$(PARALLELISM)
 
 ifeq "$(BUILD_ARCH)" "aarch64"
        IS_64BIT = 1
@@ -86,7 +96,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 +120,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 \