]> code.ossystems Code Review - openembedded-core.git/commitdiff
libpthread-stubs: should set ALLOW_EMPTY
authorMing Liu <ming.liu@windriver.com>
Mon, 6 Jan 2014 08:12:33 +0000 (16:12 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Jan 2014 16:30:00 +0000 (16:30 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb

index ad046d19c8e63f69a5b57a6596bf2cedb6d6a6c3..3e7ef27bed74a6099765f15b81aaba39a8ec8460 100644 (file)
@@ -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"