From 4e65af81177a28c9347e4fa08db65202b54eee8f Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Fri, 2 Sep 2016 14:09:03 +0100 Subject: [PATCH] Reduce `uname -m` down to what the build system Last-Update: 2013-01-28 expects Last-Update: 2013-01-28 Gbp-Pq: Name 0002-reduce-uname-down.patch --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 8989147..f254536 100644 --- a/Makefile +++ b/Makefile @@ -93,6 +93,12 @@ endif # Architecture detection _machname := $(shell uname -m) +ifneq (,$(findstring arm,${_machname})) + override _machname := arm +endif +ifneq (,$(findstring i686,${_machname})) + override _machname := x86 +endif HOST_ARCH ?= ${_machname} # ARCH and/or FIRMWARE_ARCH are defined by the Chromium OS ebuild. -- 2.30.2