From: Shawn Landden Date: Tue, 6 Feb 2018 15:29:11 +0000 (+0000) Subject: Reduce `uname -m` down to what the build system X-Git-Tag: archive/raspbian/0_R99-14469.B-2+rpi1~1^2^2^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=65101ad6f2ffa38693e632b49e449c03466218fb;p=vboot-utils.git 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 --- diff --git a/Makefile b/Makefile index 013c6d8..efd349e 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.