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:
5992115
)
Reduce `uname -m` down to what the build system
author
Shawn Landden
<shawnlandden@gmail.com>
Mon, 10 Feb 2020 15:21:52 +0000
(16:21 +0100)
committer
Sophie Brun
<sophie@offensive-security.com>
Mon, 18 Jul 2022 09:08:11 +0000
(10:08 +0100)
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 4f0dee4145abfb6062f4c33db95e950c3e076ae3..218437f34e1a79717593b73f1b9afa8a0e9b08fa 100644
(file)
--- 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.