Makefile 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ifeq ($(CONFIG_VHA_NEXEF), y)
  2. obj-$(CONFIG_VHA) += nexef_platform/
  3. endif
  4. obj-$(CONFIG_VHA) += vha/ img_mem/
  5. #obj-$(CONFIG_DMA_SHARED_BUFFER) += dmabuf_exporter/
  6. obj-$(CONFIG_LOKI) += fenrir_loki/
  7. subdir-ccflags-y += -I$(src)/include
  8. # if CONFIG_DYNAMIC_DEBUG is not defined kernel wide as in Android 11+,
  9. # we still can use the facility if CONFIG_DYNAMIC_DEBUG_CORE is defined
  10. subdir-ccflags-$(CONFIG_DYNAMIC_DEBUG_CORE) += -DDYNAMIC_DEBUG_MODULE
  11. # if building the kernel module in-tree, these config options
  12. # should be put into a Kconfig file.
  13. # if building out-of-tree, defining them here is as good as any.
  14. # CONFIG_VHA: build the VHA driver
  15. # hardware options:
  16. # CONFIG_VHA_DUMMY: driver runs without hardware
  17. # CONFIG_VHA_DUMMY_HW_SIM: driver runs without hardware but simulates hw processing time
  18. # CONFIG_VHA_PCI: driver runs with generic PCI hardware
  19. # CONFIG_VHA_EMU: driver runs with hardware emulator using legacy ICE interface
  20. # CONFIG_VHA_FROST: driver runs with hardware emulator using ICE2 interface
  21. # CONFIG_VHA_APOLLO: driver runs with IMG Apollo TCF5/TCF6 fpga hardware
  22. # CONFIG_VHA_ORION: driver runs with IMG Orion/SFF hardware
  23. # CONFIG_VHA_ODIN: driver runs with IMG Odin TCF5/TCFVU fpga hardware
  24. # CONFIG_VHA_NEXEF: driver runs with the 3NX-F base platform driver
  25. # CONFIG_VHA_DT_EXAMPLE: driver example using a device tree
  26. # CONFIG_VHA_SERIES : either AX2 or AX3
  27. # CONFIG_HW_AX2: driver runs AX2145 and AX2185 hardware
  28. # CONFIG_HW_AX3: driver runs AX31xx/AX33xx/AX35xx hardware
  29. # CONFIG_HW_AX3_MC/CONFIG_HW_MULITCORE: driver runs AXAX3797 multicore hardware
  30. # system configuration options
  31. # CONFIG_VHA_SYS_MIRAGE: driver runs with Mirage system configuration file. It is set by default when CONFIG_HW_AX2 is set.
  32. # CONFIG_VHA_SYS_AURA: driver runs with Aura system configuration file. It is set by default when CONFIG_HW_AX3 is set.
  33. # CONFIG_VHA_SYS_VAGUS: driver runs with Vagus system configuration file. Applicable when CONFIG_HW_AX3 is set.
  34. # CONFIG_VHA_SYS_MAGNA: driver runs with Magna system configuration file. It is set by default when CONFIG_HW_MULTICORE is set.
  35. # misc options:
  36. # CONFIG_TARGET_OSID: driver is compiled for selected OS id. Default: 0 (OS0), Applicable for CONFIG_HW_AX3 only.
  37. # CONFIG_VHA_MMU_MIRRORED_CTX: driver is compiled with mirrored MMU page tables regarding MODEL & IO. Default: enabled, Applicable for CONFIG_HW_AX3 only.
  38. # CONFIG_VHA_SCF: driver is compiled with safety critical features. Default: enabled, Applicable for CONFIG_VHA_SYS_VAGUS & CONFIG_VHA_SYS_MAGNA.
  39. # CONFIG_VHA_NCORES: driver is compiled for specified number of cores. Default: 6, Applicable for CONFIG_HW_MULITCORE.
  40. # CONFIG_VHA_ENHANCED_APM: driver is compiled to support Enhanced Active Power Management. Default: enabled, Applicable for CONFIG_HW_MULITCORE.
  41. # CONFIG_VHA_LO_PRI_SUBSEGS: driver is compiled to support low priority subsegments. Default: disabled, Applicable for CONFIG_HW_AX3 only.