summaryrefslogtreecommitdiff
path: root/dvalin/kernel/drivers/gpu/arm/midgard/gpu/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'dvalin/kernel/drivers/gpu/arm/midgard/gpu/Kbuild')
-rw-r--r--dvalin/kernel/drivers/gpu/arm/midgard/gpu/Kbuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dvalin/kernel/drivers/gpu/arm/midgard/gpu/Kbuild b/dvalin/kernel/drivers/gpu/arm/midgard/gpu/Kbuild
new file mode 100644
index 0000000..c3ab811
--- /dev/null
+++ b/dvalin/kernel/drivers/gpu/arm/midgard/gpu/Kbuild
@@ -0,0 +1,27 @@
+# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+#
+# (C) COPYRIGHT 2012, 2020-2021 ARM Limited. All rights reserved.
+#
+# This program is free software and is provided to you under the terms of the
+# GNU General Public License version 2 as published by the Free Software
+# Foundation, and any use by you of this program is subject to the terms
+# of such GNU license.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, you can access it online at
+# http://www.gnu.org/licenses/gpl-2.0.html.
+#
+#
+
+mali_kbase-y += gpu/mali_kbase_gpu.o
+
+ifeq ($(CONFIG_MALI_CSF_SUPPORT),y)
+ mali_kbase-y += gpu/backend/mali_kbase_gpu_fault_csf.o
+else
+ mali_kbase-y += gpu/backend/mali_kbase_gpu_fault_jm.o
+endif