summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2017-08-31 09:32:23 +0300
committerchrome-bot <chrome-bot@chromium.org>2017-08-31 04:52:16 -0700
commit96a0ead803c22fb5e55effb9d3a571a4c88f29db (patch)
treecdb3c430648cfe8daa3276008e3a1eac298d71e2
parentd2ee3ca7c190879d5262b6b00aa77fb93786b292 (diff)
downloadvboot-stabilize-9901.35.B.tar.gz
Fix arch detection for i686stabilize-9901.35.B
This adds detection for the i686 arch and replaces it with x86, allowing it to build. BRANCH=none BUG=none TEST=Build host_stuff on an i686 machine Change-Id: Idab7c762a7fbb97ec5318b9aa860756b4dd0bc25 Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Reviewed-on: https://chromium-review.googlesource.com/645086 Commit-Ready: Patrick Georgi <pgeorgi@chromium.org> Tested-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 31f714b8..2fb0fe45 100644
--- a/Makefile
+++ b/Makefile
@@ -105,6 +105,8 @@ ifeq (${ARCH},armv7l)
override ARCH := arm
else ifeq (${ARCH},i386)
override ARCH := x86
+else ifeq (${ARCH},i686)
+ override ARCH := x86
else ifeq (${ARCH},amd64)
override ARCH := x86_64
endif