From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D03E7E0049B; Mon, 19 Oct 2015 14:06:45 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.94.94.40 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id AC2A0E00343 for ; Mon, 19 Oct 2015 14:06:44 -0700 (PDT) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id t9JL6irH005320 for ; Mon, 19 Oct 2015 16:06:44 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9JL6in1005212 for ; Mon, 19 Oct 2015 16:06:44 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Mon, 19 Oct 2015 16:06:44 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t9JL6h1s009173; Mon, 19 Oct 2015 16:06:43 -0500 Date: Mon, 19 Oct 2015 17:06:28 -0400 From: Denys Dmytriyenko To: Sam Nelson Message-ID: <20151019210628.GH5620@edge> References: <1445282948-9210-1-git-send-email-sam.nelson@ti.com> MIME-Version: 1.0 In-Reply-To: <1445282948-9210-1-git-send-email-sam.nelson@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: meta-ti@yoctoproject.org Subject: Re: [PATCH] pa-lld: Update to new version 3.0.1.5 X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2015 21:06:45 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Mon, Oct 19, 2015 at 03:29:08PM -0400, Sam Nelson wrote: > - Add script to create device independent symbolic link to actual > device library > > Signed-off-by: Sam Nelson > --- > recipes-bsp/pa-lld/pa-lld.inc | 6 +++--- > recipes-bsp/pa-lld/pa-lld_git.bb | 14 ++++++++++++++ > 2 files changed, 17 insertions(+), 3 deletions(-) > > diff --git a/recipes-bsp/pa-lld/pa-lld.inc b/recipes-bsp/pa-lld/pa-lld.inc > index 7d922fb..b8ade64 100644 > --- a/recipes-bsp/pa-lld/pa-lld.inc > +++ b/recipes-bsp/pa-lld/pa-lld.inc > @@ -6,9 +6,9 @@ COMPATIBLE_MACHINE = "keystone" > BRANCH = "master" > SRC_URI = "git://git.ti.com/keystone-rtos/pa-lld.git;destsuffix=git/ti/drv/pa;protocol=git;branch=${BRANCH}" > > -# Below Commit ID corresponds to "DEV.PA_LLD.03.00.01.04" > -SRCREV = "92de8879be3712af684bd031ca0ed291c05d6050" > -PV = "03.00.01.04" > +# Below Commit ID corresponds to "DEV.PA_LLD.03.00.01.05A" > +SRCREV = "ae3aa3e80ecf64fe5a16515d134a6bc217220e2e" > +PV = "03.00.01.05" > PR = "r1" > > BASEDIR = "${WORKDIR}/git" > diff --git a/recipes-bsp/pa-lld/pa-lld_git.bb b/recipes-bsp/pa-lld/pa-lld_git.bb > index 63e34ad..a264be2 100644 > --- a/recipes-bsp/pa-lld/pa-lld_git.bb > +++ b/recipes-bsp/pa-lld/pa-lld_git.bb > @@ -4,6 +4,13 @@ DEPENDS = "common-csl-ip rm-lld" > > include pa-lld.inc > > +SRC_URI += "file://init_pa.sh" > + > +inherit update-rc.d > + > +INITSCRIPT_NAME = "init_pa.sh" > +INITSCRIPT_PARAMS = "defaults 10" > + > do_compile () { > # Now build the lld in the updated directory > make -f makefile_armv7 DEVICE=k2h clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} > @@ -12,4 +19,11 @@ do_compile () { > > do_install () { > make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} > +# Set the generic device library symbolic link > + cd ${D}${libdir} > + ln -sf libpa.so.1.0.0 libpa_device.so.1 > + ln -sf libpa_device.so.1 libpa_device.so Do this instead of the above 3 lines: ln -sf libpa.so.1.0.0 ${D}${libdir}/libpa_device.so.1 ln -sf libpa_device.so.1 ${D}${libdir}/libpa_device.so BTW, why are the lib names different (libpa vs. libpa_device)? > +# Copy init scripts > + install -d ${D}${sysconfdir}/init.d/ > + install -c -m 755 ${WORKDIR}/${INITSCRIPT_NAME} ${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