mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-27 05:28:22 +01:00
6759ac4ce6
Update stable kernel to 4.16.13 and git kernel to 4.17-rc7. Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
32 lines
940 B
BlitzBasic
32 lines
940 B
BlitzBasic
SECTION = "kernel"
|
|
DESCRIPTION = "Mainline Linux kernel"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
|
COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i|sun8i|sun50i)"
|
|
|
|
inherit kernel
|
|
|
|
require linux.inc
|
|
|
|
# Since we're not using git, this doesn't make a difference, but we need to fill
|
|
# in something or kernel-yocto.bbclass will fail.
|
|
KBRANCH ?= "master"
|
|
|
|
# Pull in the devicetree files into the rootfs
|
|
RDEPENDS_${KERNEL_PACKAGE_NAME}-base += "kernel-devicetree"
|
|
|
|
# Default is to use stable kernel version
|
|
# If you want to use latest git version set to "1"
|
|
DEFAULT_PREFERENCE = "-1"
|
|
|
|
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
|
|
|
# v4.17-rc7
|
|
PV = "v4.17-rc7+git${SRCPV}"
|
|
SRCREV_pn-${PN} = "b04e217704b7f879c6b91222b066983a44a7a09f"
|
|
|
|
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;branch=master \
|
|
file://defconfig \
|
|
"
|
|
S = "${WORKDIR}/git"
|