]> code.ossystems Code Review - meta-freescale.git/commitdiff
cst: add recipes for Layerscape1 support
authorChunrong Guo <B40290@freescale.com>
Thu, 8 Jan 2015 07:07:12 +0000 (15:07 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 13 Jan 2015 13:07:12 +0000 (11:07 -0200)
  cst is the utility for security boot.

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-devtools/cst/cst_git.bb [new file with mode: 0644]

diff --git a/meta-fsl-arm/recipes-devtools/cst/cst_git.bb b/meta-fsl-arm/recipes-devtools/cst/cst_git.bb
new file mode 100644 (file)
index 0000000..0684a26
--- /dev/null
@@ -0,0 +1,26 @@
+DESCRIPTION = "CST Tool"
+SECTION = "cst"
+LICENSE = "BSD"
+
+# TODO: fix license - this file is not a license
+LIC_FILES_CHKSUM = "file://RELEASENOTES;beginline=8;endline=43;md5=5a7b22a2c96b5f94e0498c5f413aa8d3"
+
+DEPENDS += "openssl"
+
+inherit kernel-arch
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/cst.git;branch=sdk-v1.7.x"
+SRCREV = "2d35e98539c0daa2bc8049e3bd44994d3d93bbe7"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}"'
+
+PARALLEL_MAKE = ""
+
+do_install () {
+    oe_runmake install DESTDIR=${D} BIN_DEST_DIR=${bindir}
+}
+
+FILES_${PN}-dbg += "${bindir}/cst/.debug"
+BBCLASSEXTEND = "native nativesdk"