mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-10 15:28:22 +01:00
linux: update kernel recipes
- remove older stable release recipes - bump stable linux recipe to 4.14.2 - bump git linux recipe to 4.15-rc1 - rename linux to linux-mainline Renaming kernel recipe from 'linux' to 'linux-mainline' is needed to get ready for adding aarch64 support. The reason is in the value of OVERRIDES environment variable. BitBake uses OVERRIDES to control what variables are overridden after BitBake parses recipes and configuration files. So packages names are not allowed to take values listed in OVERRIDES. One of the OVERRIDES values is TARGET_OS: TARGET_OS = linux${LIBCEXTENSION}${ABIEXTENSION} For arm architecture TARGET_OS = "linux-gnueabi". However for aarch64 architecture TARGET_OS = "linux". As a result, in the case of aarch64 kernel package can not be named 'linux'. This patch renames kernel package name to 'linux-mainline' in order to be able to maintain the same kernel recipes for both arm and aarch64 boards. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
This commit is contained in:
parent
1af0ae84d1
commit
4d9466c131
@ -12,7 +12,7 @@ XSERVER = "xserver-xorg \
|
|||||||
xf86-input-mouse \
|
xf86-input-mouse \
|
||||||
xf86-input-keyboard"
|
xf86-input-keyboard"
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux"
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-mainline"
|
||||||
PREFERRED_PROVIDER_u-boot ?= "u-boot"
|
PREFERRED_PROVIDER_u-boot ?= "u-boot"
|
||||||
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ SECTION = "kernel"
|
|||||||
DESCRIPTION = "Mainline Linux kernel"
|
DESCRIPTION = "Mainline Linux kernel"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPLv2"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
||||||
COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)"
|
COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i|sun8i)"
|
||||||
|
|
||||||
inherit kernel
|
inherit kernel
|
||||||
|
|
||||||
@ -15,8 +15,8 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
|||||||
|
|
||||||
S = "${WORKDIR}/linux-${PV}"
|
S = "${WORKDIR}/linux-${PV}"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "907447893b977c791934960a73b7fa00"
|
SRC_URI[md5sum] = "0164a000bd7b302037de4e91dff3018b"
|
||||||
SRC_URI[sha256sum] = "a09e95eb59de505cec462f3008148bcf7f5b8ed0e9e19f3e129d13a7a8d8f420"
|
SRC_URI[sha256sum] = "e92690620a4e4811c6b37b2f1b6c9b32a1dde40aa12be6527c8dc215fb27464c"
|
||||||
|
|
||||||
SRC_URI = "https://www.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz \
|
SRC_URI = "https://www.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz \
|
||||||
file://defconfig \
|
file://defconfig \
|
@ -17,9 +17,9 @@ DEFAULT_PREFERENCE = "-1"
|
|||||||
|
|
||||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
||||||
|
|
||||||
# 4.14-rc3
|
# 4.15-rc1
|
||||||
PV = "4.14+git${SRCPV}"
|
PV = "4.15+git${SRCPV}"
|
||||||
SRCREV_pn-${PN} = "9e66317d3c92ddaab330c125dfe9d06eee268aff"
|
SRCREV_pn-${PN} = "4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323"
|
||||||
|
|
||||||
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;branch=master \
|
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;branch=master \
|
||||||
file://defconfig \
|
file://defconfig \
|
@ -1,23 +0,0 @@
|
|||||||
SECTION = "kernel"
|
|
||||||
DESCRIPTION = "Mainline Linux kernel"
|
|
||||||
LICENSE = "GPLv2"
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
|
||||||
COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)"
|
|
||||||
|
|
||||||
inherit kernel
|
|
||||||
|
|
||||||
require linux.inc
|
|
||||||
|
|
||||||
# Pull in the devicetree files into the rootfs
|
|
||||||
RDEPENDS_kernel-base += "kernel-devicetree"
|
|
||||||
|
|
||||||
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/linux-${PV}"
|
|
||||||
|
|
||||||
SRC_URI[md5sum] = "5588e6bed5235a97d305dd82d0d4758f"
|
|
||||||
SRC_URI[sha256sum] = "a81d1b1306e4fddee5d6f7219090a616073b02f4069e44522a9c0454b17f2b67"
|
|
||||||
|
|
||||||
SRC_URI = "https://www.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz \
|
|
||||||
file://defconfig \
|
|
||||||
"
|
|
Loading…
Reference in New Issue
Block a user