diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-10-29 17:39:59 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@nxp.com> | 2015-12-28 11:01:07 +0800 |
commit | ed5ecce3c50a13439dc86d4be1b46d79660030f9 (patch) | |
tree | 60a84d30d36e66b96cd35488e5dca74fc066c9ad /recipes-bsp/rcw/rcw_git.bb | |
parent | 666b7775d7840bc4185a3c848fc5358bf84f0758 (diff) | |
download | meta-fsl-ppc-ed5ecce3c50a13439dc86d4be1b46d79660030f9.tar.gz |
rcw: swap qspi binary in do_install_append
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Diffstat (limited to 'recipes-bsp/rcw/rcw_git.bb')
-rw-r--r-- | recipes-bsp/rcw/rcw_git.bb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index 57f305a..76bbf2a 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb | |||
@@ -9,9 +9,7 @@ inherit deploy | |||
9 | 9 | ||
10 | SRCBRANCH = "master" | 10 | SRCBRANCH = "master" |
11 | SRCREV = "426f7a6535d93dac76f5125035e0938a85e778d2" | 11 | SRCREV = "426f7a6535d93dac76f5125035e0938a85e778d2" |
12 | SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=${SRCBRANCH} \ | 12 | SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=${SRCBRANCH}" |
13 | file://rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch \ | ||
14 | " | ||
15 | 13 | ||
16 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
17 | 15 | ||
@@ -20,6 +18,12 @@ EXTRA_OEMAKE = "BOARDS=${@d.getVar('MACHINE', True).replace('-64b','')} DESTDIR= | |||
20 | do_install () { | 18 | do_install () { |
21 | oe_runmake install | 19 | oe_runmake install |
22 | } | 20 | } |
21 | do_install_append_ls102xa () { | ||
22 | for f in `find ${D}/boot/rcw/ -name "*qspiboot*"`;do | ||
23 | f_swap=`echo $f |sed -e 's/qspiboot/qspiboot_swap/'` | ||
24 | tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl $f $f_swap 8 | ||
25 | done | ||
26 | } | ||
23 | 27 | ||
24 | do_deploy () { | 28 | do_deploy () { |
25 | install -d ${DEPLOYDIR}/rcw | 29 | install -d ${DEPLOYDIR}/rcw |