1234567891011121314151617181920212223242526272829303132333435 |
- inherit kernel
- require recipes-kernel/linux/linux-yocto.inc
- LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
- FILESEXTRAPATHS_prepend := "${THISDIR}/files/xuantie-c910:"
- SRC_URI = " \
- https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${PV}.tar.xz;name=kernel \
- file://xuantie-linux-5.4.36.patch \
- file://light-c910-dts.patch \
- file://light-c910_defconfig \
- file://qemu-c910_defconfig \
- "
- SRC_URI[kernel.md5sum] = "4c4edf3e7d127e4f1a471aa3a370f3e7"
- SRC_URI[kernel.sha256sum] = "b9faea98122e8316af8fb428c942e81797b5d28a8fc59a24a4e47959e3765b8d"
- LINUX_VERSION ?= "${PV}"
- LINUX_VERSION_EXTENSION ?= "-thead"
- SRCREV="${AUTOREV}"
- DEPENDS += "elfutils-native"
- COMPATIBLE_MACHINE = "${MACHINE}"
- S = "${WORKDIR}/linux-${PV}"
- # KBUILD_DEFCONFIG_qemu64-c910 = "qemux-c910_defconfig"
- # KBUILD_DEFCONFIG_light-c910 = "light-c910_defconfig"
- # KBUILD_DEFCONFIG_ice-c910 = "ice-c910_defconfig"
- KCONFIG_MODE="--alldefconfig"
|