mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Oded Gabbay](/assets/img/avatar_default.png)
Now that we have a subsystem for compute accelerators, move the habanalabs driver to it. This patch only moves the files and fixes the Makefiles. Future patches will change the existing code to register to the accel subsystem and expose the accel device char files instead of the habanalabs device char files. Update the MAINTAINERS file to reflect this change. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
20 lines
458 B
Makefile
20 lines
458 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Makefile for HabanaLabs AI accelerators driver
|
|
#
|
|
|
|
obj-$(CONFIG_DRM_ACCEL_HABANALABS) := habanalabs.o
|
|
|
|
include $(src)/common/Makefile
|
|
habanalabs-y += $(HL_COMMON_FILES)
|
|
|
|
include $(src)/gaudi2/Makefile
|
|
habanalabs-y += $(HL_GAUDI2_FILES)
|
|
|
|
include $(src)/gaudi/Makefile
|
|
habanalabs-y += $(HL_GAUDI_FILES)
|
|
|
|
include $(src)/goya/Makefile
|
|
habanalabs-y += $(HL_GOYA_FILES)
|
|
|
|
habanalabs-$(CONFIG_DEBUG_FS) += common/debugfs.o
|