From db430946b384e31aa33cf35f9fdb96ed8520e102 Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Wed, 18 Oct 2017 13:06:33 +0800 Subject: [PATCH] rcw :update recipe *update to 1a6236a *This includes the following changes: 1a6236a - LS1012ARDB: Change rcw for secure boot cdf4b72 - rcw: ls1088aqds: Add SCSI errata for detecttion of sata 16072f7 - armv8:LS1012A: RCW supporting 1GHz CPU frequency 90aef03 - LS1088ARDB:Reduce size in block copy command 53518dc - rcw: ls1088ardb: Add SCSI errata for detecttion of sata 0a869b3 - ls1021a: add workaround for pcie erratum A-007997 and A-007815 e7f18e5 - ls2088ardb: Add RCW for with platform frequency 700MHz 6f324fc - Use BSD license for both rcw and binary files c69799f - Added copyright to byte_swap.tcl bfe8c5e - Renaming COPYING as BSD-LICENSE *update LIC_FILES_CHKSUM to point to LICENSE Renaming BSD-LICENSE * add support for Qoriq. * strip possible '-32b', '-64b' and '-be' to match folder name. Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador --- recipes-bsp/rcw/rcw_git.bb | 16 +++++++++++----- 1 file 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 @@ SUMMARY = "Reset Configuration Word" DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets" LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://BSD-LICENSE;md5=627727dce58484c4bd5f9b19665d81b3" +LIC_FILES_CHKSUM = "file://LICENSE;md5=be7e0b2ce5a7a1f4f25a6d82cec1f47d" DEPENDS += "change-file-endianess-native tcl-native" -inherit deploy +inherit deploy siteinfo SRC_URI = "git://github.com/qoriq-open-source/rcw.git;nobranch=1" -SRCREV = "bfe8c5eb72cbae387af1c8662957caa801c2309f" +SRCREV = "1a6236a34166219de324a105971eb9de05cde76e" S = "${WORKDIR}/git" export PYTHON = "${USRBINPATH}/python2" -EXTRA_OEMAKE = "BOARDS=${@d.getVar('MACHINE', True).replace('-64b','').replace('-32b','')} DESTDIR=${D}/boot/rcw/" +M="${@d.getVar('MACHINE', True).replace('-64b','').replace('-32b','').replace('-${SITEINFO_ENDIANNESS}','')}" do_install () { - oe_runmake install + if [ -f ${S}/${M}/Makefile ]; then + oe_runmake BOARDS=${M} DESTDIR=${D}/boot/rcw/ install + else + install -d ${D}/boot/rcw + cp -a ${S}/${M} ${D}/boot/rcw/ + chown -R root:root ${D} + fi for f in `find ${D}/boot/rcw/ -name "*qspiboot*"`;do if echo $f |grep -q "qspiboot_sben"; then continue -- 2.40.1