diff options
author | Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> | 2016-08-29 16:55:43 -0700 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2016-08-30 21:08:30 +0000 |
commit | 93ac1f7ac5a75962465e48c216b03007698a2748 (patch) | |
tree | e8f72c64f0be21c3253108d887edfb5308dd3574 /Makefile.inc | |
parent | b4cd37920944c51768b22c3dc19895b4f0b85baa (diff) |
build: default ARCH to be initialized by the board support code
ARCH is defaulted to be x86. This makes it somehow impossible for later
the board code to set it properly when it needs to be evaluated in a
top level makefile for a project.
By undefining it, a lazy resolution is forced that works its way to
the proper Kconfig set by setting BOARD, which should be the ONLY
mandatory argument (to avoid things that will fail like BOARD=galileo
ARCH=arc).
Jira: ZEP-690
Change-Id: I5b10922eb4cdb559ab5fe354bc91c9ffb92f0ca8
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile.inc b/Makefile.inc index 439b83849..93ae5695d 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -1,8 +1,6 @@ # vim: filetype=make # -ARCH ?= x86 - UNAME := $(shell uname) ifeq (MINGW, $(findstring MINGW, $(UNAME))) DQUOTE = ' |