Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #MSMs - GKI
  3. ifeq ($(filter $(CONFIG_ARCH_LAHAINA) $(CONFIG_ARCH_HOLI), y),y)
  4. LINUXINCLUDE += -include $(srctree)/techpack/dataipa/config/dataipa.h
  5. ifeq ($(CONFIG_QGKI),y)
  6. include $(srctree)/techpack/dataipa/config/dataipa_QGKI.conf
  7. ifeq ($(CONFIG_LOCALVERSION), "-qgki-debug")
  8. include $(srctree)/techpack/dataipa/config/dataipa_debug.conf
  9. LINUXINCLUDE += -include $(srctree)/techpack/dataipa/config/dataipa_debug.h
  10. endif
  11. else
  12. include $(srctree)/techpack/dataipa/config/dataipa_GKI.conf
  13. endif
  14. endif
  15. #MDMs
  16. ifeq ($(CONFIG_ARCH_SDXLEMUR), y)
  17. LINUXINCLUDE += -include $(srctree)/techpack/dataipa/config/dataipa.h
  18. include $(srctree)/techpack/dataipa/config/dataipa_QGKI.conf
  19. ifneq ($(CONFIG_LOCALVERSION), "-perf")
  20. include $(srctree)/techpack/dataipa/config/dataipa_debug.conf
  21. LINUXINCLUDE += -include $(srctree)/techpack/dataipa/config/dataipa_debug.h
  22. endif
  23. endif
  24. DATAIPADRVTOP = $(srctree)/techpack/dataipa/drivers/platform/msm
  25. ifneq (,$(filter $(CONFIG_IPA3) $(CONFIG_GSI),y m))
  26. LINUXINCLUDE += -I$(DATAIPADRVTOP)/gsi
  27. LINUXINCLUDE += -I$(DATAIPADRVTOP)/gsi/gsihal
  28. LINUXINCLUDE += -I$(DATAIPADRVTOP)/ipa
  29. LINUXINCLUDE += -I$(DATAIPADRVTOP)/ipa/ipa_v3
  30. LINUXINCLUDE += -I$(DATAIPADRVTOP)/ipa/ipa_v3/ipahal
  31. LINUXINCLUDE += -I$(DATAIPADRVTOP)/ipa/ipa_clients
  32. endif
  33. ifneq (,$(filter $(CONFIG_IPA3_REGDUMP),y m))
  34. LINUXINCLUDE += -I$(DATAIPADRVTOP)/ipa/ipa_v3/dump
  35. endif
  36. ifneq (,$(filter $(CONFIG_IPA3_REGDUMP_IPA_4_5),y m))
  37. LINUXINCLUDE += -I$(DATAIPADRVTOP)/ipa/ipa_v3/dump/ipa4.5
  38. endif
  39. obj-$(CONFIG_GSI) += gsi/
  40. obj-$(CONFIG_IPA3) += ipa/