From: Shawn Landden Date: Fri, 2 Sep 2016 13:09:03 +0000 (+0100) 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^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4e65af81177a28c9347e4fa08db65202b54eee8f;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 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.