]> code.ossystems Code Review - meta-freescale.git/commitdiff
cs4315-firmware: add recipe for sdk v1.6
authorTing Liu <b28495@freescale.com>
Sat, 14 Jun 2014 05:14:06 +0000 (13:14 +0800)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Tue, 8 Jul 2014 10:14:48 +0000 (18:14 +0800)
Signed-off-by: Ting Liu <b28495@freescale.com>
meta-fsl-ppc/recipes-bsp/cs4315-firmware/cs4315-firmware_git.bb [new file with mode: 0644]

diff --git a/meta-fsl-ppc/recipes-bsp/cs4315-firmware/cs4315-firmware_git.bb b/meta-fsl-ppc/recipes-bsp/cs4315-firmware/cs4315-firmware_git.bb
new file mode 100644 (file)
index 0000000..153e8f8
--- /dev/null
@@ -0,0 +1,26 @@
+DESCRIPTION = "Firmware image for the Cortina CS4315 PHY"
+LICENSE = "Cortina"
+LIC_FILES_CHKSUM = "file://Cortina-EULA;md5=ef3a0b9eaf40547d263a4f67040dc56e"
+
+inherit deploy
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/firmware.git;nobranch=1"
+SRCREV = "ad5a3108f9ede39ea41fde18d4ac0cc7680cf650"
+
+S = "${WORKDIR}/git"
+
+do_install () {
+    install -d ${D}/boot
+    install -m 644 ${S}/cs4315-cs4340-PHY-ucode.txt ${D}/boot/
+}
+
+do_deploy () {
+    install -d ${DEPLOYDIR}/
+    install -m 644 ${S}/cs4315-cs4340-PHY-ucode.txt ${DEPLOYDIR}/
+}
+addtask deploy before do_build after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+COMPATIBLE_MACHINE = "(t2080rdb|t2080rdb-64b|t4240rdb|t4240rdb-64b)"
+ALLOW_EMPTY_${PN} = "1"