Patchwork [meta-fsl-ppc,34/39] cs4315-firmware: add recipe for sdk v1.6

login
register
mail settings
Submitter Ting Liu
Date July 2, 2014, 3:01 a.m.
Message ID <1404270108-3448-35-git-send-email-ting.liu@freescale.com>
Download mbox | patch
Permalink /patch/74649/
State Superseded
Headers show

Comments

Ting Liu - July 2, 2014, 3:01 a.m.
From: Ting Liu <b28495@freescale.com>

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 recipes-bsp/cs4315-firmware/cs4315-firmware_git.bb |   26 ++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 recipes-bsp/cs4315-firmware/cs4315-firmware_git.bb

Patch

diff --git a/recipes-bsp/cs4315-firmware/cs4315-firmware_git.bb b/recipes-bsp/cs4315-firmware/cs4315-firmware_git.bb
new file mode 100644
index 0000000..153e8f8
--- /dev/null
+++ b/recipes-bsp/cs4315-firmware/cs4315-firmware_git.bb
@@ -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"