Patchwork ndisc6: allow the package can be empty

login
register
mail settings
Submitter Xudong.zhu
Date March 11, 2014, 9:58 a.m.
Message ID <1394531890-8816-1-git-send-email-xudong.zhu@windriver.com>
Download mbox | patch
Permalink /patch/68385/
State New, archived
Headers show

Comments

Xudong.zhu - March 11, 2014, 9:58 a.m.
FILES_${PN} is set to null in original .bb file, this would cause
ndisc6 main package is missing in fullpkglist.query, then one build
error will happen.

"
Error: ndisc6 not found in the base feeds(ti_am335x armv7at2-vfp-neon
| armv7a-vfp-neon armv7at2-vfp armv7a-vfp armv7a armv6t-vfp armv6-vfp
| armv5te-vfp armv5e-vfp armv5te armv5e armv5t-vfp armv5- vfp armv5t
| armv5 armv4t armv4 arm noarch any all).
"

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

Signed-off-by: Xudong.zhu <xudong.zhu@windriver.com>
---
 .../recipes-support/ndisc6/ndisc6_1.0.2.bb         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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..8cf5d37 100644
--- a/meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb
+++ b/meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb
@@ -18,7 +18,7 @@  SRC_URI[sha256sum] = "6acec8a0cb9efa3ac98456f46c3016aeec0598b0c7557c95242b5228ad
 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 \