mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-16 03:47:19 +00:00
93ceeb7349
By requiring linux-yocto.inc we can have separate build dirs when building LINUX_KERNEL_TYPE as 'standard' and 'preempt-rt', for example. Change-Id: I6288d210f942d1bacd510397ef3d1f2858951e68 Issue-Id: SCM-1653 Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
30 lines
1.0 KiB
PHP
30 lines
1.0 KiB
PHP
# Recipe for building linaro kernel
|
|
|
|
SUMMARY = "Linux Kernel Upstream, supported by Arm/Linaro"
|
|
SECTION = "kernel"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
|
|
|
inherit kernel
|
|
inherit kernel-yocto
|
|
|
|
# Require linux-yocto.inc in order to have separate build dirs when building
|
|
# LINUX_KERNEL_TYPE as 'standard' and 'preempt-rt'
|
|
require recipes-kernel/linux/linux-yocto.inc
|
|
|
|
SRC_URI = "git://git.linaro.org/landing-teams/working/arm/kernel-release.git;branch=${KBRANCH} \
|
|
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=${KMETA_BRANCH};destsuffix=kernel-meta \
|
|
file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch"
|
|
|
|
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
|
|
DEPENDS += "openssl-native util-linux-native"
|
|
|
|
LINUX_VERSION ?= "${PV}"
|
|
S = "${WORKDIR}/git"
|
|
|
|
# Add machine-specific settings
|
|
MACHINE_KERNEL_REQUIRE ?= ""
|
|
MACHINE_KERNEL_REQUIRE_n1sdp = "linux-linaro-arm-n1sdp.inc"
|
|
|
|
require ${MACHINE_KERNEL_REQUIRE}
|