[meta-freescale] [PATCH v2 05/13] mc-utils: add recipes

Chunrong Guo B40290 at freescale.com
Tue Jan 30 01:09:55 PST 2018


From: Chunrong Guo <chunrong.guo at nxp.com>

*include the following changes:
b79fe4b - config: add descriptions to DPCs and DPLs
cc37a9c - config: convert files from dos format to unix
8b3fe8c - config: update source files to match release LSDK-17.09
5b25be0 - config: update source files to match release LSDK-17.06
01a71bb - config: update source files to match LSDK-17.06-EAR
06dda1d - config: add source files for DPLs and DPCs
86da1cf - initial commit

Signed-off-by: Chunrong Guo <chunrong.guo at nxp.com>
---
 recipes-bsp/mc-utils/mc-utils_git.bb | 39 ++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 recipes-bsp/mc-utils/mc-utils_git.bb

diff --git a/recipes-bsp/mc-utils/mc-utils_git.bb b/recipes-bsp/mc-utils/mc-utils_git.bb
new file mode 100644
index 0000000..221c9e2
--- /dev/null
+++ b/recipes-bsp/mc-utils/mc-utils_git.bb
@@ -0,0 +1,39 @@
+DESCRIPTION = "The Management Complex (MC) is a key component of DPAA"
+SECTION = "mc-utils"
+LICENSE = "BSD"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=386a6287daa6504b7e7e5014ddfb3987 \
+"
+
+DEPENDS += "dtc-native"
+
+inherit deploy
+
+SRC_URI = "git://github.com/qoriq-open-source/mc-utils.git;nobranch=1"
+SRCREV = "b79fe4b47364dfd2fe263f701ad6b818a75b036b"
+
+S = "${WORKDIR}/git"
+
+MC_CFG ?= ""
+MC_CFG_ls1088a = "ls1088a"
+MC_CFG_ls2088a = "ls2088a"
+
+do_install () {
+	oe_runmake -C config 
+
+	install -d ${D}/boot/mc-utils/custom
+	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
+}
+
+do_deploy () {
+	install -d ${DEPLOYDIR}/mc-utils/custom
+	cp -r ${S}/config/${MC_CFG}/RDB/*.dtb ${DEPLOYDIR}/mc-utils
+        cp -r ${S}/config/${MC_CFG}/RDB/custom/*.dtb ${DEPLOYDIR}/mc-utils/custom
+        
+}
+addtask deploy after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+COMPATIBLE_MACHINE = "(ls1088a|ls2088a)"
-- 
1.9.0



More information about the meta-freescale mailing list