summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng/lttng-ust
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-ust')
-rw-r--r--meta/recipes-kernel/lttng/lttng-ust/0001-Makefile.am-update-rpath-link.patch35
-rw-r--r--meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch6
-rw-r--r--meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch15
3 files changed, 10 insertions, 46 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-ust/0001-Makefile.am-update-rpath-link.patch b/meta/recipes-kernel/lttng/lttng-ust/0001-Makefile.am-update-rpath-link.patch
deleted file mode 100644
index cbbf1df812..0000000000
--- a/meta/recipes-kernel/lttng/lttng-ust/0001-Makefile.am-update-rpath-link.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From 06279f50e924d1d55b43eb3b299f6633ecb1f7a4 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Wed, 22 Sep 2021 16:33:10 +0800
4Subject: [PATCH] Makefile.am: update rpath link
5
6since commit 6339062 Move liblttng-ust to 'src/lib/',
7liblttng-ust.so/liblttng-ust-common.so/liblttng-ust-tracepoint.so
8's location changed from one dir to multiple dirs. which make below
9error:
10ld: warning: liblttng-ust-common.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)
11ld: warning: liblttng-ust-tracepoint.so.1, needed by ../../../src/lib/lttng-ust/.libs/liblttng-ust.so, not found (try using -rpath or -rpath-link)
12
13Upstream-Status: Submitted [https://github.com/lttng/lttng-ust/pull/61]
14
15Signed-off-by: Changqing Li <changqing.li@windriver.com>
16---
17 doc/examples/Makefile.am | 2 +-
18 1 file changed, 1 insertions(+), 1 deletions(-)
19
20diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
21index 8ee0564..20d246c 100644
22--- a/doc/examples/Makefile.am
23+++ b/doc/examples/Makefile.am
24@@ -142,7 +142,7 @@ all-local:
25 CFLAGS='$(CFLAGS)' \
26 AM_CFLAGS='$(AM_CFLAGS)' \
27 LDFLAGS="$(LDFLAGS)" \
28- AM_LDFLAGS='$(AM_LDFLAGS) -L../../../src/lib/lttng-ust/.libs -Wl,-rpath="$(PWD)/../../src/lib/lttng-ust/.libs/" -Wl,-rpath-link="$(PWD)/../../src/lib/lttng-ust/.libs/"' \
29+ AM_LDFLAGS='$(AM_LDFLAGS) -L../../../src/lib/lttng-ust/.libs -Wl,-rpath="$(PWD)/../../src/lib/lttng-ust/.libs/" -Wl,-rpath-link="$(PWD)/../../src/lib/lttng-ust/.libs/:$(PWD)/../../src/lib/lttng-ust-tracepoint/.libs:$(PWD)/../../src/lib/lttng-ust-common/.libs/"' \
30 LTTNG_GEN_TP_PATH="$$rel_src_subdir$(top_srcdir)/tools/" \
31 AM_V_P="$(AM_V_P)" \
32 AM_V_at="$(AM_V_at)" \
33--
342.17.1
35
diff --git a/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch b/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch
index d3c451fd2b..ceb240680b 100644
--- a/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch
+++ b/meta/recipes-kernel/lttng/lttng-ust/0001-lttng-ust-common-link-with-liburcu-explicitly.patch
@@ -1,4 +1,4 @@
1From 2058584b7e87d6bd9d1765577766e0df7752232c Mon Sep 17 00:00:00 2001 1From 1b6bbf14de8fdfe60e446c93969e29bc2cf5f2dc Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Sun, 5 Sep 2021 10:44:19 +0200 3Date: Sun, 5 Sep 2021 10:44:19 +0200
4Subject: [PATCH] lttng-ust-common: link with liburcu explicitly 4Subject: [PATCH] lttng-ust-common: link with liburcu explicitly
@@ -12,10 +12,10 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de>
12 1 file changed, 1 insertion(+) 12 1 file changed, 1 insertion(+)
13 13
14diff --git a/src/lib/lttng-ust-common/Makefile.am b/src/lib/lttng-ust-common/Makefile.am 14diff --git a/src/lib/lttng-ust-common/Makefile.am b/src/lib/lttng-ust-common/Makefile.am
15index caeea2b..30febf0 100644 15index 1ccc290..6531fa0 100644
16--- a/src/lib/lttng-ust-common/Makefile.am 16--- a/src/lib/lttng-ust-common/Makefile.am
17+++ b/src/lib/lttng-ust-common/Makefile.am 17+++ b/src/lib/lttng-ust-common/Makefile.am
18@@ -15,6 +15,7 @@ liblttng_ust_common_la_SOURCES = \ 18@@ -16,6 +16,7 @@ liblttng_ust_common_la_SOURCES = \
19 19
20 liblttng_ust_common_la_LIBADD = \ 20 liblttng_ust_common_la_LIBADD = \
21 $(top_builddir)/src/common/libcommon.la \ 21 $(top_builddir)/src/common/libcommon.la \
diff --git a/meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch b/meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch
index fd9b6ea7ff..7bbe5c216e 100644
--- a/meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch
+++ b/meta/recipes-kernel/lttng/lttng-ust/0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch
@@ -1,6 +1,6 @@
1From dd1fdc841d069dbd4e284f430a88af79de951124 Mon Sep 17 00:00:00 2001 1From 30660997d220602202d8dc7264e49095a1581947 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com> 2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Thu, 26 Sep 2019 17:54:00 +0800 3Date: Tue, 20 Feb 2024 12:19:06 +0000
4Subject: [PATCH] python-lttngust/Makefile.am: Add --install-lib to setup.py 4Subject: [PATCH] python-lttngust/Makefile.am: Add --install-lib to setup.py
5 5
6Otherwise it may install to /usr/lib, but should be /usr/lib64 when cross 6Otherwise it may install to /usr/lib, but should be /usr/lib64 when cross
@@ -9,21 +9,20 @@ building.
9Upstream-Status: Submitted [https://github.com/lttng/lttng-ust/pull/59] 9Upstream-Status: Submitted [https://github.com/lttng/lttng-ust/pull/59]
10 10
11Signed-off-by: Robert Yang <liezhi.yang@windriver.com> 11Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12
13--- 12---
14 src/python-lttngust/Makefile.am | 2 +- 13 src/python-lttngust/Makefile.am | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
16 15
17diff --git a/src/python-lttngust/Makefile.am b/src/python-lttngust/Makefile.am 16diff --git a/src/python-lttngust/Makefile.am b/src/python-lttngust/Makefile.am
18index f95482d..f76d95b 100644 17index d53e21d..283901e 100644
19--- a/src/python-lttngust/Makefile.am 18--- a/src/python-lttngust/Makefile.am
20+++ b/src/python-lttngust/Makefile.am 19+++ b/src/python-lttngust/Makefile.am
21@@ -32,7 +32,7 @@ install-exec-local: build-python-bindings.stamp 20@@ -45,7 +45,7 @@ install-exec-local: build-python-bindings.stamp
22 if [ "$(DESTDIR)" != "" ]; then \ 21 if [ "$(DESTDIR)" != "" ]; then \
23 opts="$$opts --root=$(DESTDIR)"; \ 22 opts="$$opts --root=$(DESTDIR)"; \
24 fi; \ 23 fi; \
25- $(PYTHON) $(builddir)/setup.py install $$opts; 24- $(PYTHON) $(builddir)/setup.py install $(PY_INSTALL_OPTS) $$opts;
26+ $(PYTHON) $(builddir)/setup.py install $$opts --install-lib=$(pythondir); 25+ $(PYTHON) $(builddir)/setup.py install $(PY_INSTALL_OPTS) $$opts --install-lib=$(pythondir);
27 26
28 clean-local: 27 clean-local:
29 rm -rf $(builddir)/build 28 rm -rf $(builddir)/build