From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 5/7] Makefile: Fix up AUDIT_ARCH for armv6l, armv7l Date: Sat, 26 Feb 2022 23:56:44 +0100 Message-ID: <20220226225646.1905417-6-sbrivio@redhat.com> In-Reply-To: <20220226225646.1905417-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1667995781008339776==" --===============1667995781008339776== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit There's a single AUDIT_ARCH_ARM define available (and big-endian shouldn't be a concern with those). Signed-off-by: Stefano Brivio --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 28ef316..031b684 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ RLIMIT_STACK_VAL := 1024 endif AUDIT_ARCH := $(shell uname -m | tr [a-z] [A-Z]) +AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/^ARM.*/ARM/') AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/I[456]86/I386/') AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/PPC64/PPC/') AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/PPCLE/PPC64LE/') -- 2.34.1 --===============1667995781008339776==--