diff options
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/cs4315-firmware/cs4315-firmware_git.bb | 26 |
1 files changed, 26 insertions, 0 deletions
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 @@ | |||
1 | DESCRIPTION = "Firmware image for the Cortina CS4315 PHY" | ||
2 | LICENSE = "Cortina" | ||
3 | LIC_FILES_CHKSUM = "file://Cortina-EULA;md5=ef3a0b9eaf40547d263a4f67040dc56e" | ||
4 | |||
5 | inherit deploy | ||
6 | |||
7 | SRC_URI = "git://git.freescale.com/ppc/sdk/firmware.git;nobranch=1" | ||
8 | SRCREV = "ad5a3108f9ede39ea41fde18d4ac0cc7680cf650" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | do_install () { | ||
13 | install -d ${D}/boot | ||
14 | install -m 644 ${S}/cs4315-cs4340-PHY-ucode.txt ${D}/boot/ | ||
15 | } | ||
16 | |||
17 | do_deploy () { | ||
18 | install -d ${DEPLOYDIR}/ | ||
19 | install -m 644 ${S}/cs4315-cs4340-PHY-ucode.txt ${DEPLOYDIR}/ | ||
20 | } | ||
21 | addtask deploy before do_build after do_install | ||
22 | |||
23 | PACKAGES += "${PN}-image" | ||
24 | FILES_${PN}-image += "/boot" | ||
25 | COMPATIBLE_MACHINE = "(t2080rdb|t2080rdb-64b|t4240rdb|t4240rdb-64b)" | ||
26 | ALLOW_EMPTY_${PN} = "1" | ||