1 # SPDX-License-Identifier: GPL-2.0-only
3 # Makefile for HabanaLabs AI accelerators driver
6 obj-
$(CONFIG_DRM_ACCEL_HABANALABS
) := habanalabs.o
8 include $(src
)/common
/Makefile
9 habanalabs-y
+= $(HL_COMMON_FILES
)
11 include $(src
)/gaudi2
/Makefile
12 habanalabs-y
+= $(HL_GAUDI2_FILES
)
14 include $(src
)/gaudi
/Makefile
15 habanalabs-y
+= $(HL_GAUDI_FILES
)
17 include $(src
)/goya
/Makefile
18 habanalabs-y
+= $(HL_GOYA_FILES
)
20 habanalabs-
$(CONFIG_DEBUG_FS
) += common
/debugfs.o