diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-09-03 10:07:57 -0300 |
|---|---|---|
| committer | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-09-03 11:52:26 -0300 |
| commit | 999d25075c029705c9c3fd970d779a1a38c0129b (patch) | |
| tree | 74ab1ea178b10a6f8d80a6855db61b7cc997ec73 /recipes-kernel | |
| parent | 050343a6415aa6bdf58b1c12724c164db2ba4afb (diff) | |
| download | meta-freescale-999d25075c029705c9c3fd970d779a1a38c0129b.tar.gz | |
kernel-module-imx-gpu-viv: Checksum the license header in the source
SRC_URI fetches only the drivers/mxc/gpu-viv subpath of linux-imx, which
carries no standalone license file, so checksum the header instead: 117
of its sources carry the Vivante dual MIT/GPL header. Unlike the generic
text, this detects an upstream license change, which is what
LIC_FILES_CHKSUM is for.
Validated on MACHINE=imx8mp-ddr4-evk: do_populate_lic re-ran and passed,
so the range and md5 resolve; the buildhistory packages tree is identical.
Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
Diffstat (limited to 'recipes-kernel')
| -rw-r--r-- | recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb index 29697b5f7..21957d3fa 100644 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p4.4.bb | |||
| @@ -7,7 +7,7 @@ DESCRIPTION = "Builds the Vivante GPU kernel driver as a loadable kernel module, | |||
| 7 | HOMEPAGE = "https://github.com/nxp-imx/linux-imx" | 7 | HOMEPAGE = "https://github.com/nxp-imx/linux-imx" |
| 8 | SECTION = "kernel" | 8 | SECTION = "kernel" |
| 9 | LICENSE = "GPL-2.0-only" | 9 | LICENSE = "GPL-2.0-only" |
| 10 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | 10 | LIC_FILES_CHKSUM = "file://src/hal/kernel/gc_hal_kernel.h;beginline=1;endline=53;md5=3d2a1d218039b0a6f5b4b4c3a9f42931" |
| 11 | 11 | ||
| 12 | SRC_URI = "${LINUX_IMX_SRC};subpath=drivers/mxc/gpu-viv;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src \ | 12 | SRC_URI = "${LINUX_IMX_SRC};subpath=drivers/mxc/gpu-viv;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src \ |
| 13 | file://Add-makefile.patch" | 13 | file://Add-makefile.patch" |
