summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/leds
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-04-11 11:43:28 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-05-30 12:35:10 +0000
commitb0581b516478da675ce49c5bbc9c267ee8318415 (patch)
treee153f9a3af9c92c6b95e2639b114edf84ab8be2a /meta-phosphor/common/recipes-phosphor/leds
parent0068d71b59184bdaf8ea5179f307df5fa6e3b60d (diff)
downloadtalos-openbmc-b0581b516478da675ce49c5bbc9c267ee8318415.tar.gz
talos-openbmc-b0581b516478da675ce49c5bbc9c267ee8318415.zip
leds: 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: I1956784d05573749d356977f71dae0fd6bde2adf Tested: Built phosphor-led-manager and validated package contents Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/leds')
-rw-r--r--meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager.bb7
1 files changed, 2 insertions, 5 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager.bb b/meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager.bb
index 22c98bcfe..d501d332a 100644
--- a/meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager.bb
+++ b/meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager.bb
@@ -12,16 +12,13 @@ LED_MGR_PACKAGES = " \
${PN}-faultmonitor \
"
-PACKAGES += "${LED_MGR_PACKAGES}"
-PACKAGES_remove = "${PN}"
+PACKAGE_BEFORE_PN += "${LED_MGR_PACKAGES}"
+ALLOW_EMPTY_${PN} = "1"
DBUS_PACKAGES = "${PN}-ledmanager"
SYSTEMD_PACKAGES = "${LED_MGR_PACKAGES}"
-RDEPENDS_${PN}-dev = "${LED_MGR_PACKAGES}"
-RDEPENDS_${PN}-staticdev = "${LED_MGR_PACKAGES}"
-
DEPENDS += "python-pyyaml-native"
DEPENDS += "autoconf-archive-native"
DEPENDS += "sdbusplus sdbusplus-native"
OpenPOWER on IntegriCloud