mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-21 10:16:32 +00:00
chore: make use of 'uname -m' to detect host on GNU/Linux
replace uname -p with uname -m to detect HOST_ARCH on HOST_PLATFORM = linux
This commit is contained in:
parent
063fde1a02
commit
003d937a6e
4
Makefile
4
Makefile
@ -66,10 +66,10 @@ else
|
||||
ifeq ($(shell uname -s),Linux)
|
||||
HOST_PLATFORM = linux
|
||||
|
||||
ifeq ($(shell uname -p),x86_64)
|
||||
ifeq ($(shell uname -m),x86_64)
|
||||
HOST_ARCH = x64
|
||||
endif
|
||||
ifneq ($(filter %86,$(shell uname -p)),)
|
||||
ifneq ($(filter %86,$(shell uname -m)),)
|
||||
HOST_ARCH = x86
|
||||
endif
|
||||
ifeq ($(shell uname -m),armv7l)
|
||||
|
Loading…
x
Reference in New Issue
Block a user