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