diff options
-rw-r--r-- | recipes-bsp/rcw/rcw_git.bb | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index 877822f2..9c2b156a 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb | |||
@@ -1,23 +1,29 @@ | |||
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 = "BSD" |
4 | LIC_FILES_CHKSUM = "file://BSD-LICENSE;md5=627727dce58484c4bd5f9b19665d81b3" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=be7e0b2ce5a7a1f4f25a6d82cec1f47d" |
5 | 5 | ||
6 | DEPENDS += "change-file-endianess-native tcl-native" | 6 | DEPENDS += "change-file-endianess-native tcl-native" |
7 | 7 | ||
8 | inherit deploy | 8 | inherit deploy siteinfo |
9 | 9 | ||
10 | SRC_URI = "git://github.com/qoriq-open-source/rcw.git;nobranch=1" | 10 | SRC_URI = "git://github.com/qoriq-open-source/rcw.git;nobranch=1" |
11 | SRCREV = "bfe8c5eb72cbae387af1c8662957caa801c2309f" | 11 | SRCREV = "1a6236a34166219de324a105971eb9de05cde76e" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
14 | 14 | ||
15 | export PYTHON = "${USRBINPATH}/python2" | 15 | export PYTHON = "${USRBINPATH}/python2" |
16 | 16 | ||
17 | EXTRA_OEMAKE = "BOARDS=${@d.getVar('MACHINE', True).replace('-64b','').replace('-32b','')} DESTDIR=${D}/boot/rcw/" | 17 | M="${@d.getVar('MACHINE', True).replace('-64b','').replace('-32b','').replace('-${SITEINFO_ENDIANNESS}','')}" |
18 | 18 | ||
19 | do_install () { | 19 | do_install () { |
20 | oe_runmake install | 20 | if [ -f ${S}/${M}/Makefile ]; then |
21 | oe_runmake BOARDS=${M} DESTDIR=${D}/boot/rcw/ install | ||
22 | else | ||
23 | install -d ${D}/boot/rcw | ||
24 | cp -a ${S}/${M} ${D}/boot/rcw/ | ||
25 | chown -R root:root ${D} | ||
26 | fi | ||
21 | for f in `find ${D}/boot/rcw/ -name "*qspiboot*"`;do | 27 | for f in `find ${D}/boot/rcw/ -name "*qspiboot*"`;do |
22 | if echo $f |grep -q "qspiboot_sben"; then | 28 | if echo $f |grep -q "qspiboot_sben"; then |
23 | continue | 29 | continue |