blob: 71270a8264557930ddb239d197d26f26ee6d739c [file] [log] [blame]
Benjamin Faira6ac4f92018-06-20 14:57:10 -07001DESCRIPTION = "Linux kernel for Nuvoton NPCM7xx"
2SECTION = "kernel"
Patrick Williamsd541ec52022-04-30 07:41:26 -05003LICENSE = "GPL-2.0-only"
Benjamin Faira6ac4f92018-06-20 14:57:10 -07004
5PROVIDES += "virtual/kernel"
6
7KCONFIG_MODE="--alldefconfig"
8
Patrick Williamsbb99d222022-01-24 15:55:09 -06009KSRC ?= "git://github.com/openbmc/linux;protocol=https;branch=${KBRANCH}"
Benjamin Faira6ac4f92018-06-20 14:57:10 -070010SRC_URI = "${KSRC}"
Willy Tuce3cb2c2021-08-10 15:28:25 -070011SRC_URI:append:npcm7xx = " file://defconfig"
Tim Lee603cac02022-12-02 15:44:50 +080012SRC_URI:append:npcm8xx = " file://npcm8xx_defconfig"
Benjamin Faira6ac4f92018-06-20 14:57:10 -070013
14LINUX_VERSION_EXTENSION ?= "-${SRCREV}"
15
16PV = "${LINUX_VERSION}+git${SRCPV}"
17
Tim Lee603cac02022-12-02 15:44:50 +080018UBOOT_MKIMAGE:append:npcm8xx = " -E -B 8"
19
Benjamin Faira6ac4f92018-06-20 14:57:10 -070020inherit kernel
21require recipes-kernel/linux/linux-yocto.inc
22
23# From 4.16+ the COPYING file changed
Andrew Geisslerafce0b52020-09-03 10:47:27 -050024LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"