summaryrefslogtreecommitdiff
path: root/classes/mlinux-image.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/mlinux-image.bbclass')
-rw-r--r--classes/mlinux-image.bbclass9
1 files changed, 8 insertions, 1 deletions
diff --git a/classes/mlinux-image.bbclass b/classes/mlinux-image.bbclass
index 6d8ff60..4d8c2fe 100644
--- a/classes/mlinux-image.bbclass
+++ b/classes/mlinux-image.bbclass
@@ -53,7 +53,14 @@ do_firmware () {
cat uImage.bin | md5sum > uImage.bin.md5
cat rootfs.jffs2 | md5sum > rootfs.jffs2.md5
- echo "${MACHINE}" > model
+ case "${MACHINE}" in
+ mtcdt)
+ echo "mtcdt|mtcdtin" >model
+ ;;
+ *)
+ echo "${MACHINE}" > model
+ ;;
+ esac
tar cvf ${IMAGE_BASENAME}-${MACHINE}-upgrade.bin uImage.bin* rootfs.jffs2* model
tar cvf ${IMAGE_BASENAME}-${MACHINE}-upgrade-withboot.bin bstrap.bin* uboot.bin* uImage.bin* rootfs.jffs2* model