linux-mainline-common.inc 700 B

123456789101112131415161718192021222324
  1. DESCRIPTION = "Mainline Linux Kernel"
  2. SECTION = "kernel"
  3. LICENSE = "GPL-2.0-only"
  4. LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
  5. inherit kernel
  6. require recipes-kernel/linux/linux-yocto.inc
  7. LINUX_VERSION_EXTENSION = ""
  8. PV = "${LINUX_VERSION}+git${SRCPV}"
  9. KCONFIG_MODE="--alldefconfig"
  10. KBUILD_DEFCONFIG:qemuriscv32 = "rv32_defconfig"
  11. KBUILD_DEFCONFIG:qemuriscv64 = "defconfig"
  12. KBUILD_DEFCONFIG:freedom-u540 = "defconfig"
  13. COMPATIBLE_MACHINE = "(qemuriscv32|qemuriscv64|freedom-u540)"
  14. KERNEL_DEVICETREE:freedom-u540 = "sifive/${RISCV_SBI_FDT}"
  15. KERNEL_FEATURES:remove = "features/debug/printk.scc"
  16. KERNEL_FEATURES:remove = "features/kernel-sample/kernel-sample.scc"