summaryrefslogtreecommitdiff
path: root/meta-nuvoton/recipes-kernel/linux/linux-nuvoton.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-nuvoton/recipes-kernel/linux/linux-nuvoton.inc')
-rw-r--r--meta-nuvoton/recipes-kernel/linux/linux-nuvoton.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-nuvoton/recipes-kernel/linux/linux-nuvoton.inc b/meta-nuvoton/recipes-kernel/linux/linux-nuvoton.inc
new file mode 100644
index 000000000..5380478e8
--- /dev/null
+++ b/meta-nuvoton/recipes-kernel/linux/linux-nuvoton.inc
@@ -0,0 +1,21 @@
+DESCRIPTION = "Linux kernel for Nuvoton NPCM7xx"
+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_append_npcm7xx = " file://defconfig"
+
+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"