From 1fd0327dbffcfa3c07e86a34bddf171838ec576b Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Mon, 10 Feb 2020 16:21:52 +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 4f0dee4..218437f 100644 --- a/Makefile +++ b/Makefile @@ -86,6 +86,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