From: Chunrong Guo Date: Tue, 15 Oct 2019 05:52:46 +0000 (+0800) Subject: kernel-module-qoriq-gpu: add recipes X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b52c7a789b9a5ff7f8fe382ba8c93f9bb12a491c;p=meta-freescale.git kernel-module-qoriq-gpu: add recipes *include the following changes: 7034b39 - update driver to support linux v5.2.0 2c48523 - gpu-module: Add license file aae96e8 - gpu: fix install issue in makefile b8a4405 - gpu: create repository for GPU kernel source code Signed-off-by: Chunrong Guo --- diff --git a/recipes-kernel/kernel-modules/kernel-module-qoriq-gpu/0001-Makfile-add-modules_install.patch b/recipes-kernel/kernel-modules/kernel-module-qoriq-gpu/0001-Makfile-add-modules_install.patch new file mode 100644 index 00000000..eb9740f3 --- /dev/null +++ b/recipes-kernel/kernel-modules/kernel-module-qoriq-gpu/0001-Makfile-add-modules_install.patch @@ -0,0 +1,26 @@ +From 2fde2419acc8d89ec26c635a94c180899dbaa293 Mon Sep 17 00:00:00 2001 +From: Chunrong Guo +Date: Thu, 19 Sep 2019 05:27:11 +0200 +Subject: [PATCH] Makfile: add modules_install + +Signed-off-by: C.r. Guo +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index b67fad7..b386b39 100644 +--- a/Makefile ++++ b/Makefile +@@ -191,7 +191,7 @@ clean: + @find $(AQROOT) -name ".gc_*.cmd" | xargs rm -f + @find $(AQROOT) -name "*.o" | xargs rm -f + +-install: ++modules_install: + $(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules_install + + else +-- +2.7.4 + diff --git a/recipes-kernel/kernel-modules/kernel-module-qoriq-gpu_git.bb b/recipes-kernel/kernel-modules/kernel-module-qoriq-gpu_git.bb new file mode 100644 index 00000000..e9fd783a --- /dev/null +++ b/recipes-kernel/kernel-modules/kernel-module-qoriq-gpu_git.bb @@ -0,0 +1,21 @@ +SECTION = "devel" +SUMMARY = "GPU KERNEL MODULE" +DESCRIPTION = "The gpu-modules package contains the gpu kernel modules" +LICENSE = "GPLv2 & MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5ab1a30d0cd181e3408077727ea5a2db \ + " +inherit module fsl-eula-unpack + +SRC_URI = "http://www.nxp.com/lgfiles/sdk/lsdk1909/gpu-module-lsdk1909.bin;;fsl-eula=true \ + file://0001-Makfile-add-modules_install.patch \ + " +SRC_URI[md5sum] = "9f9591530fe7b3f46361bb932901c509" +SRC_URI[sha256sum] = "8be4ab0d817e66ef685a6a8f3d95ec1e70e9eae73b4f5a836b4b60ebcf0d588d" + +S = "${WORKDIR}/gpu-module-lsdk1909" + +export INSTALL_MOD_DIR="kernel/gpu-modules" + +EXTRA_OEMAKE += "KERNEL_DIR='${STAGING_KERNEL_DIR}'" + +COMPATIBLE_MACHINE = "(qoriq)"