* The DEPENDS on am33x-cm3 and the installation of the cm3 firmware is specific to ti33x SOC_FAMILY devices. Mark those pieces as specific so that other devices to not depend on am335x cm3 firmware.
Signed-off-by: Chase Maupin <[email protected]> --- recipes-kernel/linux/linux-ti-staging_git.bb | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes-kernel/linux/linux-ti-staging_git.bb b/recipes-kernel/linux/linux-ti-staging_git.bb index 2581409..5f4a05d 100644 --- a/recipes-kernel/linux/linux-ti-staging_git.bb +++ b/recipes-kernel/linux/linux-ti-staging_git.bb @@ -9,7 +9,8 @@ require recipes-kernel/linux/linux-dtb.inc require recipes-kernel/linux/setup-defconfig.inc # Stage the power management firmware before building the kernel -DEPENDS += "am33x-cm3" +# for ti33x SOC_FAMILY devices +DEPENDS_ti33x += "am33x-cm3" KERNEL_DEVICETREE_am335x-evm = "arch/arm/boot/dts/am335x-evm.dts" KERNEL_DEVICETREE_beaglebone = "arch/arm/boot/dts/am335x-bone.dts" @@ -30,8 +31,8 @@ SRC_URI = "git://gitorious.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=g file://defconfig \ " -# Copy the am33x-cm3 firmware if it is available -do_compile_prepend() { +# 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" -- 1.7.0.4 _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
