From: Shawn Landden Date: Mon, 10 Feb 2020 15:21:52 +0000 (+0100) Subject: Reduce `uname -m` down to what the build system X-Git-Tag: archive/raspbian/0_R99-14469.B-2+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d450663178970e7f13010eacd8a3e5c34cb37134;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 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.