Return-Path: Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 11208E014F5 for ; Thu, 18 Apr 2013 10:40:30 -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 r3IHeTqN029864 for ; Thu, 18 Apr 2013 12:40:29 -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 r3IHeTIV009665 for ; Thu, 18 Apr 2013 12:40:29 -0500 Received: from dlelxv23.itg.ti.com (172.17.1.198) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Thu, 18 Apr 2013 12:40:28 -0500 Received: from localhost.localdomain (dbdp20.itg.ti.com [172.24.170.38]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id r3IHeMNK005409; Thu, 18 Apr 2013 12:40:27 -0500 From: Chase Maupin To: Date: Thu, 18 Apr 2013 12:40:21 -0500 Message-ID: <1366306821-17167-2-git-send-email-Chase.Maupin@ti.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1366306821-17167-1-git-send-email-Chase.Maupin@ti.com> References: <1366306821-17167-1-git-send-email-Chase.Maupin@ti.com> MIME-Version: 1.0 Subject: [PATCH 2/2] linux-ti-staging: make cm3 firmware a run-time dependency 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: Thu, 18 Apr 2013 17:40:30 -0000 Content-Type: text/plain * Make the am33x-cm3 firmware a run-time dependency instead of build time since it is no longer required at build time. Signed-off-by: Chase Maupin --- recipes-kernel/linux/linux-ti-staging_3.8.bb | 16 ++++------------ 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/recipes-kernel/linux/linux-ti-staging_3.8.bb b/recipes-kernel/linux/linux-ti-staging_3.8.bb index 77d8e8a..6cbc2df 100644 --- a/recipes-kernel/linux/linux-ti-staging_3.8.bb +++ b/recipes-kernel/linux/linux-ti-staging_3.8.bb @@ -24,9 +24,9 @@ do_deploy_append() { require recipes-kernel/linux/linux-dtb.inc require recipes-kernel/linux/setup-defconfig.inc -# Stage the power management firmware before building the kernel -# for ti33x SOC_FAMILY devices -DEPENDS_ti33x += "am33x-cm3" +# Add a run-time dependency for the PM firmware to be installed +# on the target file system. +RDEPENDS_ti33x += "am33x-cm3" # Default is to package all dts files for ti33x devices unless building # for the specific beaglebone machine. @@ -44,16 +44,8 @@ SRCREV = "881dfafeae47da3a8f5ff8c791753e4b4df8065b" PV = "3.8.5" # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild -MACHINE_KERNEL_PR_append = "d+gitr${SRCPV}" +MACHINE_KERNEL_PR_append = "e+gitr${SRCPV}" SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \ file://defconfig \ " - -# Copy the am33x-cm3 firmware if it is available for ti33x SOC_FAMILY devices -do_compile_prepend_ti33x() { - if [ -e "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" ] - then - cp "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" "${S}/firmware" - fi -} -- 1.7.0.4