]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/Config
make.sh: Introduce DEFAULT_PARALLELISM
[ipfire-2.x.git] / lfs / Config
index 516fb1cabb8ee276ea639a30050beef9feb8c79e..be6725bc846177efd639d26ae13a6bb90b8e0592 100644 (file)
 # Cleanup environment from any variables
 unexport BUILD_ARCH BUILD_PLATFORM BUILDTARGET CROSSTARGET TOOLCHAIN TOOLS_DIR
 
+MAKETUNING = -j $(DEFAULT_PARALLELISM)
+
 ifeq "$(BUILD_ARCH)" "aarch64"
        IS_64BIT = 1
 endif
 
+ifeq "$(BUILD_ARCH)" "armv7hl"
+       IS_32BIT = 1
+endif
+
+ifeq "$(BUILD_ARCH)" "armv5tel"
+       IS_32BIT = 1
+endif
+
 ifeq "$(BUILD_ARCH)" "x86_64"
        IS_64BIT = 1
 endif
 
+ifeq "$(BUILD_ARCH)" "i586"
+       IS_32BIT = 1
+endif
+
 ifeq "$(TOOLCHAIN)" "1"
        PREFIX = $(TOOLS_DIR)
 else