diff options
| author | chunrong guo <b40290@freescale.com> | 2013-03-21 03:20:33 +0000 |
|---|---|---|
| committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-03-27 14:06:29 +0800 |
| commit | 2883bff85abf306fd34d178ba6a8f91a1995c76e (patch) | |
| tree | 50547b74acc354164f504002db82384d5fd0c4a5 | |
| parent | 6a79518b97535b675a3fa639a4f4e07f81184165 (diff) | |
| download | meta-fsl-ppc-2883bff85abf306fd34d178ba6a8f91a1995c76e.tar.gz | |
fm-ucode: update to the commit for sdk 1.3.2
Signed-off-by: Chunrong Guo <B40290@freescale.com>
| -rw-r--r-- | recipes-ucode/fm-ucode/fm-ucode_git.bb | 50 |
1 files changed, 26 insertions, 24 deletions
diff --git a/recipes-ucode/fm-ucode/fm-ucode_git.bb b/recipes-ucode/fm-ucode/fm-ucode_git.bb index 89c43ba..c2c3de0 100644 --- a/recipes-ucode/fm-ucode/fm-ucode_git.bb +++ b/recipes-ucode/fm-ucode/fm-ucode_git.bb | |||
| @@ -3,41 +3,43 @@ SECTION = "fm-ucode" | |||
| 3 | LICENSE = "Freescale EULA" | 3 | LICENSE = "Freescale EULA" |
| 4 | LIC_FILES_CHKSUM = "file://EULA;md5=60037ccba533a5995e8d1a838d85799c" | 4 | LIC_FILES_CHKSUM = "file://EULA;md5=60037ccba533a5995e8d1a838d85799c" |
| 5 | 5 | ||
| 6 | FMAN_UCODE_INSTALL_FILE = "fsl_fman_ucode" | 6 | PR = "r1" |
| 7 | FMAN_UCODE_INSTALL_FILE_append_p2041rdb = "_P2041" | 7 | |
| 8 | FMAN_UCODE_INSTALL_FILE_append_p4080ds= "_P4080" | 8 | COMPATIBLE_MACHINE = "(p1023rds|p2041rdb|p3041ds|p4080ds|p5020ds|p5040ds|p5020ds-64b|p5040ds-64b|b4420qds|b4420qds-64b|b4860qds|b4860qds-64b|t4160qds|t4160qds-64b|t4240qds|t4240qds-64b)" |
| 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 | 9 | inherit deploy |
| 26 | 10 | ||
| 27 | SRC_URI = "git://git.freescale.com/ppc/sdk/fm-ucode.git" | 11 | SRC_URI = "git://git.freescale.com/ppc/sdk/fm-ucode.git" |
| 28 | SRCREV = "f4a43e8ad6a6e5fdedff6e1484386f963bccfdff" | 12 | SRCREV = "219bb2c6aaa1e040fb849a771a9bdf3e8dbc49e9" |
| 29 | 13 | ||
| 30 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
| 31 | 15 | ||
| 32 | ALLOW_EMPTY_${PN} = "1" | 16 | ALLOW_EMPTY_${PN} = "1" |
| 33 | do_install () { | 17 | do_install () { |
| 34 | install -d ${D}/boot | 18 | case ${MACHINE} in |
| 35 | install -m 644 ${FMAN_UCODE_INSTALL_FILE}*.bin ${D}/boot/ | 19 | b4420qds|b4420qds-64b|b4860qds|b4860qds-64b) UCODE=b4860qds;; |
| 20 | t4240qds|t4240qds-64b|t4160qds|t4160qds-64b) UCODE=t4240qds;; | ||
| 21 | p5020ds|p5020ds-64b) UCODE=p5020ds;; | ||
| 22 | p5040ds|p5040ds-64b) UCODE=p5040ds;; | ||
| 23 | p1023rds) UCODE=P1023RDS;; | ||
| 24 | *) UCODE=${MACHINE};; | ||
| 25 | esac | ||
| 26 | UCODE=`echo $UCODE | sed -e 's,[a-zA-Z]*$,,'` | ||
| 27 | install -d ${D}/boot | ||
| 28 | install -m 644 fsl_fman_ucode_${UCODE}*.bin ${D}/boot/ | ||
| 36 | } | 29 | } |
| 37 | 30 | ||
| 38 | do_deploy () { | 31 | do_deploy () { |
| 39 | install -d ${DEPLOYDIR}/ | 32 | case ${MACHINE} in |
| 40 | install -m 644 ${FMAN_UCODE_INSTALL_FILE}*.bin ${DEPLOYDIR}/ | 33 | b4420qds|b4420qds-64b|b4860qds|b4860qds-64b) UCODE=b4860qds;; |
| 34 | t4240qds|t4240qds-64b|t4160qds|t4160qds-64b) UCODE=t4240qds;; | ||
| 35 | p5020ds|p5020ds-64b) UCODE=p5020ds;; | ||
| 36 | p5040ds|p5040ds-64b) UCODE=p5040ds;; | ||
| 37 | p1023rds) UCODE=P1023RDS;; | ||
| 38 | *) UCODE=${MACHINE};; | ||
| 39 | esac | ||
| 40 | UCODE=`echo $UCODE | sed -e 's,[a-zA-Z]*$,,'` | ||
| 41 | install -d ${DEPLOYDIR}/ | ||
| 42 | install -m 644 fsl_fman_ucode_${UCODE}*.bin ${DEPLOYDIR}/ | ||
| 41 | } | 43 | } |
| 42 | addtask deploy before do_build after do_install | 44 | addtask deploy before do_build after do_install |
| 43 | 45 | ||
