diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2021-04-16 22:14:26 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2021-04-23 02:48:03 +0300 |
commit | 60c4907f61898cdcfac80232a7dfcf4314a0a7d7 (patch) | |
tree | a53135a08a1cc84a08ccfde9b55543b809b09b1e /meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb | |
parent | 8ace09cd6c88708b0aa886993d3586f2f46eceee (diff) | |
download | openbmc-60c4907f61898cdcfac80232a7dfcf4314a0a7d7.tar.xz |
phosphor-logging: remove native recipe support
phosphor-logging use to need to run in a native context to
provide YAML processing but that is no longer necessary since
commit e523a091d0977adf639eaa7cdf4f895614d2696c. The support
to install just the python scripts in a native context overly
complicates both the recipe and the corresponding repository
build scripting. Remove it since it is no longer needed.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I67542f8f63bf9e30166ac1ab46eb85074cf3e843
Diffstat (limited to 'meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb')
-rw-r--r-- | meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb | 43 |
1 files changed, 2 insertions, 41 deletions
diff --git a/meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb b/meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb index 701c1632c..bb6f0a936 100644 --- a/meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb +++ b/meta-phosphor/recipes-phosphor/logging/phosphor-logging_git.bb @@ -24,14 +24,11 @@ DEPENDS += "phosphor-dbus-interfaces" DEPENDS += "virtual/phosphor-logging-callouts" DEPENDS += "libcereal" DEPENDS += "sdeventplus" -DEPENDS_append_class-target = " packagegroup-obmc-yaml-providers" +DEPENDS += "packagegroup-obmc-yaml-providers" PACKAGE_BEFORE_PN = "${PN}-test" FILES_${PN}-test = "${bindir}/*-test" -PACKAGE_BEFORE_PN += "${PN}-elog" -FILES_${PN}-elog += "${elog_dir}" - # Package configuration LOGGING_PACKAGES = " \ ${PN}-base \ @@ -59,40 +56,13 @@ SRCREV = "7dc8c3bea5747b430b7df2eea891f9df1169f23a" S = "${WORKDIR}/git" -# Do not DEPEND on the specified packages for native build -# as they will not be available in host machine -DEPENDS_remove_class-native = " \ - virtual/phosphor-logging-callouts \ - sdbusplus \ - systemd \ - libcereal \ - sdeventplus \ - " - -# Do not DEPEND on the specified packages for native SDK build -# as they will not be available in host machine -DEPENDS_remove_class-nativesdk = " \ - virtual/phosphor-logging-callouts \ - sdbusplus \ - libcereal \ - systemd \ - phosphor-dbus-interfaces \ - sdeventplus \ - " - -PACKAGECONFIG ??= "metadata-processing install_scripts" +PACKAGECONFIG ??= "metadata-processing" PACKAGECONFIG[metadata-processing] = " \ --enable-metadata-processing, \ --disable-metadata-processing, , \ " -# Provide a means to enable/disable install_scripts feature -PACKAGECONFIG[install_scripts] = " \ - --enable-install_scripts, \ - --disable-install_scripts, ,\ - " - PACKAGECONFIG[openpower-pels] = " \ --enable-openpower-pel-extension, \ --disable-openpower-pel-extension, \ @@ -100,16 +70,7 @@ PACKAGECONFIG[openpower-pels] = " \ python3, \ " -# Enable install_scripts during native and native SDK build -PACKAGECONFIG_add_class-native = "install_scripts" -PACKAGECONFIG_add_class-nativesdk = "install_scripts" - -# Disable install_scripts during target build -PACKAGECONFIG_remove_class-target = "install_scripts" - EXTRA_OECONF = " \ YAML_DIR=${STAGING_DIR_TARGET}${yaml_dir} \ CALLOUTS_YAML=${STAGING_DIR_NATIVE}${callouts_datadir}/callouts.yaml \ " - -BBCLASSEXTEND += "native nativesdk" |