diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2013-02-26 17:24:12 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-26 08:02:28 -0800 |
commit | db3b539218e4ca9b348fe1338a50d91aced55c7f (patch) | |
tree | 5eb424e26e5d241417c7e3dc1d6894a8f3892097 /meta/recipes-kernel | |
parent | 914e32458271df5046b47ae9c9ba29d444a89019 (diff) | |
download | poky-db3b539218e4ca9b348fe1338a50d91aced55c7f.tar.gz |
lttng-ust: cannot find -llttng-ust-tracepoint
liblttng_ust.la should depend on liblttng-ust-tracepoint.la, otherwise
there maybe a parallel build issue when building liblttng_ust.la:
ld: cannot find -llttng-ust-tracepoint
[YOCTO #3934]
(From OE-Core rev: b947dbc72b3cd03901112c1bab6ac0b81f1b374f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-ust/depends-liblttng-ust-tracepoin.patch | 30 | ||||
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-ust_2.1.0.bb | 4 |
2 files changed, 33 insertions, 1 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-ust/depends-liblttng-ust-tracepoin.patch b/meta/recipes-kernel/lttng/lttng-ust/depends-liblttng-ust-tracepoin.patch new file mode 100644 index 0000000000..458a8d47e6 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-ust/depends-liblttng-ust-tracepoin.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | liblttng_ust.la should depend on liblttng-ust-tracepoint.la | ||
2 | |||
3 | liblttng_ust.la should depend on liblttng-ust-tracepoint.la, otherwise | ||
4 | there maybe a parallel build issue: | ||
5 | |||
6 | ld: cannot find -llttng-ust-tracepoint | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
11 | --- | ||
12 | liblttng-ust/Makefile.am | 3 ++- | ||
13 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/liblttng-ust/Makefile.am b/liblttng-ust/Makefile.am | ||
16 | --- a/liblttng-ust/Makefile.am | ||
17 | +++ b/liblttng-ust/Makefile.am | ||
18 | @@ -67,7 +67,8 @@ liblttng_ust_la_LIBADD = \ | ||
19 | -llttng-ust-tracepoint \ | ||
20 | $(top_builddir)/snprintf/libustsnprintf.la \ | ||
21 | $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \ | ||
22 | - liblttng-ust-runtime.la liblttng-ust-support.la | ||
23 | + liblttng-ust-runtime.la liblttng-ust-support.la \ | ||
24 | + liblttng-ust-tracepoint.la | ||
25 | |||
26 | if LTTNG_UST_BUILD_WITH_LIBUUID | ||
27 | liblttng_ust_la_LIBADD += -luuid | ||
28 | -- | ||
29 | 1.7.11.2 | ||
30 | |||
diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.1.0.bb b/meta/recipes-kernel/lttng/lttng-ust_2.1.0.bb index 20c8b3d7cb..6c2ca04bcc 100644 --- a/meta/recipes-kernel/lttng/lttng-ust_2.1.0.bb +++ b/meta/recipes-kernel/lttng/lttng-ust_2.1.0.bb | |||
@@ -22,7 +22,9 @@ PV = "2.1.0" | |||
22 | PR = "r0" | 22 | PR = "r0" |
23 | PE = "2" | 23 | PE = "2" |
24 | 24 | ||
25 | SRC_URI = "git://git.lttng.org/lttng-ust.git;protocol=git" | 25 | SRC_URI = "git://git.lttng.org/lttng-ust.git;protocol=git \ |
26 | file://depends-liblttng-ust-tracepoin.patch \ | ||
27 | " | ||
26 | 28 | ||
27 | S = "${WORKDIR}/git" | 29 | S = "${WORKDIR}/git" |
28 | 30 | ||