Files
meta-riscv/recipes-kernel/linux/linux-riscv_4.16.bb
Khem Raj 9ffc522446 linux-riscv: Add earlyprintk.cfg for qemu
- early printk is must for qemu to work
- Remove dead code
- Update to tip of respective branches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-17 19:11:59 -07:00

37 lines
899 B
BlitzBasic

DESCRIPTION = "RISC-V Linux Kernel"
SECTION = "kernel"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
COMPATIBLE_MACHINE = "(qemuriscv64)"
LINUX_KERNEL_TYPE ?= "standard"
# patch version
PV_append = "-rc5"
KBRANCH ?= "${BRANCH}"
KMACHINE ?= "${MACHINE}"
KMETA = "meta"
KBUILD_DEFCONFIG_qemuriscv64 = "defconfig"
KCONFIG_MODE="--alldefconfig"
DEPENDS_append = " libgcc"
KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS} ${SECURITY_NOPIE_CFLAGS}"
KERNEL_LD_append = " -no-pie"
inherit kernel siteinfo
BRANCH = "riscv-all"
SRCREV = "7f82cffaad50273eedb654b58167c662383eac99"
SRCREV_machine = "7f82cffaad50273eedb654b58167c662383eac99"
SRC_URI = "git://github.com/riscv/riscv-linux.git;branch=${BRANCH} \
file://earlyprintk.cfg \
"
require recipes-kernel/linux/linux-yocto.inc
KERNEL_FEATURES_remove = "features/debug/printk.scc"