diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-04-03 07:26:20 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-04-06 09:03:01 -0700 |
commit | 6016c4ba09542cf1b8acc94f50a80e22a8676ff6 (patch) | |
tree | 6ec24f14a0cd2d0189bec8438ecfa10cf417bb5d /meta-xilinx-bsp | |
parent | 514e9b6f229d42c7b9dea11b0e7149dd60931226 (diff) | |
download | meta-xilinx-6016c4ba09542cf1b8acc94f50a80e22a8676ff6.tar.gz |
kernel-module-mali: WIP
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp')
-rw-r--r-- | meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb | 3 | ||||
-rw-r--r-- | meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali/0001-Change-Makefile-to-be-compatible-with-Yocto.patch | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb b/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb index 819ee1f3..747ec724 100644 --- a/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb +++ b/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb | |||
@@ -32,7 +32,7 @@ SRC_URI[sha256sum] = "7a67127341d17640c1fff5dad80258fb2a37c8a2121b81525fe2327e45 | |||
32 | 32 | ||
33 | inherit module | 33 | inherit module |
34 | 34 | ||
35 | do_make_scripts[depends] += "virtual/kernel:do_unpack" | 35 | PARALLEL_MAKE = "-j 1" |
36 | 36 | ||
37 | S = "${WORKDIR}/DX910-SW-99002-${PV}/driver/src/devicedrv/mali" | 37 | S = "${WORKDIR}/DX910-SW-99002-${PV}/driver/src/devicedrv/mali" |
38 | 38 | ||
@@ -49,6 +49,5 @@ EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}" \ | |||
49 | USING_DT=1 \ | 49 | USING_DT=1 \ |
50 | MALI_SHARED_INTERRUPTS=1 \ | 50 | MALI_SHARED_INTERRUPTS=1 \ |
51 | CROSS_COMPILE="${TARGET_PREFIX}" \ | 51 | CROSS_COMPILE="${TARGET_PREFIX}" \ |
52 | O=${STAGING_KERNEL_BUILDDIR} \ | ||
53 | MALI_QUIET=1 \ | 52 | MALI_QUIET=1 \ |
54 | ' | 53 | ' |
diff --git a/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali/0001-Change-Makefile-to-be-compatible-with-Yocto.patch b/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali/0001-Change-Makefile-to-be-compatible-with-Yocto.patch index e5eeb19f..3c82f602 100644 --- a/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali/0001-Change-Makefile-to-be-compatible-with-Yocto.patch +++ b/meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali/0001-Change-Makefile-to-be-compatible-with-Yocto.patch | |||
@@ -21,9 +21,9 @@ index 5a259fe..a6dd94c 100644 | |||
21 | 21 | ||
22 | -include $(KDIR)/.config | 22 | -include $(KDIR)/.config |
23 | +ifeq ($(O),) | 23 | +ifeq ($(O),) |
24 | + include $(KDIR)/.config | 24 | + -include $(KDIR)/.config |
25 | +else | 25 | +else |
26 | + include $(O)/.config | 26 | + -include $(O)/.config |
27 | +endif | 27 | +endif |
28 | 28 | ||
29 | ifeq ($(ARCH), arm) | 29 | ifeq ($(ARCH), arm) |