Makefile 1.5 KB

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