From: Jackie Huang <jackie.hu...@windriver.com>

Allow the ${PN} package to be created empty to avoid error like:
ERROR: bigreqsproto not found in the base feeds (intel_x86_64 core2-64
x86_64 noarch any all).

Signed-off-by: Jackie Huang <jackie.hu...@windriver.com>
---
 meta/recipes-graphics/xorg-proto/xorg-proto-common.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc 
b/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
index 7a417c9..3f43189 100644
--- a/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
+++ b/meta/recipes-graphics/xorg-proto/xorg-proto-common.inc
@@ -22,5 +22,7 @@ PACKAGECONFIG ??= ""
 PACKAGECONFIG[xmlto] = "--with-xmlto, --without-xmlto, xmlto-native 
docbook-xml-dtd4-native docbook-xsl-stylesheets-native"
 
 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
+# and allow ${PN} to be created empty
+ALLOW_EMPTY_${PN} = "1"
 RDEPENDS_${PN}-dev = ""
 RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
-- 
1.9.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to