summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/liburcu/files
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-10-31 08:17:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-08 17:31:36 +0000
commit4feed78e5ee8441a87a126b377ca464ac2c49db6 (patch)
treef65763f38db5d4ceb97f9388e01895361269bc6c /meta/recipes-support/liburcu/files
parent32c1180c88e6845156ee170d68b86d7c55d31ff5 (diff)
downloadpoky-4feed78e5ee8441a87a126b377ca464ac2c49db6.tar.gz
liburcu: upgrade to 0.8.0
Fix case where ${B} != ${S}; add patch to allow out of tree doc exemples build to work Add patch to remove CC=gcc when CC is defined, in order to use the cross compiler. (From OE-Core rev: 4b2aa17a5c5d2ccf9824a4d2fd71f600b18ba2f2) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/liburcu/files')
-rw-r--r--meta/recipes-support/liburcu/files/fixCCflag.patch20
-rw-r--r--meta/recipes-support/liburcu/files/fixsepbuild.patch19
2 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-support/liburcu/files/fixCCflag.patch b/meta/recipes-support/liburcu/files/fixCCflag.patch
new file mode 100644
index 0000000000..2e526d4517
--- /dev/null
+++ b/meta/recipes-support/liburcu/files/fixCCflag.patch
@@ -0,0 +1,20 @@
1Upstream-Status: Pending
2
3Use cross compiler for doc exemples too
4
5Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
6
7Index: userspace-rcu-0.8.0/doc/examples/Makefile.examples.template
8===================================================================
9--- userspace-rcu-0.8.0.orig/doc/examples/Makefile.examples.template 2013-08-30 21:25:20.000000000 +0300
10+++ userspace-rcu-0.8.0/doc/examples/Makefile.examples.template 2013-10-23 13:34:30.405550556 +0300
11@@ -11,7 +11,9 @@
12 #
13 # This makefile is purposefully kept simple to support GNU and BSD make.
14
15+ifndef CC
16 CC = gcc
17+endif
18 CFLAGS = -g -O2 -Wall
19
20 all: $(BINARY)
diff --git a/meta/recipes-support/liburcu/files/fixsepbuild.patch b/meta/recipes-support/liburcu/files/fixsepbuild.patch
new file mode 100644
index 0000000000..9cd0ab9e73
--- /dev/null
+++ b/meta/recipes-support/liburcu/files/fixsepbuild.patch
@@ -0,0 +1,19 @@
1Upstream-Status: Pending
2
3Fix out of tree build for doc examples
4
5Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
6
7Index: userspace-rcu-0.8.0/doc/examples/Makefile.am
8===================================================================
9--- userspace-rcu-0.8.0.orig/doc/examples/Makefile.am 2013-08-30 21:25:20.000000000 +0300
10+++ userspace-rcu-0.8.0/doc/examples/Makefile.am 2013-10-21 17:52:34.774597179 +0300
11@@ -128,7 +128,7 @@
12 cp -fR $(srcdir)/$$subdir $(builddir); \
13 done; \
14 fi
15- $(MAKE) -f dist-files/Makefile AM_CPPFLAGS="$(CPPFLAGS) -I../../../urcu/ -I../../../" AM_CFLAGS='$(CFLAGS)' AM_LDFLAGS='$(LDFLAGS) -L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all
16+ $(MAKE) -f dist-files/Makefile AM_CPPFLAGS="$(CPPFLAGS) -I$(top_srcdir) -I../../../urcu/ -I../../../" AM_CFLAGS='$(CFLAGS)' AM_LDFLAGS='$(LDFLAGS) -L../../../.libs/ -Wl,-rpath="$(PWD)/../../.libs/"' $(AM_MAKEFLAGS) all
17
18 clean-local:
19 $(MAKE) -f dist-files/Makefile $(AM_MAKEFLAGS) clean