1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Makefile for HabanaLabs AI accelerators driver
4#
5
6obj-$(CONFIG_HABANA_AI) := 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