Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7287AE00C25; Tue, 26 Jan 2016 13:17:06 -0800 (PST) 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.41 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4F6B7E00C15 for ; Tue, 26 Jan 2016 13:16:59 -0800 (PST) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id u0QLGxFF022519 for ; Tue, 26 Jan 2016 15:16:59 -0600 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id u0QLGxo2004390 for ; Tue, 26 Jan 2016 15:16:59 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.224.2; Tue, 26 Jan 2016 15:16:59 -0600 Received: from udd0866934.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id u0QLGvUP012813; Tue, 26 Jan 2016 15:16:58 -0600 From: Jacob Stiffler To: Date: Tue, 26 Jan 2016 16:16:43 -0500 Message-ID: <1453843011-28530-6-git-send-email-j-stiffler@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1453843011-28530-1-git-send-email-j-stiffler@ti.com> References: <1453843011-28530-1-git-send-email-j-stiffler@ti.com> MIME-Version: 1.0 Subject: [PATCH 05/13] rm-lld: Seperate source info into .inc file 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: Tue, 26 Jan 2016 21:17:06 -0000 Content-Type: text/plain Signed-off-by: Jacob Stiffler --- recipes-bsp/rm-lld/{rm-lld_git.bb => rm-lld.inc} | 29 +----------------------- recipes-bsp/rm-lld/rm-lld_git.bb | 24 ++------------------ 2 files changed, 3 insertions(+), 50 deletions(-) copy recipes-bsp/rm-lld/{rm-lld_git.bb => rm-lld.inc} (44%) diff --git a/recipes-bsp/rm-lld/rm-lld_git.bb b/recipes-bsp/rm-lld/rm-lld.inc similarity index 44% copy from recipes-bsp/rm-lld/rm-lld_git.bb copy to recipes-bsp/rm-lld/rm-lld.inc index d6cb62b..5b3b981 100644 --- a/recipes-bsp/rm-lld/rm-lld_git.bb +++ b/recipes-bsp/rm-lld/rm-lld.inc @@ -15,36 +15,9 @@ SRC_URI = "${RM_LLD_GIT_URI};destsuffix=${RM_LLD_GIT_DESTSUFFIX};protocol=${RM_L SRCREV = "${RM_LLD_SRCREV}" PV = "02.01.02.00" -PR = "r2" +INC_PR = "r3" COMPATIBLE_MACHINE = "keystone" -DEPENDS = "ti-ipc libdaemon" - -PACKAGES =+ "${PN}-test" - -FILES_${PN}-test = "${bindir}/rmDspClientTest.out \ - ${bindir}/rmLinuxClientTest.out \ - ${bindir}/rmLinuxMtClientTest.out \ - ${bindir}/ti/drv/rm/test/dts_files/*.dtb" - -CHOICELIST = "yes no" - BASEDIR = "${WORKDIR}/git" S = "${BASEDIR}/ti/drv/rm" - -do_compile () { -# Now build the lld - make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S} - for choice in ${CHOICELIST} - do - make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} USEDYNAMIC_LIB="$choice" - done -} - -do_install () { - install -d ${D}${includedir}/ti/drv/rm - install -d ${D}${libdir} - install -d ${D}${bindir} - make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} -} diff --git a/recipes-bsp/rm-lld/rm-lld_git.bb b/recipes-bsp/rm-lld/rm-lld_git.bb index d6cb62b..659e620 100644 --- a/recipes-bsp/rm-lld/rm-lld_git.bb +++ b/recipes-bsp/rm-lld/rm-lld_git.bb @@ -1,23 +1,6 @@ -DESCRIPTION = "TI Resource Manager Low Level Driver" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc" +require rm-lld.inc -RM_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/rm-lld.git" -RM_LLD_GIT_PROTOCOL = "git" -RM_LLD_GIT_BRANCH = "master" -RM_LLD_GIT_DESTSUFFIX = "git/ti/drv/rm" - -# Below commit ID corresponds to DEV.RM_LLD.02.01.02.00 -RM_LLD_SRCREV = "b3d711203c6b4cf99fb2f95dc2f4728dfd1b2639" - -BRANCH = "${RM_LLD_GIT_BRANCH}" -SRC_URI = "${RM_LLD_GIT_URI};destsuffix=${RM_LLD_GIT_DESTSUFFIX};protocol=${RM_LLD_GIT_PROTOCOL};branch=${BRANCH}" -SRCREV = "${RM_LLD_SRCREV}" - -PV = "02.01.02.00" -PR = "r2" - -COMPATIBLE_MACHINE = "keystone" +PR = "${INC_PR}.0" DEPENDS = "ti-ipc libdaemon" @@ -30,9 +13,6 @@ FILES_${PN}-test = "${bindir}/rmDspClientTest.out \ CHOICELIST = "yes no" -BASEDIR = "${WORKDIR}/git" -S = "${BASEDIR}/ti/drv/rm" - do_compile () { # Now build the lld make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S} -- 1.9.1