diff options
| author | Ting Liu <b28495@freescale.com> | 2012-12-14 17:14:29 +0000 |
|---|---|---|
| committer | Matthew McClintock <msm@freescale.com> | 2013-01-30 17:11:01 -0600 |
| commit | 254064b6fc80337d976838764614c93775a6c6f3 (patch) | |
| tree | 6c1cd55011e5cf8fef4d418c5ed65bfe5e32c61b | |
| parent | ca608a6d3a702d78612e43ee1e9ad3a1196ce286 (diff) | |
| download | meta-fsl-ppc-254064b6fc80337d976838764614c93775a6c6f3.tar.gz | |
fm-ucode: add recipe
Signed-off-by: Ting Liu <b28495@freescale.com>
| -rw-r--r-- | recipes-ucode/fm-ucode/fm-ucode_git.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/recipes-ucode/fm-ucode/fm-ucode_git.bb b/recipes-ucode/fm-ucode/fm-ucode_git.bb new file mode 100644 index 0000000..89c43ba --- /dev/null +++ b/recipes-ucode/fm-ucode/fm-ucode_git.bb | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | DESCRIPTION = "Fman microcode binary" | ||
| 2 | SECTION = "fm-ucode" | ||
| 3 | LICENSE = "Freescale EULA" | ||
| 4 | LIC_FILES_CHKSUM = "file://EULA;md5=60037ccba533a5995e8d1a838d85799c" | ||
| 5 | |||
| 6 | FMAN_UCODE_INSTALL_FILE = "fsl_fman_ucode" | ||
| 7 | FMAN_UCODE_INSTALL_FILE_append_p2041rdb = "_P2041" | ||
| 8 | FMAN_UCODE_INSTALL_FILE_append_p4080ds= "_P4080" | ||
| 9 | FMAN_UCODE_INSTALL_FILE_append_p1023rds = "_*1023" | ||
| 10 | FMAN_UCODE_INSTALL_FILE_append_p5020ds = "_P5020" | ||
| 11 | FMAN_UCODE_INSTALL_FILE_append_p5020ds-64b = "_P5020" | ||
| 12 | FMAN_UCODE_INSTALL_FILE_append_p5040ds = "_P5040" | ||
| 13 | FMAN_UCODE_INSTALL_FILE_append_p5040ds-64b = "_P5040" | ||
| 14 | FMAN_UCODE_INSTALL_FILE_append_p3041ds = "_P3041" | ||
| 15 | FMAN_UCODE_INSTALL_FILE_append_b4420qds = "_B4860" | ||
| 16 | FMAN_UCODE_INSTALL_FILE_append_b4420qds-64b = "_B4860" | ||
| 17 | FMAN_UCODE_INSTALL_FILE_append_b4860qds = "_B4860" | ||
| 18 | FMAN_UCODE_INSTALL_FILE_append_b4860qds-64b = "_B4860" | ||
| 19 | FMAN_UCODE_INSTALL_FILE_append_t4160qds = "_T4240" | ||
| 20 | FMAN_UCODE_INSTALL_FILE_append_t4160qds-64b = "_T4240" | ||
| 21 | FMAN_UCODE_INSTALL_FILE_append_t4240qds = "_T4240" | ||
| 22 | FMAN_UCODE_INSTALL_FILE_append_t4240qds-64b = "_T4240" | ||
| 23 | |||
| 24 | COMPATIBLE_MACHINE = "(p1023rds|p4080ds|p5020ds|p5040ds|p5020ds-64b|p5040ds-64b|p3041ds|p2041rdb|b4420qds|b4420qds-64b|b4860qds|b4860qds-64b|t4160qds|t4160qds-64b|t4240qds|t4240qds-64b)" | ||
| 25 | inherit deploy | ||
| 26 | |||
| 27 | SRC_URI = "git://git.freescale.com/ppc/sdk/fm-ucode.git" | ||
| 28 | SRCREV = "f4a43e8ad6a6e5fdedff6e1484386f963bccfdff" | ||
| 29 | |||
| 30 | S = "${WORKDIR}/git" | ||
| 31 | |||
| 32 | ALLOW_EMPTY_${PN} = "1" | ||
| 33 | do_install () { | ||
| 34 | install -d ${D}/boot | ||
| 35 | install -m 644 ${FMAN_UCODE_INSTALL_FILE}*.bin ${D}/boot/ | ||
| 36 | } | ||
| 37 | |||
| 38 | do_deploy () { | ||
| 39 | install -d ${DEPLOYDIR}/ | ||
| 40 | install -m 644 ${FMAN_UCODE_INSTALL_FILE}*.bin ${DEPLOYDIR}/ | ||
| 41 | } | ||
| 42 | addtask deploy before do_build after do_install | ||
| 43 | |||
| 44 | PACKAGES += "${PN}-image" | ||
| 45 | FILES_${PN}-image += "/boot" | ||
| 46 | |||
