summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/gpio
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-04-11 18:42:57 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-05-22 03:26:56 +0300
commit2083f66d06b511c92bbb6c10bb39c82e9553e971 (patch)
tree33bccae5e76180ae853b798de91e23aa343226e5 /meta-phosphor/common/recipes-phosphor/gpio
parent7ebe026d06f6ac03262af85d4672fa36005ae050 (diff)
downloadopenbmc-2083f66d06b511c92bbb6c10bb39c82e9553e971.tar.xz
gpio-monitor: 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: Ic8effadedc073cc12bba46a1a635c72524602bf3 Tested: Built phosphor-gpio-monitor and validated package contents Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/gpio')
-rw-r--r--meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor.bb b/meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor.bb
index 85317c0184..fa639599cb 100644
--- a/meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor.bb
+++ b/meta-phosphor/common/recipes-phosphor/gpio/phosphor-gpio-monitor.bb
@@ -13,10 +13,8 @@ GPIO_PACKAGES = " \
${PN}-presence \
"
-PACKAGES += "${GPIO_PACKAGES}"
-PACKAGES_remove = "${PN}"
-RDEPENDS_${PN}-dev = "${GPIO_PACKAGES}"
-RDEPENDS_${PN}-staticdev = "${GPIO_PACKAGES}"
+PACKAGE_BEFORE_PN += "${GPIO_PACKAGES}"
+ALLOW_EMPTY_${PN} = "1"
SYSTEMD_PACKAGES = "${GPIO_PACKAGES}"
RPROVIDES_${PN}-monitor += "virtual/obmc-gpio-monitor"