2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2019-02-16 06:39:11 +08:00
|
|
|
#
|
|
|
|
# Makefile for HabanaLabs AI accelerators driver
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-m := habanalabs.o
|
|
|
|
|
2019-02-16 06:39:15 +08:00
|
|
|
habanalabs-y := habanalabs_drv.o device.o context.o asid.o habanalabs_ioctl.o \
|
2019-02-16 06:39:21 +08:00
|
|
|
command_buffer.o hw_queue.o irq.o sysfs.o hwmon.o memory.o \
|
2019-03-05 22:48:42 +08:00
|
|
|
command_submission.o mmu.o firmware_if.o pci.o
|
2019-02-16 06:39:13 +08:00
|
|
|
|
2019-02-16 06:39:24 +08:00
|
|
|
habanalabs-$(CONFIG_DEBUG_FS) += debugfs.o
|
|
|
|
|
2019-02-16 06:39:13 +08:00
|
|
|
include $(src)/goya/Makefile
|
|
|
|
habanalabs-y += $(HL_GOYA_FILES)
|
2020-05-11 15:29:27 +08:00
|
|
|
|
|
|
|
include $(src)/gaudi/Makefile
|
|
|
|
habanalabs-y += $(HL_GAUDI_FILES)
|