All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Sam Nelson <sam.nelson@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH v2] ti-softhsmv2: Add recipe for ti customised softhsm package
Date: Fri, 30 Jan 2015 13:49:18 -0500	[thread overview]
Message-ID: <20150130184917.GM21328@edge> (raw)
In-Reply-To: <1422547885-14935-1-git-send-email-sam.nelson@ti.com>

Ack

On Thu, Jan 29, 2015 at 11:11:25AM -0500, Sam Nelson wrote:
> - Provide library, deamon and util for ti customised softhsm
> 
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> 
> ---
> Changes from previous patch
> - Update LICENSE information
> ---
> ---
>  recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb |   43 +++++++++++++++++++++++++++
>  1 file changed, 43 insertions(+)
>  create mode 100644 recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
> 
> diff --git a/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
> new file mode 100644
> index 0000000..518508c
> --- /dev/null
> +++ b/recipes-ti/ti-softhsmv2/ti-softhsmv2_git.bb
> @@ -0,0 +1,43 @@
> +DESCRIPTION = "TI softhsmv2 package"
> +LICENSE = "BSD-2-Clause | BSD-3-Clause | ISC | IBM-License | FSFULLR | Zlib"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=55144a048ba54f211a1aaa38c7fd2424"
> +SECTION = "libs"
> +
> +mntdir = "/mnt"
> +
> +inherit autotools pkgconfig
> +
> +DEPENDS = "openssl libdaemon"
> +COMPATIBLE_MACHINE = "(tci6614-evm|keystone)"
> +
> +BRANCH="master"
> +SRC_URI = "git://git.ti.com/keystone-linux/ti-softhsmv2.git;protocol=git;branch=${BRANCH}"
> +#Following commit corresponds to tag DEV.SOFTHSM-01.03.00.01
> +SRCREV = "c79d93ac2a326567a7245dda1b903ef340b5650c"
> +PV = "1.3.0.1"
> +
> +S = "${WORKDIR}/git"
> +
> +CFLAGS += " -mno-unaligned-access"
> +CPPFLAGS += " -mno-unaligned-access"
> +
> +INITSCRIPT_NAME = "softhsm-daemon.sh"
> +INITSCRIPT_PARAMS = "defaults 10"
> +
> +inherit update-rc.d
> +
> +SELECTED_OPTIMIZATION := "${@d.getVar("SELECTED_OPTIMIZATION", True).replace("-O2", "-O3")}"
> +SELECTED_OPTIMIZATION := "${@d.getVar("SELECTED_OPTIMIZATION", True).replace("-ggdb2", "")}"
> +
> +FILES_${PN} += "${libdir}/softhsm/lib*.so.* ${mntdir}/*"
> +FILES_${PN}-dbg += "${libdir}/softhsm/.debug"
> +FILES_${PN}-staticdev += "${libdir}/softhsm/*.a "
> +FILES_${PN}-dev += "${libdir}/softhsm/*.la ${libdir}/softhsm/lib*.so"
> +
> +do_install_append() {
> +	install -d ${D}${mntdir}/securedbv0
> +	install -d ${D}${mntdir}/securedbv1
> +
> +	install -d ${D}${sysconfdir}/init.d/
> +	install -c -m 755 ${S}/src/bin/daemon/softhsm-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
> +}
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


      reply	other threads:[~2015-01-30 18:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-29 16:11 [PATCH v2] ti-softhsmv2: Add recipe for ti customised softhsm package Sam Nelson
2015-01-30 18:49 ` Denys Dmytriyenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150130184917.GM21328@edge \
    --to=denys@ti.com \
    --cc=meta-ti@yoctoproject.org \
    --cc=sam.nelson@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.