meta-lenovo: hr855xg2: Initial led yaml file equipped with hr855xg2
platform
Move led yaml file to configuration folder and define YAML_PATH
to led parse tool.
Signed-off-by: Andrew Peng <pengms1@lenovo.com>
Change-Id: If1b5103ef9388ecbe6f2c42da95935ec6b61239e
diff --git a/meta-hr855xg2/recipes-phosphor/leds/phosphor-led-manager_%.bbappend b/meta-hr855xg2/recipes-phosphor/leds/phosphor-led-manager_%.bbappend
new file mode 100644
index 0000000..1a96799
--- /dev/null
+++ b/meta-hr855xg2/recipes-phosphor/leds/phosphor-led-manager_%.bbappend
@@ -0,0 +1,6 @@
+#"Copyright (c) 2019-present Lenovo
+#Licensed under BSD-3, see COPYING.BSD file for details."
+
+DEPENDS_append_hr855xg2 = " hr855xg2-yaml-config"
+
+EXTRA_OECONF_append_hr855xg2 = "YAML_PATH=${STAGING_DIR_HOST}${datadir}/hr855xg2-yaml-config/"
\ No newline at end of file