diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-30 08:51:23 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-30 08:51:23 +0100 |
| commit | 0e9f8e2dd6ee757984e6b185c9fd0daae3d3a553 (patch) | |
| tree | 14908c90a46c7070d1f868e2b572fc006564861a | |
| parent | 4225f3c8da03c36cb988c56ebe7fd6bc1d88b8fe (diff) | |
silences which complaining if no arch
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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/) |
