Config: Set IS_32BIT when running on 32 bit

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-10-24 17:27:10 +01:00
parent 9af7531136
commit b26071d378

View 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