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