From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id EFE7FE00B3E; Mon, 27 Mar 2017 07:56:43 -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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from lelnx194.ext.ti.com (lelnx194.ext.ti.com [198.47.27.80]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1B302E00B05 for ; Mon, 27 Mar 2017 07:56:24 -0700 (PDT) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v2REuLwv024577 for ; Mon, 27 Mar 2017 09:56:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1490626581; bh=Heu3KmNe0OakCfNdQhFrKdwu96vD5Vo6bw9yl+ugWFM=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=C6xfk0aHrbTVucdNSPbu+wBrk/M6MWsJ6YJBMiuS/UcUBMVrUw48yr+t8HOEn9QGm +ftU/xvcQiXiEi9p3ehpfii40JgvLOtK9GMzg8c/0Ww/iU5NSJbmgsYgxbQneh+n6x +OejU36a/F87dYwIVvA8WdeXWio9GmWiJMbq0OpA= 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 v2REuLOr013840 for ; Mon, 27 Mar 2017 09:56:21 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Mon, 27 Mar 2017 09:56:21 -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 v2REuLaU014509; Mon, 27 Mar 2017 09:56:21 -0500 Date: Mon, 27 Mar 2017 10:56:20 -0400 From: Denys Dmytriyenko To: Sam Nelson Message-ID: <20170327145620.GV29187@edge> References: <1490382325-16663-1-git-send-email-sam.nelson@ti.com> MIME-Version: 1.0 In-Reply-To: <1490382325-16663-1-git-send-email-sam.nelson@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: meta-ti@yoctoproject.org Subject: Re: [morty/master][PATCH] ti-ipc-examples: Update with change of directory structure 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, 27 Mar 2017 14:56:44 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Fri, Mar 24, 2017 at 03:05:25PM -0400, Sam Nelson wrote: > Separated Linux host examples into separate package ti-ipc-examples- > linux and installed into /usr/bin directory. Thanks. Do you need to pull this new package into the FS separately? > Signed-off-by: Sam Nelson > --- > recipes-ti/ipc/ti-ipc-common.inc | 2 +- > recipes-ti/ipc/ti-ipc-examples_git.bb | 25 +++++++++++++++++-------- > 2 files changed, 18 insertions(+), 9 deletions(-) > > diff --git a/recipes-ti/ipc/ti-ipc-common.inc b/recipes-ti/ipc/ti-ipc-common.inc > index 6aa08c5..c5f28e7 100644 > --- a/recipes-ti/ipc/ti-ipc-common.inc > +++ b/recipes-ti/ipc/ti-ipc-common.inc > @@ -1,5 +1,5 @@ > PV = "3.45.00.00" > -INC_PR = "r0" > +INC_PR = "r1" > > PACKAGE_ARCH = "${MACHINE_ARCH}" > > diff --git a/recipes-ti/ipc/ti-ipc-examples_git.bb b/recipes-ti/ipc/ti-ipc-examples_git.bb > index 019bffa..40c3bc3 100644 > --- a/recipes-ti/ipc/ti-ipc-examples_git.bb > +++ b/recipes-ti/ipc/ti-ipc-examples_git.bb > @@ -12,6 +12,11 @@ INSANE_SKIP_${PN} += "arch" > > ALLOW_EMPTY_${PN} = "1" > > +PACKAGES =+ "${PN}-linux" > + > +INSANE_SKIP_${PN}-linux += "arch" > +ALLOW_EMPTY_${PN}-linux = "1" > + > IPC_INSTALL_DIR="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" > > do_compile() { > @@ -56,31 +61,35 @@ do_install() { > cd ${S_ipc-examples}/src > IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` > > - install -d ${D}/ipc_${IPC_VERSION}/examples > if [ "${PLATFORM}" != "UNKNOWN" ]; then > + # Install directory for bios examples > + install -d ${D}/ipc_${IPC_VERSION}/examples/bios > + # Install directory for linux examples > + install -d ${D}${bindir}/ipc/examples > oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ > - HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" > + HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" > oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ > - HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" > + HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" > > oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ > LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ > - HOSTOS="linux" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" > + HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples" > > if [ ! -z ${ALT_PLATFORM} ]; then > - oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ > - HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" \ > + oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ > + HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" \ > PLATFORM="${ALT_PLATFORM}" > oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ > - HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" \ > + HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" \ > PLATFORM="${ALT_PLATFORM}" > > oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ > LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ > - HOSTOS="linux" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" \ > + HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples" \ > PLATFORM="${ALT_PLATFORM}" > fi > fi > } > > FILES_${PN} += "ipc_*" > +FILES_${PN}-linux += "${bindir}/*" > -- > 1.9.1 > > -- > _______________________________________________ > meta-ti mailing list > meta-ti@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-ti