diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-21 14:26:24 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-21 17:04:56 +0000 |
commit | d14012cbf4a55a66030a51da281cc68fc727d9f6 (patch) | |
tree | 81daaaa08e9fbe74be24abe56a9ec247e0d9c2e7 /meta/recipes-graphics/wayland/mtdev | |
parent | afeea8a616ea43553a7cd6c160d5f8b23ddcfa38 (diff) | |
download | openembedded-core-d14012cbf4a55a66030a51da281cc68fc727d9f6.tar.gz openembedded-core-d14012cbf4a55a66030a51da281cc68fc727d9f6.tar.bz2 openembedded-core-d14012cbf4a55a66030a51da281cc68fc727d9f6.zip |
mtdev: Fix case where ${B} != ${S}
Add patch to allow out of tree builds to work.
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.patch | 24 |
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 @@ +Fix separate build directory builds to avoid the error: + +| make[2]: Entering directory `/media/build1/poky/build/tmp/work/i586-poky-linux/mtdev/1.1.2-r0/build/test' +| 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 +| /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 +| compilation terminated. + +Upstream-Status: Pending + +RP 2013/03/21 + +Index: mtdev/test/Makefile.am +=================================================================== +--- mtdev/test.orig/Makefile.am 2010-12-22 18:10:41.000000000 +0000 ++++ mtdev/test/Makefile.am 2013-03-21 11:47:21.557160981 +0000 +@@ -1,7 +1,7 @@ + noinst_PROGRAMS = mtdev-mapgen mtdev-matching mtdev-kernel + bin_PROGRAMS = mtdev-test + +-INCLUDES=-I$(top_srcdir)/include/ ++INCLUDES=-I$(top_srcdir)/include/ -I$(top_srcdir) + + mtdev_mapgen_SOURCES = mtdev-mapgen.c + |