]> code.ossystems Code Review - meta-freescale.git/commitdiff
restool: Add recipe
authorZongchun Yu <zongchun.yu@nxp.com>
Fri, 15 Jul 2016 16:28:36 +0000 (00:28 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 22 Jul 2016 14:30:51 +0000 (11:30 -0300)
Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-dpaa2/restool/restool_git.bb [new file with mode: 0644]

diff --git a/recipes-dpaa2/restool/restool_git.bb b/recipes-dpaa2/restool/restool_git.bb
new file mode 100644 (file)
index 0000000..aad831f
--- /dev/null
@@ -0,0 +1,18 @@
+SUMMARY = "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}" EXTRA_CFLAGS="-Wno-missing-field-initializers -Wno-missing-braces"'
+
+do_install () {
+    oe_runmake install DESTDIR=${D}
+}
+
+COMPATIBLE_MACHINE = "(ls2080ardb)"