Benjamin Fair | a6ac4f9 | 2018-06-20 14:57:10 -0700 | [diff] [blame] | 1 | DESCRIPTION = "Linux kernel for Nuvoton NPCM7xx" |
| 2 | SECTION = "kernel" |
Patrick Williams | d541ec5 | 2022-04-30 07:41:26 -0500 | [diff] [blame] | 3 | LICENSE = "GPL-2.0-only" |
Benjamin Fair | a6ac4f9 | 2018-06-20 14:57:10 -0700 | [diff] [blame] | 4 | |
| 5 | PROVIDES += "virtual/kernel" |
| 6 | |
| 7 | KCONFIG_MODE="--alldefconfig" |
| 8 | |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame] | 9 | KSRC ?= "git://github.com/openbmc/linux;protocol=https;branch=${KBRANCH}" |
Benjamin Fair | a6ac4f9 | 2018-06-20 14:57:10 -0700 | [diff] [blame] | 10 | SRC_URI = "${KSRC}" |
Willy Tu | ce3cb2c | 2021-08-10 15:28:25 -0700 | [diff] [blame] | 11 | SRC_URI:append:npcm7xx = " file://defconfig" |
Tim Lee | 603cac0 | 2022-12-02 15:44:50 +0800 | [diff] [blame] | 12 | SRC_URI:append:npcm8xx = " file://npcm8xx_defconfig" |
Benjamin Fair | a6ac4f9 | 2018-06-20 14:57:10 -0700 | [diff] [blame] | 13 | |
| 14 | LINUX_VERSION_EXTENSION ?= "-${SRCREV}" |
| 15 | |
| 16 | PV = "${LINUX_VERSION}+git${SRCPV}" |
| 17 | |
Tim Lee | 603cac0 | 2022-12-02 15:44:50 +0800 | [diff] [blame] | 18 | UBOOT_MKIMAGE:append:npcm8xx = " -E -B 8" |
| 19 | |
Benjamin Fair | a6ac4f9 | 2018-06-20 14:57:10 -0700 | [diff] [blame] | 20 | inherit kernel |
| 21 | require recipes-kernel/linux/linux-yocto.inc |
| 22 | |
| 23 | # From 4.16+ the COPYING file changed |
Andrew Geissler | afce0b5 | 2020-09-03 10:47:27 -0500 | [diff] [blame] | 24 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |