[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251030173058.27713-1-vacacax16@gmail.com>
Date: Thu, 30 Oct 2025 20:30:58 +0300
From: pgnmirror <vacacax16@...il.com>
To: linux-kernel@...r.kernel.org
Cc: pgnmirror <vacacax16@...il.com>,
	zntsproj <vseokaktusah7@...il.com>
Subject: [PATCH] tools/perf/tests/make: use IS_64_BIT for generic lib dir
Use the IS_64_BIT flag to set the lib directory generically for all architectures.
Previously, this logic was hardcoded for x86/x86_64 only.
Signed-off-by: zntsproj <vseokaktusah7@...il.com>
---
 tools/perf/tests/make | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tools/perf/tests/make b/tools/perf/tests/make
index b650ce886..64066e011 100644
--- a/tools/perf/tests/make
+++ b/tools/perf/tests/make
@@ -53,9 +53,8 @@ endif
 
 include $(srctree)/tools/scripts/Makefile.arch
 
-# FIXME looks like x86 is the only arch running tests ;-)
-# we need some IS_(32/64) flag to make this generic
-ifeq ($(ARCH)$(IS_64_BIT), x861)
+# use IS_64_BIT to select lib/lib64 generically for all architectures
+ifeq ($(IS_64_BIT), 1)
 lib = lib64
 else
 lib = lib
-- 
2.51.2
Powered by blists - more mailing lists
 
