defs.mk: Fix missing ARCH_32 constant

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2019-02-27 13:56:13 +00:00
commit 9f2524c736

View file

@ -95,6 +95,8 @@ OS_NAME_VERSION ?= $(shell $(GET_OS_SH))
OS_NAME ?= $(shell $(GET_OS_SH) name)
ARCH ?= $(TARGET_ARCH)
ARCH_32 = i586
ifndef ARCH
# TODO unreached code, test and fix this
ifeq ($(shell uname -m),armv7l)
@ -110,7 +112,6 @@ ifndef ARCH
ARCH = x86_64
SYSTEM_LIBDIR_NAME = lib64
else
ARCH_32 = i586
ARCH = $(ARCH_32)
SYSTEM_LIBDIR_NAME = lib
endif