libpthread-stubs: should set ALLOW_EMPTY

Submitted by Ming Liu on Jan. 6, 2014, 8:12 a.m.

Details

Message ID 1388995953-18814-1-git-send-email-ming.liu@windriver.com
State Accepted
Commit 53efd76f7955375986a036924513bb374a918f0b
Headers show

Commit Message

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 hide | download patch | download mbox

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"