diff options
3 files changed, 2 insertions, 43 deletions
diff --git a/meta-phosphor/classes/phosphor-logging.bbclass b/meta-phosphor/classes/phosphor-logging.bbclass index 48676f4ff..18f53d434 100644 --- a/meta-phosphor/classes/phosphor-logging.bbclass +++ b/meta-phosphor/classes/phosphor-logging.bbclass @@ -1,2 +1 @@ callouts_datadir="${datadir}/phosphor-logging/callouts" -elog_dir = "${datadir}/phosphor-logging/elog" diff --git a/meta-phosphor/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend b/meta-phosphor/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend index e111a4d95..b8648cabf 100644 --- a/meta-phosphor/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend +++ b/meta-phosphor/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bbappend @@ -2,5 +2,4 @@ RDEPENDS_${PN}_append = " \ nativesdk-autoconf-archive \ nativesdk-meson \ nativesdk-python3-sdbus++ \ - nativesdk-phosphor-logging-elog \ " 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" |