summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-21 11:09:58 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-06-21 13:06:14 +0200
commit12cdf070d210f4a66ad2851d933a432d66d1f2b3 (patch)
tree1ed69e62ca575a035294a460188634602c76c130 /meta-oe
parent01eb0f919275c36db2ac6066a1158c17cce8ba95 (diff)
downloadmeta-openembedded-12cdf070d210f4a66ad2851d933a432d66d1f2b3.tar.gz
talloc: fix build with B!=S
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/talloc/talloc/sepbuild.patch27
-rw-r--r--meta-oe/recipes-support/talloc/talloc_2.0.1.bb7
2 files changed, 29 insertions, 5 deletions
diff --git a/meta-oe/recipes-support/talloc/talloc/sepbuild.patch b/meta-oe/recipes-support/talloc/talloc/sepbuild.patch
new file mode 100644
index 000000000..05506c342
--- /dev/null
+++ b/meta-oe/recipes-support/talloc/talloc/sepbuild.patch
@@ -0,0 +1,27 @@
1Index: talloc-2.0.1/Makefile.in
2===================================================================
3--- talloc-2.0.1.orig/Makefile.in
4+++ talloc-2.0.1/Makefile.in
5@@ -33,8 +33,8 @@ EXPORTSFILE = @EXPORTSFILE@
6
7 all:: showflags $(EXTRA_TARGETS)
8
9-include $(tallocdir)/rules.mk
10-include $(tallocdir)/talloc.mk
11+include $(srcdir)/$(tallocdir)/rules.mk
12+include $(srcdir)/$(tallocdir)/talloc.mk
13
14 @TALLOC_COMPAT1_MK@
15
16Index: talloc-2.0.1/libtalloc.m4
17===================================================================
18--- talloc-2.0.1.orig/libtalloc.m4
19+++ talloc-2.0.1/libtalloc.m4
20@@ -33,6 +33,6 @@ if test $ac_cv_sizeof_size_t -lt $ac_cv_
21 fi
22
23 if test x"$VERSIONSCRIPT" != "x"; then
24- EXPORTSFILE=talloc.exports
25+ EXPORTSFILE=$srcdir/$tallocdir/talloc.exports
26 AC_SUBST(EXPORTSFILE)
27 fi
diff --git a/meta-oe/recipes-support/talloc/talloc_2.0.1.bb b/meta-oe/recipes-support/talloc/talloc_2.0.1.bb
index 6b7e4f1cf..62bda71e6 100644
--- a/meta-oe/recipes-support/talloc/talloc_2.0.1.bb
+++ b/meta-oe/recipes-support/talloc/talloc_2.0.1.bb
@@ -7,6 +7,7 @@ inherit autotools pkgconfig
7 7
8SRC_URI = "http://samba.org/ftp/${BPN}/${BPN}-${PV}.tar.gz \ 8SRC_URI = "http://samba.org/ftp/${BPN}/${BPN}-${PV}.tar.gz \
9 file://install-swig-interface-in-SWINGLIBDIR.patch \ 9 file://install-swig-interface-in-SWINGLIBDIR.patch \
10 file://sepbuild.patch \
10" 11"
11SRC_URI[md5sum] = "c6e736540145ca58cb3dcb42f91cf57b" 12SRC_URI[md5sum] = "c6e736540145ca58cb3dcb42f91cf57b"
12SRC_URI[sha256sum] = "5b810527405f29d54f50efd78bf2c89e318f2cd8bed001f22f2a1412fd27c9b4" 13SRC_URI[sha256sum] = "5b810527405f29d54f50efd78bf2c89e318f2cd8bed001f22f2a1412fd27c9b4"
@@ -15,11 +16,7 @@ TARGET_CC_ARCH += "${LDFLAGS}"
15 16
16PR = "r2" 17PR = "r2"
17 18
18# autoreconf doesn't work well while reconfiguring included libreplace 19EXTRA_AUTORECONF = "--exclude=autopoint --exclude=aclocal"
19do_configure () {
20 gnu-configize
21 oe_runconf
22}
23 20
24do_install_prepend() { 21do_install_prepend() {
25 # Hack the way swig interface for talloc is installed 22 # Hack the way swig interface for talloc is installed