]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
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 516fb1cabb8ee276ea639a30050beef9feb8c79e..76f279da96236003618f0b176873aea8f80d1ff6 100644 (file)
@@ -37,10 +37,22 @@ ifeq "$(BUILD_ARCH)" "aarch64"
        IS_64BIT = 1
 endif
 
        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)" "x86_64"
        IS_64BIT = 1
 endif
 
+ifeq "$(BUILD_ARCH)" "i586"
+       IS_32BIT = 1
+endif
+
 ifeq "$(TOOLCHAIN)" "1"
        PREFIX = $(TOOLS_DIR)
 else
 ifeq "$(TOOLCHAIN)" "1"
        PREFIX = $(TOOLS_DIR)
 else