Add ARCH variable to Makefiles

In some Makefiles the ARCH variable was not set, although it was used.
In executer/user/Makefile.in it was used before it was set.
This commit is contained in:
Hannes Weisbach
2017-09-13 11:14:48 +09:00
parent 77bb3038d3
commit 4f2c1e07c1
3 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
BUILD_TARGET ?= @TARGET@
KERNDIR=@KERNDIR@
VPATH=@abs_srcdir@
ARCH ?= @ARCH@
ifeq ($(ARCH), arm64)
vdsodir=@abs_builddir@/../arch/$(ARCH)/kernel/vdso