projects
/
vboot-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaae995
)
Reduce `uname -m` down to what the build system
author
Shawn Landden
<shawnlandden@gmail.com>
Tue, 6 Feb 2018 15:29:11 +0000
(15:29 +0000)
committer
Raphaël Hertzog
<hertzog@debian.org>
Tue, 6 Feb 2018 15:29:11 +0000
(15:29 +0000)
Last-Update: 2013-01-28
expects
Last-Update: 2013-01-28
Gbp-Pq: Name 0002-reduce-uname-down.patch
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 013c6d8a983562853c46edc460bd25873af13e40..efd349eb4966e37f7c873887fbec4ada34cd1332 100644
(file)
--- 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.