meta-ampere: mtjade: remove redundant mtjade string
The meta-ampere/meta-jade folder contains features for Mt.Jade platform
which might support various chassis. Having :mtjade is redundant and
will limit features to work only with "standard mtjade".
This commit removes this string so that additional MACHINEs based on
Mt.Jade can work.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: If57acd557d678b8834f0c77f98855277e4eee844
diff --git a/meta-ampere/meta-jade/recipes-phosphor/configuration/mtjade-yaml-config.bb b/meta-ampere/meta-jade/recipes-phosphor/configuration/mtjade-yaml-config.bb
index 06046c3..365d210 100644
--- a/meta-ampere/meta-jade/recipes-phosphor/configuration/mtjade-yaml-config.bb
+++ b/meta-ampere/meta-jade/recipes-phosphor/configuration/mtjade-yaml-config.bb
@@ -5,14 +5,14 @@
inherit allarch
SRC_URI = " \
- file://mtjade-ipmi-sensors.yaml \
+ file://${MACHINE}-ipmi-sensors.yaml \
file://mtjade-ipmi-fru.yaml \
"
S = "${WORKDIR}"
do_install() {
- install -m 0644 -D mtjade-ipmi-sensors.yaml \
+ install -m 0644 -D ${MACHINE}-ipmi-sensors.yaml \
${D}${datadir}/${BPN}/ipmi-sensors.yaml
install -m 0644 -D mtjade-ipmi-fru.yaml \
${D}${datadir}/${BPN}/ipmi-fru-read.yaml