Module: meta-ti Branch: danny Commit: 3a000bd53605d35ef37b8dd571ad29d343d52f48 URL: http://arago-project.org/git/meta-ti.git?a=commit;h=3a000bd53605d35ef37b8dd571ad29d343d52f48
Author: Denys Dmytriyenko <[email protected]> Date: Mon Mar 4 11:12:29 2013 -0500 linux-ti-staging: add recipe for tracking TI latest staging tree Signed-off-by: Denys Dmytriyenko <[email protected]> --- recipes-kernel/linux/linux-ti-staging_git.bb | 44 ++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/recipes-kernel/linux/linux-ti-staging_git.bb b/recipes-kernel/linux/linux-ti-staging_git.bb new file mode 100644 index 0000000..8cc7206 --- /dev/null +++ b/recipes-kernel/linux/linux-ti-staging_git.bb @@ -0,0 +1,44 @@ +SECTION = "kernel" +DESCRIPTION = "Linux kernel for TI devices" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" +KERNEL_IMAGETYPE = "uImage" + +inherit kernel +require recipes-kernel/linux/linux-dtb.inc + +# Stage the power management firmware before building the kernel +DEPENDS += "am33x-cm3" + +KERNEL_DEVICETREE_am335x-evm = "arch/arm/boot/dts/am335x-evm.dts" +KERNEL_DEVICETREE_beaglebone = "arch/arm/boot/dts/am335x-bone.dts" + +COMPATIBLE_MACHINE = "ti33x" + +S = "${WORKDIR}/git" + +BRANCH = "ti-linux-3.8.y" + +SRCREV = "d26595a42220789b81a9d243e2fc0837c7776360" +PV = "3.8.2" + +# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild +MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}" + +SRC_URI = "git://gitorious.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH}" + +do_setup_defconfig() { + : +} + +do_configure() { + oe_runmake omap2plus_defconfig +} + +# Copy the am33x-cm3 firmware if it is available +do_compile_prepend() { + 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 +} _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
