From 0e9f8e2dd6ee757984e6b185c9fd0daae3d3a553 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Tue, 30 Jun 2026 08:51:23 +0100 Subject: [PATCH] silences which complaining if no arch --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d4cbb5b..0de2cae 100644 --- a/Makefile +++ b/Makefile @@ -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/)