Laxminath Kasam | 8b1366a | 2017-10-05 01:44:16 +0530 | [diff] [blame] | 1 | # Android makefile for audio kernel modules |
| 2 | MY_LOCAL_PATH := $(call my-dir) |
| 3 | |
Meng Wang | 9cb7bc2 | 2018-02-02 15:10:57 +0800 | [diff] [blame] | 4 | UAPI_OUT := $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/include |
Laxminath Kasam | 8b1366a | 2017-10-05 01:44:16 +0530 | [diff] [blame] | 5 | |
Meng Wang | 5fddb8d | 2018-01-23 16:56:56 +0800 | [diff] [blame] | 6 | ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile),true) |
Laxminath Kasam | 8b1366a | 2017-10-05 01:44:16 +0530 | [diff] [blame] | 7 | $(shell mkdir -p $(UAPI_OUT)/linux;) |
| 8 | $(shell mkdir -p $(UAPI_OUT)/sound;) |
Meng Wang | 9cb7bc2 | 2018-02-02 15:10:57 +0800 | [diff] [blame] | 9 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/ipc/Module.symvers) |
| 10 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/dsp/Module.symvers) |
| 11 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/dsp/codecs/Module.symvers) |
| 12 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/soc/Module.symvers) |
| 13 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/Module.symvers) |
| 14 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/Module.symvers) |
| 15 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd934x/Module.symvers) |
Laxminath Kasam | 8b1366a | 2017-10-05 01:44:16 +0530 | [diff] [blame] | 16 | |
| 17 | include $(MY_LOCAL_PATH)/ipc/Android.mk |
| 18 | include $(MY_LOCAL_PATH)/dsp/Android.mk |
| 19 | include $(MY_LOCAL_PATH)/dsp/codecs/Android.mk |
| 20 | include $(MY_LOCAL_PATH)/soc/Android.mk |
| 21 | include $(MY_LOCAL_PATH)/asoc/Android.mk |
| 22 | include $(MY_LOCAL_PATH)/asoc/codecs/Android.mk |
| 23 | include $(MY_LOCAL_PATH)/asoc/codecs/wcd934x/Android.mk |
| 24 | endif |
| 25 | |
Sudheer Papothi | 085a654 | 2018-01-25 23:38:29 +0530 | [diff] [blame^] | 26 | ifeq ($(call is-board-platform-in-list,sdm670 msmnile),true) |
| 27 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/aqt1000/Module.symvers) |
| 28 | include $(MY_LOCAL_PATH)/asoc/codecs/aqt1000/Android.mk |
| 29 | endif |
| 30 | |
Laxminath Kasam | 942d1c6 | 2017-12-29 11:02:22 +0530 | [diff] [blame] | 31 | ifeq ($(call is-board-platform-in-list,msm8953 sdm670 qcs605),true) |
Meng Wang | 9cb7bc2 | 2018-02-02 15:10:57 +0800 | [diff] [blame] | 32 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/sdm660_cdc/Module.symvers) |
| 33 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/msm_sdw/Module.symvers) |
Laxminath Kasam | 8b1366a | 2017-10-05 01:44:16 +0530 | [diff] [blame] | 34 | include $(MY_LOCAL_PATH)/asoc/codecs/sdm660_cdc/Android.mk |
| 35 | include $(MY_LOCAL_PATH)/asoc/codecs/msm_sdw/Android.mk |
| 36 | endif |
Vidyakumar Athota | 9cbeb97 | 2018-01-22 17:10:15 -0800 | [diff] [blame] | 37 | |
| 38 | ifeq ($(call is-board-platform-in-list,msmnile),true) |
Meng Wang | 7ba0a82 | 2018-02-07 12:29:41 +0800 | [diff] [blame] | 39 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd9360/Module.symvers) |
Vidyakumar Athota | 9cbeb97 | 2018-01-22 17:10:15 -0800 | [diff] [blame] | 40 | include $(MY_LOCAL_PATH)/asoc/codecs/wcd9360/Android.mk |
| 41 | endif |