summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland/mtdev
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-21 14:26:24 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-22 16:54:36 +0000
commitdfc25eb699346405a2ff83326c22bed2b1574c90 (patch)
treea869baa84c06335477c7c6966982760e284f3cb3 /meta/recipes-graphics/wayland/mtdev
parent55de04d1470e6c04ae2859621414697ec5d428e3 (diff)
downloadpoky-dfc25eb699346405a2ff83326c22bed2b1574c90.tar.gz
mtdev: Fix case where ${B} != ${S}
Add patch to allow out of tree builds to work. (From OE-Core rev: d14012cbf4a55a66030a51da281cc68fc727d9f6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/wayland/mtdev')
-rw-r--r--meta/recipes-graphics/wayland/mtdev/fixsepbuild.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/mtdev/fixsepbuild.patch b/meta/recipes-graphics/wayland/mtdev/fixsepbuild.patch
new file mode 100644
index 0000000000..00a5c27560
--- /dev/null
+++ b/meta/recipes-graphics/wayland/mtdev/fixsepbuild.patch
@@ -0,0 +1,24 @@
1Fix separate build directory builds to avoid the error:
2
3| make[2]: Entering directory `/media/build1/poky/build/tmp/work/i586-poky-linux/mtdev/1.1.2-r0/build/test'
4| i586-poky-linux-gcc -m32 -march=i586 --sysroot=/media/build1/poky/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. -I/media/build1/poky/build/tmp/work/i586-poky-linux/mtdev/1.1.2-r0/mtdev-1.1.2/test -I.. -I/media/build1/poky/build/tmp/work/i586-poky-linux/mtdev/1.1.2-r0/mtdev-1.1.2/include/ -O2 -pipe -g -feliminate-unused-debug-types -c /media/build1/poky/build/tmp/work/i586-poky-linux/mtdev/1.1.2-r0/mtdev-1.1.2/test/mtdev-matching.c
5| /media/build1/poky/build/tmp/work/i586-poky-linux/mtdev/1.1.2-r0/mtdev-1.1.2/test/mtdev-matching.c:29:23: fatal error: src/match.h: No such file or directory
6| compilation terminated.
7
8Upstream-Status: Pending
9
10RP 2013/03/21
11
12Index: mtdev/test/Makefile.am
13===================================================================
14--- mtdev/test.orig/Makefile.am 2010-12-22 18:10:41.000000000 +0000
15+++ mtdev/test/Makefile.am 2013-03-21 11:47:21.557160981 +0000
16@@ -1,7 +1,7 @@
17 noinst_PROGRAMS = mtdev-mapgen mtdev-matching mtdev-kernel
18 bin_PROGRAMS = mtdev-test
19
20-INCLUDES=-I$(top_srcdir)/include/
21+INCLUDES=-I$(top_srcdir)/include/ -I$(top_srcdir)
22
23 mtdev_mapgen_SOURCES = mtdev-mapgen.c
24