Patchwork libpthread-stubs: should set ALLOW_EMPTY

login
register
mail settings
Submitter Ming Liu
Date Jan. 6, 2014, 8:12 a.m.
Message ID <1388995953-18814-1-git-send-email-ming.liu@windriver.com>
Download mbox | patch
Permalink /patch/64129/
State Accepted
Commit 741a8941625a978ce877fd833463903eb31011be
Headers show

Comments

Ming Liu - Jan. 6, 2014, 8:12 a.m.
The package might be empty while pthread functions are being provided by
libc, so we need set ALLOW_EMPTY with it or it will break do_rootfs task.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
---
 .../xorg-lib/libpthread-stubs_0.3.bb               |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb b/meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb
index ad046d1..3e7ef27 100644
--- a/meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb
+++ b/meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb
@@ -11,6 +11,8 @@  PARALLEL_MAKE = ""
 #DEPENDS = "xcb-proto xproto libxau libxslt-native"
 # DEPENDS += "xsltproc-native gperf-native"
 
+ALLOW_EMPTY_${PN} = "1"
+
 SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2"
 
 SRC_URI[md5sum] = "e8fa31b42e13f87e8f5a7a2b731db7ee"