silences which complaining if no arch
This commit is contained in:
@@ -4,7 +4,7 @@ include config.mk
|
||||
# VARIABLES #
|
||||
#############
|
||||
|
||||
CPU_ARCH := $(if $(shell which arch),\
|
||||
CPU_ARCH := $(if $(shell which arch 2>/dev/null),\
|
||||
$(shell arch),\
|
||||
$(shell lscpu | grep ^Architecture: | sed "s/^Architecture:[[:space:]]*\([[:alnum:][:punct:]]\+\).*/\1/"))
|
||||
IMAGE_PREFIX := $(if $(filter armv7%,$(CPU_ARCH)),armv7/)
|
||||
|
||||
Reference in New Issue
Block a user