linux-thead_5.4.36.bb 964 B

1234567891011121314151617181920212223242526272829303132333435
  1. inherit kernel
  2. require recipes-kernel/linux/linux-yocto.inc
  3. LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
  4. FILESEXTRAPATHS_prepend := "${THISDIR}/files/xuantie-c910:"
  5. SRC_URI = " \
  6. https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${PV}.tar.xz;name=kernel \
  7. file://xuantie-linux-5.4.36.patch \
  8. file://light-c910-dts.patch \
  9. file://light-c910_defconfig \
  10. file://qemu-c910_defconfig \
  11. "
  12. SRC_URI[kernel.md5sum] = "4c4edf3e7d127e4f1a471aa3a370f3e7"
  13. SRC_URI[kernel.sha256sum] = "b9faea98122e8316af8fb428c942e81797b5d28a8fc59a24a4e47959e3765b8d"
  14. LINUX_VERSION ?= "${PV}"
  15. LINUX_VERSION_EXTENSION ?= "-thead"
  16. SRCREV="${AUTOREV}"
  17. DEPENDS += "elfutils-native"
  18. COMPATIBLE_MACHINE = "${MACHINE}"
  19. S = "${WORKDIR}/linux-${PV}"
  20. # KBUILD_DEFCONFIG_qemu64-c910 = "qemux-c910_defconfig"
  21. # KBUILD_DEFCONFIG_light-c910 = "light-c910_defconfig"
  22. # KBUILD_DEFCONFIG_ice-c910 = "ice-c910_defconfig"
  23. KCONFIG_MODE="--alldefconfig"