Added include file to reuse SRC_REV and SRC_URL
Change-Id: I808bc3610506206251015cea5c064c2bf79ba703
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
diff --git a/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb b/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb
index 1763b80..e52bf41 100644
--- a/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb
+++ b/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb
@@ -1,6 +1,5 @@
SUMMARY = "Phosphor OpenBMC IPMI daemon"
DESCRIPTION = "Phosphor OpenBMC IPMI router and plugin libraries"
-HOMEPAGE = "http://github.com/openbmc/phosphor-host-ipmid"
PR = "r1"
RRECOMMENDS_${PN} += "packagegroup-obmc-ipmid-providers-libs"
@@ -34,9 +33,8 @@
SYSTEMD_SERVICE_${PN} += "xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service phosphor-ipmi-host.service"
RRECOMMENDS_${PN} += "virtual-obmc-settings-mgmt"
-SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid"
-SRCREV = "5f4fe3c3165ae4266f8a50ecb7f8488cb6ca7035"
+require ${PN}.inc
# Setup IPMI Whitelist Conf files
WHITELIST_CONF = " \
diff --git a/common/recipes-phosphor/ipmi/phosphor-ipmi-host.inc b/common/recipes-phosphor/ipmi/phosphor-ipmi-host.inc
new file mode 100644
index 0000000..5a4435c
--- /dev/null
+++ b/common/recipes-phosphor/ipmi/phosphor-ipmi-host.inc
@@ -0,0 +1,5 @@
+HOMEPAGE = "http://github.com/openbmc/phosphor-host-ipmid"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
+SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid"
+SRCREV = "5f4fe3c3165ae4266f8a50ecb7f8488cb6ca7035"