[meta-freescale] [PATCH 5/8] ipsec-demo: optimize recipe

Daiane Angolini daiane.list at gmail.com
Tue Aug 11 11:38:25 PDT 2015


On Tue, Aug 11, 2015 at 5:48 AM, Zhenhua Luo <zhenhua.luo at freescale.com> wrote:
> * add bash in RDEPENDS
> * define S to fix build warning
> * use noexec attribute to disable function execution
> * add COMPATTIBLE_MACHINE

s/COMPATTIBLE/COMPATIBLE

No other comments on this patch
Daiane
>
> Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
> ---
>  recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb | 12 +++++-------
>  1 file changed, 5 insertions(+), 7 deletions(-)
>
> diff --git a/recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb b/recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb
> index 5607060..8a90c76 100644
> --- a/recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb
> +++ b/recipes-connectivity/ipsec-demo/ipsec-demo_0.1.bb
> @@ -2,19 +2,16 @@ SUMMARY = "Scripts and configuration files for ipsec demo"
>  LICENSE = "MIT"
>  LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
>
> -RDEPENDS_${PN} = "ipsec-tools"
> +RDEPENDS_${PN} = "ipsec-tools bash"
>
>  inherit allarch
>
>  SRC_URI = "file://test_setkey"
>
> -do_configure() {
> -    :
> -}
> +S = "${WORKDIR}"
>
> -do_compile() {
> -    :
> -}
> +do_configure[noexec] = "1"
> +do_compile[noexec] = "1"
>
>  do_install(){
>      install -d  ${D}${datadir}
> @@ -23,3 +20,4 @@ do_install(){
>
>  FILES_${PN} = "${datadir}/*"
>
> +COMPATIBLE_MACHINE = "(qoriq-ppc)"
> --
> 2.4.3
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list