summaryrefslogtreecommitdiff
path: root/tools/scripts/Makefile.arch
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2024-12-09 09:56:45 -0500
committerRodrigo Vivi <rodrigo.vivi@intel.com>2024-12-09 09:59:47 -0500
commitbc893280751ab566892399fe4e81a9a67a4097be (patch)
treeb67f2114392d7888adb463a30fe2e368ccb90697 /tools/scripts/Makefile.arch
parent26bba754539a274fb4905cb07d244ca291bcc5d0 (diff)
parentfac04efc5c793dccbd07e2d59af9f90b7fc0dca4 (diff)
Merge drm/drm-next into drm-xe-next
Catch up with -rc2 and fixing namespace conflict issue caused by commit cdd30ebb1b9f ("module: Convert symbol namespace to string literal") and commit 0c45e76fcc62 ("drm/xe/vsec: Support BMG devices") Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/scripts/Makefile.arch')
-rw-r--r--tools/scripts/Makefile.arch4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/scripts/Makefile.arch b/tools/scripts/Makefile.arch
index f6a50f06dfc4..eabfe9f411d9 100644
--- a/tools/scripts/Makefile.arch
+++ b/tools/scripts/Makefile.arch
@@ -7,8 +7,8 @@ HOSTARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \
-e s/sh[234].*/sh/ -e s/aarch64.*/arm64/ \
-e s/riscv.*/riscv/ -e s/loongarch.*/loongarch/)
-ifndef ARCH
-ARCH := $(HOSTARCH)
+ifeq ($(strip $(ARCH)),)
+override ARCH := $(HOSTARCH)
endif
SRCARCH := $(ARCH)