mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-08 14:28:22 +01:00
4d9466c131
- 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>
24 lines
665 B
BlitzBasic
24 lines
665 B
BlitzBasic
SECTION = "kernel"
|
|
DESCRIPTION = "Mainline Linux kernel"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
|
COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i|sun8i)"
|
|
|
|
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] = "0164a000bd7b302037de4e91dff3018b"
|
|
SRC_URI[sha256sum] = "e92690620a4e4811c6b37b2f1b6c9b32a1dde40aa12be6527c8dc215fb27464c"
|
|
|
|
SRC_URI = "https://www.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz \
|
|
file://defconfig \
|
|
"
|