xref: /linux/drivers/accel/habanalabs/Makefile (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Makefile for HabanaLabs AI accelerators driver
4#
5
6obj-$(CONFIG_DRM_ACCEL_HABANALABS) := habanalabs.o
7
8include $(src)/common/Makefile
9habanalabs-y += $(HL_COMMON_FILES)
10
11include $(src)/gaudi2/Makefile
12habanalabs-y += $(HL_GAUDI2_FILES)
13
14include $(src)/gaudi/Makefile
15habanalabs-y += $(HL_GAUDI_FILES)
16
17include $(src)/goya/Makefile
18habanalabs-y += $(HL_GOYA_FILES)
19
20habanalabs-$(CONFIG_DEBUG_FS) += common/debugfs.o
21