aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2018-06-12 00:05:58 -0700
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2018-06-21 08:47:50 -0700
commitb798ea3b7aeb4dcad296222c161cc54d86922b3f (patch)
tree0a81aa6ca452c4e219216703d4bcb9af54f781d9
parentb2f74cc7fe5c4881589d5e440a17cb51fc66a7ab (diff)
downloadmeta-xilinx-b798ea3b7aeb4dcad296222c161cc54d86922b3f.tar.gz
meta-xilinx-b798ea3b7aeb4dcad296222c161cc54d86922b3f.tar.bz2
meta-xilinx-b798ea3b7aeb4dcad296222c161cc54d86922b3f.zip
kernel-module-mali.bb: Set compatible and package arch according to SOC_VARIANT
MALI 400 is available only for eg and ev devices. Set compatible string and package arch to reflect the same. Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r--meta-xilinx-bsp/recipes-graphics/mali/kernel-module-mali.bb5
1 files changed, 4 insertions, 1 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 3d7c6a9..327f8f0 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,10 @@ do_make_scripts[depends] += "virtual/kernel:do_unpack"
S = "${WORKDIR}/DX910-SW-99002-${PV}/driver/src/devicedrv/mali"
COMPATIBLE_MACHINE = "^$"
-COMPATIBLE_MACHINE_zynqmp = "zynqmp"
+COMPATIBLE_MACHINE_zynqmpeg = "zynqmpeg"
+COMPATIBLE_MACHINE_zynqmpev = "zynqmpev"
+
+PACKAGE_ARCH = "${SOC_FAMILY}${SOC_VARIANT}"
EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}" \
ARCH="${ARCH}" \