diff options
-rw-r--r-- | recipes-bsp/rcw/rcw_git.bb | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index ffdb547..41a0bbe 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb | |||
@@ -1,18 +1,18 @@ | |||
1 | SUMMARY = "Reset Configuration Word" | 1 | SUMMARY = "Reset Configuration Word" |
2 | DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets" | 2 | DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets" |
3 | LICENSE = "BSD" | 3 | LICENSE = "Freescale-EULA" |
4 | PR = "r8" | 4 | LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f" |
5 | 5 | ||
6 | LIC_FILES_CHKSUM = "file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e" | 6 | LIC_FILES_CHKSUM = "file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e" |
7 | 7 | ||
8 | inherit deploy | 8 | inherit deploy siteinfo |
9 | 9 | ||
10 | SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=sdk-v1.9.x" | 10 | SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=sdk-v2.0.x" |
11 | SRCREV = "521008fe6ec9897fe245e1c1241fc27dad98f24d" | 11 | SRCREV = "1af724b64347170e9d9ba8e8f277dd30026a1a7e" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
14 | 14 | ||
15 | EXTRA_OEMAKE = "BOARDS=${@d.getVar('MACHINE', True).replace('-64b','')} DESTDIR=${D}/boot/rcw/" | 15 | EXTRA_OEMAKE = "BOARDS=${@d.getVar('MACHINE', True).replace('-64b','').replace('-${SITEINFO_ENDIANNESS}','')} DESTDIR=${D}/boot/rcw/" |
16 | 16 | ||
17 | do_install () { | 17 | do_install () { |
18 | oe_runmake install | 18 | oe_runmake install |
@@ -24,6 +24,13 @@ do_install_append_ls102xa () { | |||
24 | done | 24 | done |
25 | } | 25 | } |
26 | 26 | ||
27 | do_install_append_fsl-lsch2 () { | ||
28 | for f in `find ${D}/boot/rcw/ -name "*qspiboot*"`;do | ||
29 | f_swap=`echo $f |sed -e 's/qspiboot/qspiboot_swap/'` | ||
30 | tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl $f $f_swap 8 | ||
31 | done | ||
32 | } | ||
33 | |||
27 | do_deploy () { | 34 | do_deploy () { |
28 | install -d ${DEPLOYDIR}/rcw | 35 | install -d ${DEPLOYDIR}/rcw |
29 | cp -r ${D}/boot/rcw/* ${DEPLOYDIR}/rcw/ | 36 | cp -r ${D}/boot/rcw/* ${DEPLOYDIR}/rcw/ |