meta-phosphor: switch to meta-oe libcereal

A cereal recipe was added recently to meta-openembedded.  Use it so we
can deprecate our version of it.

Change-Id: I8345370d39c8c8e0faf73228c31d49a970435616
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb b/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb
index 576185a..d72c12d 100644
--- a/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb
+++ b/recipes-phosphor/inventory/phosphor-inventory-manager_git.bb
@@ -22,7 +22,7 @@
         sdbusplus \
         sdbusplus-native \
         autoconf-archive-native \
-        cereal \
+        libcereal \
         "
 RDEPENDS_${PN} += " \
         sdbusplus \
diff --git a/recipes-phosphor/logging/phosphor-logging.bb b/recipes-phosphor/logging/phosphor-logging.bb
index dd5e770..7805c9c 100644
--- a/recipes-phosphor/logging/phosphor-logging.bb
+++ b/recipes-phosphor/logging/phosphor-logging.bb
@@ -21,7 +21,7 @@
 DEPENDS += "virtual/phosphor-logging-callouts"
 DEPENDS += "phosphor-logging-error-logs-native"
 DEPENDS += "phosphor-logging-native"
-DEPENDS += "cereal"
+DEPENDS += "libcereal"
 
 PACKAGE_BEFORE_PN = "${PN}-test"
 FILES_${PN}-test = "${bindir}/*-test"
@@ -64,7 +64,7 @@
         virtual/phosphor-logging-callouts \
         sdbus++ \
         systemd \
-        cereal \
+        libcereal \
         "
 
 # Do not DEPEND on the specified packages for native SDK build
@@ -72,7 +72,7 @@
 DEPENDS_remove_class-nativesdk = " \
         virtual/phosphor-logging-callouts \
         sdbus++-native \
-        cereal \
+        libcereal \
         systemd \
         phosphor-dbus-interfaces \
         "
diff --git a/recipes-phosphor/settings/phosphor-settings-manager_git.bb b/recipes-phosphor/settings/phosphor-settings-manager_git.bb
index a63a1f2..4397e2d 100644
--- a/recipes-phosphor/settings/phosphor-settings-manager_git.bb
+++ b/recipes-phosphor/settings/phosphor-settings-manager_git.bb
@@ -20,7 +20,7 @@
 DEPENDS += "sdbusplus sdbusplus-native"
 DEPENDS += "phosphor-dbus-interfaces phosphor-dbus-interfaces-native"
 DEPENDS += "phosphor-logging"
-DEPENDS += "cereal"
+DEPENDS += "libcereal"
 
 RDEPENDS_${PN} += "sdbusplus phosphor-dbus-interfaces"
 
diff --git a/recipes-phosphor/state/phosphor-state-manager.bb b/recipes-phosphor/state/phosphor-state-manager.bb
index 97d3dc7..2ec65c1 100644
--- a/recipes-phosphor/state/phosphor-state-manager.bb
+++ b/recipes-phosphor/state/phosphor-state-manager.bb
@@ -41,7 +41,7 @@
 DEPENDS += "sdeventplus"
 DEPENDS += "phosphor-logging"
 DEPENDS += "phosphor-dbus-interfaces"
-DEPENDS += "cereal"
+DEPENDS += "libcereal"
 RDEPENDS_${PN} += "sdbusplus"
 
 RDEPENDS_${PN}-host += "libsystemd phosphor-dbus-interfaces"
diff --git a/recipes-support/serialization/cereal_1.2.2.bb b/recipes-support/serialization/cereal_1.2.2.bb
deleted file mode 100644
index 50c8578..0000000
--- a/recipes-support/serialization/cereal_1.2.2.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-SUMMARY = "Cereal - A C++11 library for serialization"
-DESCRIPTION = "Cereal is a header-only C++11 serialization library."
-HOMEPAGE = "https://github.com/USCiLab/cereal"
-PR = "r1"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=e612690af2f575dfd02e2e91443cea23"
-
-SRC_URI += "git://github.com/USCiLab/cereal"
-SRCREV = "51cbda5f30e56c801c07fe3d3aba5d7fb9e6cca4"
-PV = "1.2.2+git${SRCPV}"
-
-S = "${WORKDIR}/git"
-
-ALLOW_EMPTY_${PN} = "1"
-
-do_install () {
-    install -d ${D}${includedir}/cereal
-    cp -r ${S}/include/cereal/* ${D}${includedir}/cereal/
-}