xen/arm: use BSD sed compatible regexp in SRCARCH

Convert the ARM SRCARCH variable setting to use the more common 'arm.*'
expression rather 'arm\(32\|64\)', as the later doesn't work with BSD sed
for not being a basic regular expression.  The usage of | alternations is
not part of basic regexp support.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
This commit is contained in:
Roger Pau Monne committed 2026-02-05 21:27:40 +01:00
1 parent 8a9255405c
commit d44ec1b10c
1 file changed
+1 -1
+1 -1
View File
@@ -242,7 +242,7 @@ include $(XEN_ROOT)/Config.mk
ARCH := $(XEN_TARGET_ARCH)
SRCARCH := $(shell echo $(ARCH) | \
sed -e 's/x86.*/x86/' -e 's/arm\(32\|64\)/arm/g' \
sed -e 's/x86.*/x86/' -e 's/arm.*/arm/g' \
-e 's/riscv.*/riscv/g' -e 's/ppc.*/ppc/g')
export ARCH SRCARCH
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.