meta-lanyang: add LED recipe
Update LED Manager recipe to support Lanyang machine
Tested: Built the LED recipe then checked the LED behavior
on Lanyang
Change-Id: Ic6be977815897007e09ebc685f1e714be02c36c9
Signed-off-by: Brian Yang <yang.brianc.w@inventec.com>
diff --git a/meta-lanyang/recipes-phosphor/leds/lanyang-led-manager-config-native.bb b/meta-lanyang/recipes-phosphor/leds/lanyang-led-manager-config-native.bb
new file mode 100644
index 0000000..083002e
--- /dev/null
+++ b/meta-lanyang/recipes-phosphor/leds/lanyang-led-manager-config-native.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Phosphor LED Group Management for Lanyang"
+PR = "r1"
+
+inherit native
+inherit obmc-phosphor-license
+
+PROVIDES += "virtual/phosphor-led-manager-config-native"
+
+SRC_URI += "file://led.yaml"
+S = "${WORKDIR}"
+
+# Overwrite the example led layout yaml file prior
+# to building the phosphor-led-manager package
+do_install() {
+ SRC=${S}
+ DEST=${D}${datadir}/phosphor-led-manager
+ install -D ${SRC}/led.yaml ${DEST}/led.yaml
+}