[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] xen/arm: use BSD sed compatible regexp in SRCARCH


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Date: Thu, 5 Feb 2026 15:59:13 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FAgvj105r1XUSES0+bqszkrt5vEC6Yy3AtKCOMh/jsA=; b=BQkYWwtcXbUHpD9vhOwJb3rqQrRz6rN9irb+YA/7Ner+BGEkjR66FAXMvzpfrlawpCcwPHDt+QuJ93bIWmD9RxrvhH3wj86s6+gOWGx37qNZAbcO3VqKbNyDjg9rbConYlhNNI9p4pMJaiUnMVHQenzlL27q6DTCa6YeW6WcmzHiFJaQc/NTjaWCmx71izc4shYXZjwLme4Vfg/7LAu0ypHgnQt5kxEQbdxhR/ENMXAvWmRN1owrxErQUiJ/gJgUBw9yinjYY95KQjroiIFUZ/NWxU638AOtzyloSlmkylAM7bft/n/G9L/E5QCn5LnkaBP3b87hQLILQl6wGDdszg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=leG5IRQ6WELDIGCanNZWE18Bnb3BsoG+acjEonnE28yWRxjODgUcNzDfT+UrXD5O2u5TiA8h0y9qLXSuFyeq4zRIf36FmNRFmXu2aIWr0jUB+R2+KMaMFQf559L+C2IZoGxLPShrKMzOt3l/6wJ9W7U0wKLxaHlkcXmt4t0uf/IipkdCV9IX14pz6CYFwTRQbPmUBoVmGG6Wi54NIfCUpk71NOhQ87hbK/zg6VW4WtM6DQagdn8uXPcoSqabOGmaswhLhOfADd8yxPvFTVJ4NTeqfT1HtNJDqhkZRGOMCIaTZ/c2CzJofACKKdlPja81mgJbxfpwL2JETQOotBJMDQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Thu, 05 Feb 2026 14:59:38 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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@xxxxxxxxxx>
---
 xen/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/Makefile b/xen/Makefile
index 13e336ba5484..31352d4cd260 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -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
 
-- 
2.51.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.