diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-04-11 17:53:06 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-05-29 23:45:49 +0300 |
commit | 19a30ad518cdfe03e43cec4d46698dcc380f9b45 (patch) | |
tree | da905e7b9402a527e8fc59d430bfb474925c14c6 /meta-phosphor/common/recipes-phosphor/dump | |
parent | 375f7b2fadbc8438a92af37741d24d7d8362a16b (diff) | |
download | openbmc-19a30ad518cdfe03e43cec4d46698dcc380f9b45.tar.xz |
debug-collector: 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". This
removes the need to manually set the dev and staticdev package
dependencies.
Tested: Built phosphor-debug-collector and validated package contents
Change-Id: I0ea510895a6fd5f2aab2b0629ffcec120f0e6e55
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/dump')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/dump/phosphor-debug-collector.bb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/dump/phosphor-debug-collector.bb b/meta-phosphor/common/recipes-phosphor/dump/phosphor-debug-collector.bb index 2aa5560ae..b4800645b 100644 --- a/meta-phosphor/common/recipes-phosphor/dump/phosphor-debug-collector.bb +++ b/meta-phosphor/common/recipes-phosphor/dump/phosphor-debug-collector.bb @@ -12,10 +12,8 @@ DEBUG_COLLECTOR_PKGS = " \ ${PN}-dreport \ ${PN}-scripts \ " -PACKAGES =+ "${DEBUG_COLLECTOR_PKGS}" -PACKAGES_remove = "${PN}" -RDEPENDS_${PN}-dev = "${DEBUG_COLLECTOR_PKGS}" -RDEPENDS_${PN}-staticdev = "${DEBUG_COLLECTOR_PKGS}" +PACKAGE_BEFORE_PN += "${DEBUG_COLLECTOR_PKGS}" +ALLOW_EMPTY_${PN} = "1" DBUS_PACKAGES = "${PN}-manager" |