mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-05-29 23:12:45 +00:00
sitara-linux-ti-staging: Create recipe for Sitara 3.14 kernel tree
* The Sitara 3.14 Kernel tree is based on the linux-ti-staging_3.14 recipe and kernel. However, the tree includes additional patches and configs. * This tree is only meant for AM335x and AM437x Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
b20619dacb
commit
cf62459026
@@ -0,0 +1 @@
|
||||
use-kernel-config=singlecore-omap2plus_defconfig
|
||||
@@ -0,0 +1,51 @@
|
||||
SECTION = "kernel"
|
||||
DESCRIPTION = "Linux kernel for TI devices"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||
|
||||
inherit kernel
|
||||
|
||||
require recipes-kernel/linux/linux-dtb.inc
|
||||
require recipes-kernel/linux/setup-defconfig.inc
|
||||
require recipes-kernel/linux/multi-kernel.inc
|
||||
|
||||
# Look in the generic major.minor directory for files
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-3.14:"
|
||||
|
||||
# Pull in the devicetree files into the rootfs
|
||||
RDEPENDS_kernel-base += "kernel-devicetree"
|
||||
|
||||
# Add a run-time dependency for the PM firmware to be installed
|
||||
# on the target file system.
|
||||
RDEPENDS_kernel-base_append_ti33x = " am33x-cm3"
|
||||
RDEPENDS_kernel-base_append_ti43x = " am33x-cm3"
|
||||
|
||||
|
||||
# Default is to package all dtb files for ti33x devices unless building
|
||||
# for the specific beaglebone machine.
|
||||
KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb"
|
||||
KERNEL_DEVICETREE_ti43x = "am43x-epos-evm.dtb am43x-epos-evm-hdmi.dtb am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb am437x-sk-evm.dtb"
|
||||
KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb"
|
||||
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH = "sitara-ti-linux-3.14.y"
|
||||
|
||||
SRCREV = "2d7148a3a95a2811604611f6c66a8826a61b8b12"
|
||||
PV = "3.14.26"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR_append = "f+gitr${SRCPV}"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
MULTI_CONFIG_BASE_SUFFIX = ""
|
||||
|
||||
KERNEL_GIT_URI = "git://git.ti.com/sitara-linux/sitara-linux.git"
|
||||
KERNEL_GIT_PROTOCOL = "git"
|
||||
SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
|
||||
file://defconfig \
|
||||
"
|
||||
Reference in New Issue
Block a user