From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine dis=none) header.from=wundrak.net Authentication-Results: passt.top; dkim=pass (2048-bit key; unprotected) header.d=wundrak.net header.i=@wundrak.net header.a=rsa-sha256 header.s=default header.b=lE9lNXtw; dkim-atps=neutral Received: from mailgateway.wundrak.net (mailgateway.wundrak.net [IPv6:2a01:4f8:272:3e9c:2:20:0:9]) by passt.top (Postfix) with ESMTPS id 46F365A0008 for ; Wed, 26 Mar 2025 21:18:02 +0100 (CET) Received: from mailgateway.wundrak.net (localhost [127.0.0.1]) by mailgateway.wundrak.net (Proxmox) with ESMTP id CAB0531353 for ; Wed, 26 Mar 2025 20:19:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wundrak.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :from:from:message-id:mime-version:reply-to:subject:subject:to :to; s=default; bh=D7KJ6iX59Cx49WufQjLpkeq+/0rr+rU4+Pwk7i/zV3A=; b= lE9lNXtww494GYNyq1OVvs70KsIQoFFUBe/ratO3RyUSsWGaqdELXmrN4LaPOnl0 4nrORoZJ1svI2ZFBHZ23WhKbvYU1+sm8AL0LJuOhHuvhwBhKEQqekFYGQZRWBD7j QM90DGmUXNxOOC/MvZBEBUUCRTH+OoRhA9aG/6oYl8KmsUVhG/yQEvxUCGi2rPJw z+UJVee8nLaa1g9VnYGe/LyFP8UIElRAl5vuYhdIjE3BPh+2B7jUpG9NKb5dABwL e2JwWBzQpWlfc8Rm/joyuuskGIvMAJOD0PIkxg1JT6+BHB69AmaVoyOxkSaEG8wb 7N/p2qNEfs13ShcW8MDrqA== Received: from mail.wundrak.net (unknown [10.2.20.5]) by mailgateway.wundrak.net (Proxmox) with ESMTPS id B601F313D5 for ; Wed, 26 Mar 2025 20:19:19 +0000 (UTC) Received: from localhost (ip6-localhost [IPv6:::1]) by mail.wundrak.net (Postfix) with ESMTP id 47F6D14004E for ; Wed, 26 Mar 2025 20:18:02 +0000 (UTC) Received: from mail.wundrak.net ([IPv6:::1]) by localhost (mail.wundrak.net [IPv6:::1]) (amavis, port 10032) with ESMTP id cNEQvpUXb04G; Wed, 26 Mar 2025 20:18:02 +0000 (UTC) Received: from localhost (ip6-localhost [IPv6:::1]) by mail.wundrak.net (Postfix) with ESMTP id 1806614004F; Wed, 26 Mar 2025 20:18:02 +0000 (UTC) X-Virus-Scanned: amavis at wundrak.net Received: from mail.wundrak.net ([IPv6:::1]) by localhost (mail.wundrak.net [IPv6:::1]) (amavis, port 10026) with ESMTP id bMAwDGAih67Z; Wed, 26 Mar 2025 20:18:02 +0000 (UTC) Received: from build-rpi2.. (unknown [IPv6:2a01:4f8:272:3e9c:90:0:33:2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mail.wundrak.net (Postfix) with ESMTPSA id DE72D14004E; Wed, 26 Mar 2025 20:18:01 +0000 (UTC) From: Julian Wundrak To: passt-dev@passt.top Subject: [PATCH] build: normalize arm targets Date: Wed, 26 Mar 2025 20:14:31 +0000 Message-ID: <20250326201431.4301-2-julian@wundrak.net> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-MailFrom: julian@wundrak.net X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation Message-ID-Hash: OFRP5S4WFJODA4U2EHPN2ELA3LJEPNKY X-Message-ID-Hash: OFRP5S4WFJODA4U2EHPN2ELA3LJEPNKY X-Mailman-Approved-At: Wed, 26 Mar 2025 21:25:00 +0100 CC: Julian Wundrak X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Linux distributions use different dumpmachine outputs for the ARM architecture. arm, armv6l, armv7l. For the syscall annotation, these variants are standardized to =E2=80=9Ca= rm=E2=80=9D. Signed-off-by: Julian Wundrak --- Hey everyone, This resolves bug #117.=20 I hope I did everything correctly, because this is the first time I have had to submit a patch via git send emails. Julian Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 31cbac3..1b83234 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ $(if $(TARGET),,$(error Failed to get target architectu= re)) # Get 'uname -m'-like architecture description for target TARGET_ARCH :=3D $(firstword $(subst -, ,$(TARGET))) TARGET_ARCH :=3D $(patsubst [:upper:],[:lower:],$(TARGET_ARCH)) +TARGET_ARCH :=3D $(patsubst arm%,arm,$(TARGET)) TARGET_ARCH :=3D $(subst powerpc,ppc,$(TARGET_ARCH)) =20 # On some systems enabling optimization also enables source fortificatio= n, --=20 2.49.0