summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/wayland/weston
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-03 17:47:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-09 00:12:42 -0700
commit5191ab6962712908e1aa1dca0d4253fb278366c2 (patch)
treebd0eb2c710db87c220f6d543dff8b93bab12b73e /meta/recipes-graphics/wayland/weston
parentad4d3b1da190cf08c6ac5f9a94a2a1c4980a184d (diff)
downloadopenembedded-core-5191ab6962712908e1aa1dca0d4253fb278366c2.tar.gz
openembedded-core-5191ab6962712908e1aa1dca0d4253fb278366c2.tar.bz2
openembedded-core-5191ab6962712908e1aa1dca0d4253fb278366c2.zip
weston: Fix parallel make race
The current approach used by the Makefile ends up installing weston.desktop twice and can give build failures when using parallel make flags. Change to just have one DATA reference. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/wayland/weston')
-rw-r--r--meta/recipes-graphics/wayland/weston/parallelmake.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/weston/parallelmake.patch b/meta/recipes-graphics/wayland/weston/parallelmake.patch
new file mode 100644
index 0000000000..34d7512b9e
--- /dev/null
+++ b/meta/recipes-graphics/wayland/weston/parallelmake.patch
@@ -0,0 +1,22 @@
+The current approach used by the Makefile ends up installing
+weston.desktop twice and can give build failures when using
+parallel make flags. Change to just have one DATA reference.
+
+RP
+2015/8/3
+Upstream-Status: Pending
+
+Index: weston-1.8.0/Makefile.am
+===================================================================
+--- weston-1.8.0.orig/Makefile.am
++++ weston-1.8.0/Makefile.am
+@@ -179,8 +179,7 @@ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = src/weston.pc
+
+ wayland_sessiondir = $(datadir)/wayland-sessions
+-wayland_session_DATA = src/weston.desktop
+-dist_wayland_session_DATA = $(wayland_session_DATA)
++dist_wayland_session_DATA = src/weston.desktop
+
+ westonincludedir = $(includedir)/weston
+ westoninclude_HEADERS = \