diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-04-11 18:45:25 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-05-22 03:27:20 +0300 |
commit | ff8e1cfc0301d5aaca8bc50958fa9da3152d886b (patch) | |
tree | 1f6fef3c0851be7028ca94ed573814987c918ee2 /meta-phosphor/common/recipes-support | |
parent | 2083f66d06b511c92bbb6c10bb39c82e9553e971 (diff) | |
download | openbmc-ff8e1cfc0301d5aaca8bc50958fa9da3152d886b.tar.xz |
cereal: Favor ALLOW_EMPTY
A number of recipes remove PN from the package list. While this
seems to work it is unconventional and puts us into dusty corners
of oe-core/bitbake.
Adopt a more conventional approach with ALLOW_EMPTY_${PN} = "1".
Change-Id: I62a980f1b826f79bdba1bd4179b6f491665fe33c
Tested: Built cereal and validated package contents
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-support')
-rw-r--r-- | meta-phosphor/common/recipes-support/serialization/cereal_1.2.2.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta-phosphor/common/recipes-support/serialization/cereal_1.2.2.bb b/meta-phosphor/common/recipes-support/serialization/cereal_1.2.2.bb index 8dd1d690c..9b60187e1 100644 --- a/meta-phosphor/common/recipes-support/serialization/cereal_1.2.2.bb +++ b/meta-phosphor/common/recipes-support/serialization/cereal_1.2.2.bb @@ -11,9 +11,7 @@ SRCREV = "51cbda5f30e56c801c07fe3d3aba5d7fb9e6cca4" S = "${WORKDIR}/git" -PACKAGES_remove = "${PN}*" -PACKAGES = "${PN}-dev" -RDEPENDS_${PN}-dev = "" +ALLOW_EMPTY_${PN} = "1" do_install () { install -d ${D}${includedir}/cereal |