[oe-commits] Kai Kang : ndisc6: allow the package can be empty

git at git.openembedded.org git at git.openembedded.org
Sat Apr 26 00:17:17 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: 182c235bd97cfeda861fccda3634104a61bf5e79
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=182c235bd97cfeda861fccda3634104a61bf5e79

Author: Kai Kang <kai.kang at windriver.com>
Date:   Mon Apr 21 14:24:52 2014 +0800

ndisc6: allow the package can be empty

FILES_${PN} is set to null in original .bb file, this would cause
ndisc6 main package is missing, then one build error will happen:

ERROR: ndisc6 not found in the base feeds (qemux86 i586 x86 noarch any all).

To fix this, need to set ALLOW_EMPTY_${PN} = "1".

Signed-off-by: Xudong.zhu <xudong.zhu at windriver.com>
Signed-off-by: Kai Kang <kai.kang at windriver.com>
Signed-off-by: Joe MacDonald <joe at deserted.net>

---

 meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb b/meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb
index a958e37..066aac2 100644
--- a/meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb
+++ b/meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb
@@ -19,6 +19,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
 inherit autotools gettext
 
+ALLOW_EMPTY_${PN} = "1"
+
 # Split into seperate packages since we normal don't want them all
 # The main package is left empty and therefore not created.
 PACKAGES += "${PN}-ndisc6 ${PN}-tcpspray6 ${PN}-rdisc6 \



More information about the Openembedded-commits mailing list