Config: Set IS_32BIT when running on 32 bit
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 24 Oct 2018 16:27:10 +0000 (17:27 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 24 Oct 2018 16:27:10 +0000 (17:27 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/Config

index 516fb1c..76f279d 100644 (file)
@@ -37,10 +37,22 @@ 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