aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorChunrong Guo <chunrong.guo@nxp.com>2019-01-11 03:14:02 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2019-01-14 16:23:38 -0200
commit4babcb9d184254805df479695f8bec1e33b447c2 (patch)
tree1e9a1f865d262c4685b1a35eede1f029b7fe0954 /recipes-bsp
parent69e44c7b4bba49899c96430f1741e3c56701068e (diff)
downloadmeta-freescale-4babcb9d184254805df479695f8bec1e33b447c2.tar.gz
meta-freescale-4babcb9d184254805df479695f8bec1e33b447c2.tar.bz2
meta-freescale-4babcb9d184254805df479695f8bec1e33b447c2.zip
mc-utils: update to 6aca560
*update to lsdk 1812 tag include the following changes: update COMPATIBLE_MACHINE for qoriq-arm64 6aca560 - config: lx2160a: add dprtc object 73eec5c - api: add MC 10.13.0 APIs 022adf2 - api: add MC 10.12.0 APIs f3e4205 - api: add MC 10.11.2 APIs cb2afb7 - api: add MC 10.11.1 APIs 65aeed6 - config: update number of necessary dpmcp 1370e38 - Add dpc with USXGMII for QDS protocol 7 *Update COMPATIBLE_MACHINE for qoriq-arm64 *Support lx2160a Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/mc-utils/mc-utils_git.bb20
1 files changed, 13 insertions, 7 deletions
diff --git a/recipes-bsp/mc-utils/mc-utils_git.bb b/recipes-bsp/mc-utils/mc-utils_git.bb
index f34d4418..430d6cd8 100644
--- a/recipes-bsp/mc-utils/mc-utils_git.bb
+++ b/recipes-bsp/mc-utils/mc-utils_git.bb
@@ -10,30 +10,36 @@ DEPENDS += "dtc-native"
inherit deploy
SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/mc-utils;nobranch=1"
-SRCREV = "30c63101b15def4620f509641b97641c25fe19fe"
+SRCREV = "6aca560c630dc54afdef382c506f214b28f4985e"
S = "${WORKDIR}/git"
MC_CFG ?= ""
MC_CFG_ls1088a = "ls1088a"
MC_CFG_ls2088a = "ls2088a"
+MC_CFG_lx2160a = "lx2160a"
do_install () {
oe_runmake -C config
- install -d ${D}/boot/mc-utils/custom
+ install -d ${D}/boot/mc-utils
cp -r ${S}/config/${MC_CFG}/RDB/*.dtb ${D}/boot/mc-utils
- cp -r ${S}/config/${MC_CFG}/RDB/custom/*.dtb ${D}/boot/mc-utils/custom
+ if [ -d ${S}/config/${MC_CFG}/RDB/custom/ ]; then
+ install -d ${D}/boot/mc-utils/custom
+ cp -r ${S}/config/${MC_CFG}/RDB/custom/*.dtb ${D}/boot/mc-utils/custom
+ fi
}
do_deploy () {
- install -d ${DEPLOYDIR}/mc-utils/custom
+ install -d ${DEPLOYDIR}/mc-utils
cp -r ${S}/config/${MC_CFG}/RDB/*.dtb ${DEPLOYDIR}/mc-utils
- cp -r ${S}/config/${MC_CFG}/RDB/custom/*.dtb ${DEPLOYDIR}/mc-utils/custom
-
+ if [ -d ${S}/config/${MC_CFG}/RDB/custom/ ]; then
+ install -d ${DEPLOYDIR}/mc-utils/custom
+ cp -r ${S}/config/${MC_CFG}/RDB/custom/*.dtb ${DEPLOYDIR}/mc-utils/custom
+ fi
}
addtask deploy after do_install
PACKAGES += "${PN}-image"
FILES_${PN}-image += "/boot"
-COMPATIBLE_MACHINE = "(ls1088a|ls2088a)"
+COMPATIBLE_MACHINE = "(qoriq-arm64)"