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 00000000..cb59dbbc --- /dev/null +++ b/recipes-kernel/linux/linux-ti-staging_git.bb @@ -0,0 +1,42 @@ +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 +require recipes-kernel/linux/setup-defconfig.inc + +# Add a run-time dependency for the PM firmware to be installed +# on the target file system. +RDEPENDS_kernel-base_ti33x += "am33x-cm3 am33x-cm3-initscript" + +# Default is to package all dts files for ti33x devices unless building +# for the specific beaglebone machine. +KERNEL_DEVICETREE_ti33x = "arch/arm/boot/dts/am335x-evm.dts arch/arm/boot/dts/am335x-evmsk.dts arch/arm/boot/dts/am335x-bone.dts" +KERNEL_DEVICETREE_am437x-evm = "arch/arm/boot/dts/am43x-epos-evm.dts" +KERNEL_DEVICETREE_beaglebone = "arch/arm/boot/dts/am335x-bone.dts" +KERNEL_DEVICETREE_omap5-evm = "arch/arm/boot/dts/omap5-sevm.dts arch/arm/boot/dts/omap5-uevm.dts" +KERNEL_DEVICETREE_dra7xx-evm = "arch/arm/boot/dts/dra7-evm.dts" + +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15" + +DEFAULT_PREFERENCE = "-1" + +S = "${WORKDIR}/git" + +BRANCH = "ti-linux-3.12.y" + +SRCREV = "b36f4be3de1b123d8601de062e7dbfc904f305fb" +PV = "3.10+3.11-rc6" + +# 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://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \ + file://defconfig \ + "