All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v4 1/1] package/linux-tools: use PKG_CONFIG_LIBDIR in perf make flags
@ 2025-04-03 22:44 Vasileios Amoiridis
  2025-04-19 21:40 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Vasileios Amoiridis @ 2025-04-03 22:44 UTC (permalink / raw)
  To: buildroot; +Cc: Vasileios Amoiridis

After commit 440cf77625e300e683ca0edc39fbc4b6f3175feb ("perf:
build: Setup PKG_CONFIG_LIBDIR for cross compilation") in the
Linux Kernel it is needed to add PKG_CONFIG_LIBDIR in the
make flags to avoid warnings from the Kernel, such as:

        Makefile.perf:207: Missing PKG_CONFIG_LIBDIR,
        PKG_CONFIG_PATH and PKG_CONFIG_SYSROOT_DIR for
        cross compilation,
        Makefile.perf:208: set PKG_CONFIG_LIBDIR for using
        Multiarch libs.

Signed-off-by: Vasileios Amoiridis <vassilisamir@gmail.com>
---
 package/linux-tools/linux-tool-perf.mk.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/linux-tools/linux-tool-perf.mk.in b/package/linux-tools/linux-tool-perf.mk.in
index d67318571a..1526652ce4 100644
--- a/package/linux-tools/linux-tool-perf.mk.in
+++ b/package/linux-tools/linux-tool-perf.mk.in
@@ -20,6 +20,7 @@ endif
 
 PERF_MAKE_FLAGS = \
 	$(LINUX_MAKE_FLAGS) \
+	PKG_CONFIG_LIBDIR=$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig \
 	JOBS=$(PARALLEL_JOBS) \
 	ARCH=$(PERF_ARCH) \
 	DESTDIR=$(TARGET_DIR) \
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-05 22:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-03 22:44 [Buildroot] [PATCH v4 1/1] package/linux-tools: use PKG_CONFIG_LIBDIR in perf make flags Vasileios Amoiridis
2025-04-19 21:40 ` Thomas Petazzoni via buildroot
2025-05-05 22:15   ` Vasileios Amoiridis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.