linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtla: Fix cross building
@ 2023-01-20  7:08 Johannes Schauer Marin Rodrigues
  2023-02-01 19:31 ` Steven Rostedt
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Schauer Marin Rodrigues @ 2023-01-20  7:08 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: Johannes Schauer Marin Rodrigues

For a successful cross-build, the host-architecture version of
pkg-config must be used or otherwise host architecture headers of
libtracefs and libtraceevent will not be found.

Signed-off-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
---
 tools/tracing/rtla/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/tracing/rtla/Makefile b/tools/tracing/rtla/Makefile
index 22e28b76f800..26ebd46ec29c 100644
--- a/tools/tracing/rtla/Makefile
+++ b/tools/tracing/rtla/Makefile
@@ -18,7 +18,7 @@ endef
 $(call allow-override,CC,$(CROSS_COMPILE)gcc)
 $(call allow-override,AR,$(CROSS_COMPILE)ar)
 $(call allow-override,STRIP,$(CROSS_COMPILE)strip)
-$(call allow-override,PKG_CONFIG,pkg-config)
+$(call allow-override,PKG_CONFIG,$(CROSS_COMPILE)pkg-config)
 $(call allow-override,LD_SO_CONF_PATH,/etc/ld.so.conf.d/)
 $(call allow-override,LDCONFIG,ldconfig)
 
-- 
2.39.0


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

end of thread, other threads:[~2023-02-01 20:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-20  7:08 [PATCH] rtla: Fix cross building Johannes Schauer Marin Rodrigues
2023-02-01 19:31 ` Steven Rostedt
2023-02-01 20:25   ` Johannes Schauer Marin Rodrigues
2023-02-01 20:54     ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).