[meta-freescale] [meta-freescale-layer][PATCH 33/67] restool: Add recipe

ting.liu at nxp.com ting.liu at nxp.com
Mon Jul 4 03:41:51 PDT 2016


From: Zongchun Yu <zongchun.yu at nxp.com>

Signed-off-by: Zongchun Yu <zongchun.yu at nxp.com>
---
 recipes-dpaa2/restool/restool_git.bb | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 recipes-dpaa2/restool/restool_git.bb

diff --git a/recipes-dpaa2/restool/restool_git.bb b/recipes-dpaa2/restool/restool_git.bb
new file mode 100644
index 0000000..1fce733
--- /dev/null
+++ b/recipes-dpaa2/restool/restool_git.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "DPAA2 Resource Manager Tool"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e613b54e73c0e4a2a8918c61924bd623"
+
+RDEPENDS_${PN} += "bash"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/restool.git;branch=sdk-v2.0.x"
+SRCREV = "eba25cdfdccef45f7ba02dd2f829b9b55198fbb1"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = 'CC="${CC}"'
+
+do_compile_prepend () {
+    export EXTRA_CFLAGS="-Wno-missing-field-initializers -Wno-missing-braces"
+}
+
+do_install () {
+    oe_runmake install DESTDIR=${D}
+}
+
+COMPATIBLE_MACHINE = "(ls2080ardb)"
-- 
1.9.2



More information about the meta-freescale mailing list