mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 00:24:12 +08:00
e65e175b07
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>
21 lines
458 B
Makefile
21 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
|