From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by arago-project.org (Postfix) with ESMTPS id 1CE6052079 for ; Mon, 24 Sep 2018 16:30:32 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id w8OGUNBG038357 for ; Mon, 24 Sep 2018 11:30:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1537806623; bh=CnaiNcws/N3PGHM/YrRiQQKqazEiZ5sksd4y9p+iw1g=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=CAAc8Iv11rJvMK7dFSsTv2eNtzoxVcUJPBjRxJP6HbMYFvzkKUhS27c6gFC8m4E+d 9O9Wz+qKfdH6GsGkjYAbtPCem6bnylTkm/7IJd/cMjG3OYRxiuLfbki+S1lQb9XiV+ r2MmI+8ZjNVU/VLq4lvm2J+2rWgIvDSKWH4yddIA= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8OGUNU1031473 for ; Mon, 24 Sep 2018 11:30:23 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 24 Sep 2018 11:30:22 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 24 Sep 2018 11:30:22 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w8OGUMHi018898; Mon, 24 Sep 2018 11:30:22 -0500 Date: Mon, 24 Sep 2018 12:29:09 -0400 From: Denys Dmytriyenko To: Djordje Senicic Message-ID: <20180924162909.GC18600@beryl> References: <1537805152-4059-1-git-send-email-x0157990@ti.com> MIME-Version: 1.0 In-Reply-To: <1537805152-4059-1-git-send-email-x0157990@ti.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: meta-arago@arago-project.org, d-senicic1@ti.com Subject: Re: [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2018 16:30:33 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Mon, Sep 24, 2018 at 12:05:50PM -0400, Djordje Senicic wrote: > Signed-off-by: Djordje Senicic > --- > .../arm-compute-library/arm-compute-library_git.bb | 14 ++++++++++++-- > 1 file changed, 12 insertions(+), 2 deletions(-) > > diff --git a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb > index d9fa8b0..8a65ade 100644 > --- a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb > +++ b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb > @@ -29,20 +29,30 @@ LIBS += "-larmpl_lp64_mp" > do_install() { > CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" > > - install -d ${D}${libdir} > + install -m 0755 -d ${D}${libdir} > for lib in ${S}/build/*.so > do > - install -m 0644 $lib ${D}${libdir} > + install -m 0755 $lib ${D}${libdir} Why do you make libraries executable? BTW, are those *.so actual libraries or symlinks? > done > > + # Install 'example' and benchmark executables > + install -d ${D}${bindir} > + find ${S}/build/examples/ -maxdepth 1 -type f -executable -exec cp $CP_ARGS {} ${D}${bindir} \; > + cp $CP_ARGS ${S}/build/tests/arm_compute_benchmark ${D}${bindir} > + > # Install built source package as expected by ARMNN > install -d ${D}${datadir}/${BPN} > cp $CP_ARGS ${S}/. ${D}${datadir}/${BPN} > } > > +SOLIBS = ".so" > +FILES_SOLIBSDEV = "" > +INSANE_SKIP_${PN} = "ldflags" > INSANE_SKIP_${PN}-dev = "dev-elf ldflags" > > PACKAGES =+ "${PN}-source" > +FILES_${PN} += "${bindir}/*" > +FILES_${PN} += "${libdir}/*.so" > FILES_${PN}-source = "${datadir}/${BPN}" > INSANE_SKIP_${PN}-source = "ldflags libdir staticdev" > INHIBIT_PACKAGE_DEBUG_SPLIT = "1" > -- > 1.9.1 > > _______________________________________________ > meta-arago mailing list > meta-arago@arago-project.org > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago