Android.mk 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Android makefile for audio kernel modules
  2. MY_LOCAL_PATH := $(call my-dir)
  3. UAPI_OUT := $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/include
  4. ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile),true)
  5. $(shell mkdir -p $(UAPI_OUT)/linux;)
  6. $(shell mkdir -p $(UAPI_OUT)/sound;)
  7. $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/ipc/Module.symvers)
  8. $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/dsp/Module.symvers)
  9. $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/dsp/codecs/Module.symvers)
  10. $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/soc/Module.symvers)
  11. $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/Module.symvers)
  12. $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/Module.symvers)
  13. $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd934x/Module.symvers)
  14. include $(MY_LOCAL_PATH)/ipc/Android.mk
  15. include $(MY_LOCAL_PATH)/dsp/Android.mk
  16. include $(MY_LOCAL_PATH)/dsp/codecs/Android.mk
  17. include $(MY_LOCAL_PATH)/soc/Android.mk
  18. include $(MY_LOCAL_PATH)/asoc/Android.mk
  19. include $(MY_LOCAL_PATH)/asoc/codecs/Android.mk
  20. include $(MY_LOCAL_PATH)/asoc/codecs/wcd934x/Android.mk
  21. endif
  22. ifeq ($(call is-board-platform-in-list,sdm670 msmnile),true)
  23. $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/aqt1000/Module.symvers)
  24. include $(MY_LOCAL_PATH)/asoc/codecs/aqt1000/Android.mk
  25. endif
  26. ifeq ($(call is-board-platform-in-list,msm8953 sdm670 qcs605),true)
  27. $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/sdm660_cdc/Module.symvers)
  28. $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/msm_sdw/Module.symvers)
  29. include $(MY_LOCAL_PATH)/asoc/codecs/sdm660_cdc/Android.mk
  30. include $(MY_LOCAL_PATH)/asoc/codecs/msm_sdw/Android.mk
  31. endif
  32. ifeq ($(call is-board-platform-in-list,msmnile),true)
  33. $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd9360/Module.symvers)
  34. include $(MY_LOCAL_PATH)/asoc/codecs/wcd9360/Android.mk
  35. endif