meta-fii/meta-kudo: Adding distro config for kudo
add BMC version in distro/openbmc-kudo.conf
add Gbmc.conf
add dev_id.json
Signed-off-by: Lancelot Kao <lancelot.kao@fii-usa.com>
Change-Id: I84c6d735cfad55abaa272edab1d10b4b9d4b0d99
diff --git a/meta-fii/meta-kudo/conf/distro/openbmc-kudo.conf b/meta-fii/meta-kudo/conf/distro/openbmc-kudo.conf
new file mode 100644
index 0000000..50e6ab3
--- /dev/null
+++ b/meta-fii/meta-kudo/conf/distro/openbmc-kudo.conf
@@ -0,0 +1,5 @@
+require conf/distro/openbmc-phosphor.conf
+require conf/distro/gbmc.conf
+
+DISTRO = "openbmc-kudo"
+VERSION_ID_kudo = "v0.d-00-kudo"
diff --git a/meta-fii/meta-kudo/conf/local.conf.sample b/meta-fii/meta-kudo/conf/local.conf.sample
index 8d07a5b..2bd1c09 100644
--- a/meta-fii/meta-kudo/conf/local.conf.sample
+++ b/meta-fii/meta-kudo/conf/local.conf.sample
@@ -1,5 +1,5 @@
MACHINE ??= "kudo"
-DISTRO ?= "openbmc-phosphor"
+DISTRO ?= "openbmc-kudo"
PACKAGE_CLASSES ?= "package_rpm"
SANITY_TESTED_DISTROS_append ?= " *"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
diff --git a/meta-fii/meta-kudo/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend b/meta-fii/meta-kudo/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend
new file mode 100644
index 0000000..2ca7460
--- /dev/null
+++ b/meta-fii/meta-kudo/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend_kudo := "${THISDIR}/${PN}:"
diff --git a/meta-fii/meta-kudo/recipes-phosphor/ipmi/phosphor-ipmi-config/dev_id.json b/meta-fii/meta-kudo/recipes-phosphor/ipmi/phosphor-ipmi-config/dev_id.json
new file mode 100644
index 0000000..6b543b9
--- /dev/null
+++ b/meta-fii/meta-kudo/recipes-phosphor/ipmi/phosphor-ipmi-config/dev_id.json
@@ -0,0 +1,2 @@
+{"id": 0, "revision": 1, "addn_dev_support": 133,
+ "manuf_id": 17084, "prod_id": 1, "aux": 0}