diff --git a/Osmand-kernel/Makefile.vars b/Osmand-kernel/Makefile.vars index 9e7ab52f02..216fd5d1c0 100755 --- a/Osmand-kernel/Makefile.vars +++ b/Osmand-kernel/Makefile.vars @@ -133,6 +133,9 @@ ifeq ($(ARCH),) ARCH := i386 else ARCH := $(shell uname -i) + ifeq ($(ARCH),unknown) + ARCH := $(shell uname -m) + endif endif endif