From 0de15a93eb1e3fa523b475368bb1ebeee37f21f0 Mon Sep 17 00:00:00 2001 From: "Diaz de Grenu, Jose" Date: Wed, 28 Jun 2017 11:34:27 +0200 Subject: [PATCH] dey-examples: add example to use the Atmel ATECC508A https://jira.digi.com/browse/DEL-4371 Signed-off-by: Diaz de Grenu, Jose --- .../dey-examples/dey-examples-cryptochip.bb | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-digi-dey/recipes-digi/dey-examples/dey-examples-cryptochip.bb diff --git a/meta-digi-dey/recipes-digi/dey-examples/dey-examples-cryptochip.bb b/meta-digi-dey/recipes-digi/dey-examples/dey-examples-cryptochip.bb new file mode 100644 index 000000000..e1700995b --- /dev/null +++ b/meta-digi-dey/recipes-digi/dey-examples/dey-examples-cryptochip.bb @@ -0,0 +1,28 @@ +# Copyright (C) 2017 Digi International. + +SUMMARY = "DEY examples: Cryptochip example application" +SECTION = "examples" +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +DEPENDS = "cryptoauthlib" + +SRCBRANCH = "master" +SRCREV = "${AUTOREV}" + +CC_STASH = "${DIGI_MTK_GIT}dey/dey-examples.git;protocol=ssh" +CC_GITHUB = "${DIGI_GITHUB_GIT}/dey-examples.git;protocol=git" + +CC_GIT_URI ?= "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${CC_STASH}', '${CC_GITHUB}', d)}" + +SRC_URI = "${CC_GIT_URI};branch=${SRCBRANCH}" + +S = "${WORKDIR}/git/cryptochip-get-random" + +do_install() { + oe_runmake DESTDIR=${D} install +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(ccimx6ul)" +