]> code.ossystems Code Review - meta-freescale.git/commitdiff
kernel-module-qoriq-gpu: add recipes
authorChunrong Guo <chunrong.guo@nxp.com>
Tue, 15 Oct 2019 05:52:46 +0000 (13:52 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 21 Oct 2019 12:07:06 +0000 (09:07 -0300)
*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 <chunrong.guo@nxp.com>
recipes-kernel/kernel-modules/kernel-module-qoriq-gpu/0001-Makfile-add-modules_install.patch [new file with mode: 0644]
recipes-kernel/kernel-modules/kernel-module-qoriq-gpu_git.bb [new file with mode: 0644]

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 (file)
index 0000000..eb9740f
--- /dev/null
@@ -0,0 +1,26 @@
+From 2fde2419acc8d89ec26c635a94c180899dbaa293 Mon Sep 17 00:00:00 2001
+From: Chunrong Guo <chunrong.guo@nxp.com>
+Date: Thu, 19 Sep 2019 05:27:11 +0200
+Subject: [PATCH] Makfile: add modules_install
+
+Signed-off-by: C.r. Guo <nxa13725@lsv07004.swis.us-cdc01.nxp.com>
+---
+ 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 (file)
index 0000000..e9fd783
--- /dev/null
@@ -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)"