diff options
Diffstat (limited to 'meta-aspeed/recipes-kernel/linux/linux-aspeed.inc')
-rw-r--r-- | meta-aspeed/recipes-kernel/linux/linux-aspeed.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-aspeed/recipes-kernel/linux/linux-aspeed.inc b/meta-aspeed/recipes-kernel/linux/linux-aspeed.inc new file mode 100644 index 000000000..93433939d --- /dev/null +++ b/meta-aspeed/recipes-kernel/linux/linux-aspeed.inc @@ -0,0 +1,24 @@ +DESCRIPTION = "Linux kernel for Aspeed" +SECTION = "kernel" +LICENSE = "GPLv2" + +PROVIDES += "virtual/kernel" + +KCONFIG_MODE="--alldefconfig" + +KSRC ?= "git://github.com/openbmc/linux;protocol=git;branch=${KBRANCH}" +SRC_URI = "${KSRC}" +SRC_URI += " file://defconfig" + +FILESEXTRAPATHS_prepend_ast2400 := "${THISDIR}/ast2400:" +FILESEXTRAPATHS_prepend_ast2500 := "${THISDIR}/ast2500:" + +LINUX_VERSION_EXTENSION ?= "-${SRCREV}" + +PV = "${LINUX_VERSION}+git${SRCPV}" + +inherit kernel +require recipes-kernel/linux/linux-yocto.inc + +# From 4.16+ the COPYING file changed +LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" |