Makefile 732 B

12345678910111213141516171819
  1. #
  2. # Makefile for Heterogenous System Architecture support for AMD GPU devices
  3. #
  4. ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/amd/include/ \
  5. -Idrivers/gpu/drm/amd/include/asic_reg
  6. amdkfd-y := kfd_module.o kfd_device.o kfd_chardev.o kfd_topology.o \
  7. kfd_pasid.o kfd_doorbell.o kfd_flat_memory.o \
  8. kfd_process.o kfd_queue.o kfd_mqd_manager.o \
  9. kfd_mqd_manager_cik.o kfd_mqd_manager_vi.o \
  10. kfd_kernel_queue.o kfd_kernel_queue_cik.o \
  11. kfd_kernel_queue_vi.o kfd_packet_manager.o \
  12. kfd_process_queue_manager.o kfd_device_queue_manager.o \
  13. kfd_device_queue_manager_cik.o kfd_device_queue_manager_vi.o \
  14. kfd_interrupt.o kfd_events.o cik_event_interrupt.o \
  15. kfd_dbgdev.o kfd_dbgmgr.o
  16. obj-$(CONFIG_HSA_AMD) += amdkfd.o