[OE-core] [PATCH] xorg-proto-common: allow the empty package

jackie.huang at windriver.com jackie.huang at windriver.com
Wed Jul 1 07:52:21 UTC 2015


From: Jackie Huang <jackie.huang at 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.huang at 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




More information about the Openembedded-core mailing list