mirror of
https://github.com/thead-yocto-mirror/meta-riscv
synced 2026-09-04 07:44:45 +02:00
24 lines
628 B
PHP
24 lines
628 B
PHP
DESCRIPTION = "RISC-V Linux Kernel"
|
|
SECTION = "kernel"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
|
|
|
inherit kernel
|
|
require recipes-kernel/linux/linux-yocto.inc
|
|
|
|
LINUX_VERSION_EXTENSION = "-riscv"
|
|
|
|
PV = "${LINUX_VERSION}+git${SRCPV}"
|
|
|
|
DEPENDS_append = " libgcc"
|
|
|
|
KCONFIG_MODE="--alldefconfig"
|
|
|
|
KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS} ${SECURITY_NOPIE_CFLAGS}"
|
|
KERNEL_LD_append = " -no-pie"
|
|
|
|
COMPATIBLE_MACHINE = "(qemuriscv32|qemuriscv64|freedom-u540)"
|
|
|
|
KERNEL_FEATURES_remove = "features/debug/printk.scc"
|
|
KERNEL_FEATURES_remove = "features/kernel-sample/kernel-sample.scc"
|