mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 11:42:57 +00:00
linux: remove old and outdated kernel recipes and configs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
use-kernel-config=keystone_defconfig
|
||||
@@ -1 +0,0 @@
|
||||
use-kernel-config=keystone2_fullrt_defconfig
|
||||
@@ -1,33 +0,0 @@
|
||||
SECTION = "kernel"
|
||||
DESCRIPTION = "Linux RT kernel for TI Keystone devices"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
inherit kernel
|
||||
|
||||
require recipes-kernel/linux/linux-dtb.inc
|
||||
require recipes-kernel/linux/setup-defconfig.inc
|
||||
|
||||
MACHINE_KERNEL_PR_append = "e"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
KERNEL_DEVICETREE_k2hk-evm = "k2hk-evm.dtb"
|
||||
KERNEL_DEVICETREE_k2e-evm = "k2e-evm.dtb"
|
||||
KERNEL_DEVICETREE_k2l-evm = "k2l-evm.dtb"
|
||||
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
||||
|
||||
#This commit corresponds to "K2_RT_LINUX_03.10.72_15.08"
|
||||
SRCREV = "dfe5ac2e9d7dba93fad48ca761933503dbdecae2"
|
||||
PV = "3.10.72+git${SRCPV}"
|
||||
|
||||
BRANCH = "v3.10.72/master-rt"
|
||||
SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}\
|
||||
file://defconfig\
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
RDEPENDS_kernel-base = ""
|
||||
@@ -1 +0,0 @@
|
||||
use-kernel-config=keystone2_defconfig
|
||||
@@ -1,33 +0,0 @@
|
||||
SECTION = "kernel"
|
||||
DESCRIPTION = "Linux kernel for TI Keystone devices"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
inherit kernel
|
||||
|
||||
require recipes-kernel/linux/linux-dtb.inc
|
||||
require recipes-kernel/linux/setup-defconfig.inc
|
||||
|
||||
MACHINE_KERNEL_PR_append = "e"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
KERNEL_DEVICETREE_k2hk-evm = "k2hk-evm.dtb"
|
||||
KERNEL_DEVICETREE_k2e-evm = "k2e-evm.dtb"
|
||||
KERNEL_DEVICETREE_k2l-evm = "k2l-evm.dtb"
|
||||
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
||||
|
||||
#This commit corresponds to "K2_LINUX_03.10.72_15.08"
|
||||
SRCREV = "ca334dedb5c234b1602d991d9b330360a5bc97ad"
|
||||
PV = "3.10.72+git${SRCPV}"
|
||||
|
||||
BRANCH = "v3.10.72/master"
|
||||
SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}\
|
||||
file://defconfig\
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
RDEPENDS_kernel-base = ""
|
||||
@@ -1,34 +0,0 @@
|
||||
SECTION = "kernel"
|
||||
DESCRIPTION = "Linux kernel for TI Keystone devices"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
inherit kernel
|
||||
|
||||
require recipes-kernel/linux/linux-dtb.inc
|
||||
require recipes-kernel/linux/setup-defconfig.inc
|
||||
|
||||
# Look in the generic major.minor directory for files
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-3.13:"
|
||||
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
# Only k2hk DTB is available in this version
|
||||
KERNEL_DEVICETREE_k2hk-evm = "k2hk-evm.dtb"
|
||||
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
||||
|
||||
SRCREV = "11a8eaee39b68e6047f07382c251786b40bef165"
|
||||
PV = "3.13.0+git${SRCPV}"
|
||||
|
||||
BRANCH = "v3.13/master"
|
||||
SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}\
|
||||
file://defconfig\
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
RDEPENDS_kernel-base = ""
|
||||
@@ -1 +0,0 @@
|
||||
use-kernel-config=omap2plus_defconfig
|
||||
@@ -1,41 +0,0 @@
|
||||
SECTION = "kernel"
|
||||
DESCRIPTION = "Mainline Linux kernel"
|
||||
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
|
||||
|
||||
# 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"
|
||||
|
||||
# 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_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb"
|
||||
KERNEL_DEVICETREE_omap3 = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-evm.dtb omap3-evm-37xx.dtb am3517-evm.dtb"
|
||||
KERNEL_DEVICETREE_am3517-evm = "am3517-evm.dtb"
|
||||
KERNEL_DEVICETREE_am37x-evm = "omap3-evm-37xx.dtb"
|
||||
KERNEL_DEVICETREE_beagleboard = "omap3-beagle.dtb omap3-beagle-xm.dtb"
|
||||
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH = "linux-3.14.y"
|
||||
|
||||
# Corresponds to tag v3.14.43
|
||||
SRCREV = "13253707013a08ce5a279ebd029fa10230172458"
|
||||
PV = "3.14.43"
|
||||
|
||||
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;branch=${BRANCH} \
|
||||
file://defconfig \
|
||||
"
|
||||
@@ -1 +0,0 @@
|
||||
use-kernel-config=omap2plus_defconfig
|
||||
@@ -1,32 +0,0 @@
|
||||
SECTION = "kernel"
|
||||
DESCRIPTION = "Linux kernel for TI devices supported by the GLSDK product"
|
||||
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
|
||||
|
||||
KERNEL_DEVICETREE_omap5-evm = "omap5-uevm.dtb"
|
||||
KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb"
|
||||
|
||||
COMPATIBLE_MACHINE = "omap-a15"
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH ?= "p-ti-glsdk-3.8.y"
|
||||
|
||||
SRCREV ?= "cc16f99176bf083829c028f9af5b8eb560debcc1"
|
||||
PV = "3.8.13+git${SRCPV}"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR_append = "d"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
SRC_URI = "git://git.omapzoom.org/kernel/omap.git;protocol=git;branch=${BRANCH} \
|
||||
file://defconfig \
|
||||
"
|
||||
@@ -1 +0,0 @@
|
||||
use-combined-config=ti_config_fragments/system_test_defconfig_fragment
|
||||
@@ -1 +0,0 @@
|
||||
use-combined-config=ti_config_fragments/defconfig_fragment
|
||||
@@ -1,67 +0,0 @@
|
||||
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
|
||||
require recipes-kernel/linux/cmem.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"
|
||||
|
||||
# Add a run-time dependency for the VPE VPDMA firmware to be installed
|
||||
# on the target file system.
|
||||
RDEPENDS_kernel-base_append_dra7xx = " vpdma-fw"
|
||||
|
||||
# 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_DEVICETREE_omap5-evm = "omap5-uevm.dtb"
|
||||
KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb dra7-evm-lcd10.dtb dra72-evm.dtb dra72-evm-lcd10.dtb"
|
||||
KERNEL_DEVICETREE_am57xx-evm = "am57xx-beagle-x15.dtb am57xx-evm.dtb"
|
||||
KERNEL_DEVICETREE_omap3 = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-evm.dtb omap3-evm-37xx.dtb am3517-evm.dtb"
|
||||
KERNEL_DEVICETREE_am3517-evm = "am3517-evm.dtb"
|
||||
KERNEL_DEVICETREE_am37x-evm = "omap3-evm-37xx.dtb"
|
||||
KERNEL_DEVICETREE_beagleboard = "omap3-beagle.dtb omap3-beagle-xm.dtb"
|
||||
|
||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|omap3|omap4"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BRANCH = "ti-linux-3.14.y"
|
||||
|
||||
SRCREV = "e9cd4cc81906de385f1b04708860bb3142ea601a"
|
||||
PV = "3.14.49+git${SRCPV}"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
KERNEL_CONFIG_DIR = "${S}/ti_config_fragments"
|
||||
|
||||
KERNEL_CONFIG_FRAGMENTS_append_ti33x = " ${KERNEL_CONFIG_DIR}/am33xx_only.cfg"
|
||||
KERNEL_CONFIG_FRAGMENTS_append_ti43x = " ${KERNEL_CONFIG_DIR}/am43xx_only.cfg"
|
||||
|
||||
MULTI_CONFIG_BASE_SUFFIX = ""
|
||||
|
||||
KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
|
||||
KERNEL_GIT_PROTOCOL = "git"
|
||||
SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
|
||||
file://defconfig \
|
||||
"
|
||||
@@ -1,140 +0,0 @@
|
||||
# This .inc file allows building and deploying multiple sets of kernel + modules
|
||||
# with different defconfigs
|
||||
#
|
||||
# Note that this include will NOT stage anything nor create packages, since that
|
||||
# is virtually impossible. Userspace should be built against the 'regular' kernel
|
||||
#
|
||||
# The intended usecase is for machines that have mutually exclusive drivers due
|
||||
# to e.g. pinmuxing issues. For example the LogicPD omap-l138 experimenter board
|
||||
# can have multiple mutually exclusive expansion boards like lcd, ethernet,
|
||||
# sound, 20x2 character LCD, etc. To be able to easily test all of those you can
|
||||
# use this .inc
|
||||
#
|
||||
# The function get_kernelversion uses generated header files to extract the
|
||||
# version number. But those files are not available until do_compile, and
|
||||
# do_compileconfigs is injected before that, hence the version becomes None
|
||||
# and breaks in several places. Introduce a task do_preparekernel that calls
|
||||
# "make prepare" in the kernel tree to generate all the necessary files.
|
||||
|
||||
inherit deploy
|
||||
|
||||
SRC_URI += " \
|
||||
file://configs "
|
||||
|
||||
def get_git_revision(p):
|
||||
import subprocess
|
||||
|
||||
try:
|
||||
return subprocess.Popen("git rev-parse HEAD 2>/dev/null ", cwd=p, shell=True, stdout=subprocess.PIPE).communicate()[0].rstrip()
|
||||
except OSError:
|
||||
return None
|
||||
|
||||
KERNEL_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}"
|
||||
|
||||
MULTI_CONFIG_BASE_SUFFIX = "multi-config-"
|
||||
|
||||
KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-${KERNEL_VERSION}-${PKGR}-${MACHINE}-${DATETIME}"
|
||||
MODULE_IMAGE_BASE_NAME = "modules-${KERNEL_VERSION}-${PKGR}-${MACHINE}-${DATETIME}"
|
||||
CONFIG_IMAGE_BASE_NAME = "config-${KERNEL_VERSION}-${PKGR}-${MACHINE}-${DATETIME}"
|
||||
|
||||
EXTRA_OEMAKE = "${PARALLEL_MAKE} "
|
||||
|
||||
do_preparekernel () {
|
||||
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
|
||||
oe_runmake prepare CC="${KERNEL_CC}" LD="${KERNEL_LD}"
|
||||
}
|
||||
|
||||
addtask preparekernel after do_configure before do_compile
|
||||
|
||||
do_compileconfigs () {
|
||||
# fixup for fetcher change
|
||||
if [ -e ${WORKDIR}/configs/configs ] ; then
|
||||
if [ -e ${WORKDIR}/configs/configs/empty ] ; then
|
||||
mv ${WORKDIR}/configs/configs/empty ${WORKDIR}/configs/
|
||||
fi
|
||||
mv ${WORKDIR}/configs/configs/* ${WORKDIR}/configs/
|
||||
rm -rf ${WORKDIR}/configs/configs
|
||||
fi
|
||||
|
||||
# Compile and Install additional kernel configs if found
|
||||
if [ -e ${WORKDIR}/configs/empty ] ; then
|
||||
echo "No configs found in configs/ directory, skipping to regular build"
|
||||
else
|
||||
echo "Multiple configs found, building those first"
|
||||
|
||||
# Context Save the regular 'defconfig'
|
||||
cp ${WORKDIR}/defconfig ${WORKDIR}/defconfig.save
|
||||
|
||||
for configname in ${WORKDIR}/configs/* ; do
|
||||
# Copy in alternative config
|
||||
cd ${B}
|
||||
cp $configname ${WORKDIR}/defconfig
|
||||
|
||||
# Build and Install this alternative kernel
|
||||
do_configure
|
||||
echo ${KERNEL_LOCALVERSION}-$(basename $configname) > ${B}/.scmversion
|
||||
echo ${KERNEL_LOCALVERSION}-$(basename $configname) > ${S}/.scmversion
|
||||
do_compile
|
||||
do_compile_kernelmodules
|
||||
# Below lines are needed to satisfy do_install and it's cleanup code, which doesn't know about configname
|
||||
install -d "${D}/lib/modules/${KERNEL_VERSION}"
|
||||
touch "${D}/lib/modules/${KERNEL_VERSION}/build"
|
||||
touch "${D}/lib/modules/${KERNEL_VERSION}/source"
|
||||
install -d "${D}/lib/modules/${KERNEL_VERSION}/kernel"
|
||||
do_install
|
||||
|
||||
# Remove unused symlinks specific to configname
|
||||
rm -f "${D}/lib/modules/$(cut -d\" -f2 ${B}/include/generated/utsrelease.h)/build"
|
||||
rm -f "${D}/lib/modules/$(cut -d\" -f2 ${B}/include/generated/utsrelease.h)/source"
|
||||
# In case no modules were installed, remove empty dirs
|
||||
rmdir --ignore-fail-on-non-empty "${D}/lib/modules/$(cut -d\" -f2 ${B}/include/generated/utsrelease.h)/kernel"
|
||||
rmdir --ignore-fail-on-non-empty "${D}/lib/modules/$(cut -d\" -f2 ${B}/include/generated/utsrelease.h)"
|
||||
# Also remove default location for modules used by do_install if empty
|
||||
rmdir --ignore-fail-on-non-empty "${D}/lib/modules/${KERNEL_VERSION}"
|
||||
|
||||
# Drop the resulting images in the deploy dir
|
||||
install -d ${DEPLOYDIR}
|
||||
install -m 0644 ${KERNEL_OUTPUT} ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.${MULTI_CONFIG_BASE_SUFFIX}$(basename $configname).bin
|
||||
|
||||
if [ -d "${D}/lib" ]; then
|
||||
tar --owner=root --group=root -cvzf ${DEPLOYDIR}/${MODULE_IMAGE_BASE_NAME}.${MULTI_CONFIG_BASE_SUFFIX}$(basename $configname).tgz -C ${D} lib
|
||||
fi
|
||||
|
||||
# Install the final config alongside the images
|
||||
cp .config ${DEPLOYDIR}/${CONFIG_IMAGE_BASE_NAME}.${MULTI_CONFIG_BASE_SUFFIX}$(basename $configname).config
|
||||
|
||||
# Create symlinks
|
||||
cd ${DEPLOYDIR}
|
||||
rm -f ${KERNEL_IMAGE_SYMLINK_NAME}.${MULTI_CONFIG_BASE_SUFFIX}$(basename $configname).bin
|
||||
ln -sf ${KERNEL_IMAGE_BASE_NAME}.${MULTI_CONFIG_BASE_SUFFIX}$(basename $configname).bin ${KERNEL_IMAGE_SYMLINK_NAME}.${MULTI_CONFIG_BASE_SUFFIX}$(basename $configname).bin
|
||||
rm -f modules-${MACHINE}.${MULTI_CONFIG_BASE_SUFFIX}$(basename $configname).tgz
|
||||
ln -sf ${MODULE_IMAGE_BASE_NAME}.${MULTI_CONFIG_BASE_SUFFIX}$(basename $configname).tgz modules-${MACHINE}.${MULTI_CONFIG_BASE_SUFFIX}$(basename $configname).tgz
|
||||
rm -f config-${MACHINE}.${MULTI_CONFIG_BASE_SUFFIX}$(basename $configname).config
|
||||
ln -sf ${CONFIG_IMAGE_BASE_NAME}.${MULTI_CONFIG_BASE_SUFFIX}$(basename $configname).config config-${MACHINE}.${MULTI_CONFIG_BASE_SUFFIX}$(basename $configname).config
|
||||
done
|
||||
|
||||
# Restore the regular 'defconfig'
|
||||
cp ${WORKDIR}/defconfig.save ${WORKDIR}/defconfig
|
||||
cd ${B}
|
||||
do_configure
|
||||
fi
|
||||
}
|
||||
|
||||
# For reference, copy .config to deploy image
|
||||
do_deploy_append () {
|
||||
install -d ${DEPLOYDIR}
|
||||
|
||||
# Drop the regular defconfig along side the others for consistency
|
||||
cp ${B}/.config ${DEPLOYDIR}/${CONFIG_IMAGE_BASE_NAME}.config
|
||||
|
||||
# add symlink
|
||||
cd ${DEPLOYDIR}
|
||||
rm -f config-${MACHINE}.config
|
||||
ln -s ${CONFIG_IMAGE_BASE_NAME}.config config-${MACHINE}.config
|
||||
|
||||
rm -f modules-${MACHINE}.tgz
|
||||
ln -sf ${MODULE_IMAGE_BASE_NAME}.tgz modules-${MACHINE}.tgz
|
||||
}
|
||||
|
||||
do_compileconfigs[depends] += "u-boot-mkimage-native:do_populate_sysroot virtual/${TARGET_PREFIX}gcc:do_populate_sysroot"
|
||||
addtask compileconfigs after do_preparekernel before do_compile
|
||||
@@ -1 +0,0 @@
|
||||
use-kernel-config=singlecore-omap2plus_defconfig
|
||||
@@ -1,51 +0,0 @@
|
||||
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 = "2489c022b2932432606f897741a71b712e6dbe77"
|
||||
PV = "3.14.26+git${SRCPV}"
|
||||
|
||||
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
|
||||
MACHINE_KERNEL_PR_append = "h"
|
||||
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