blob: c10d1caf8c098bf5d3c01e22eebbad092b96567f [file] [log] [blame]
Laxminath Kasam8b1366a2017-10-05 01:44:16 +05301# Android makefile for audio kernel modules
2MY_LOCAL_PATH := $(call my-dir)
3
Meng Wang9cb7bc22018-02-02 15:10:57 +08004UAPI_OUT := $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/include
Laxminath Kasam8b1366a2017-10-05 01:44:16 +05305
Meng Wangb0e04792018-09-27 18:46:44 +08006ifeq ($(call is-board-platform-in-list,msmnile $(MSMSTEPPE) $(TRINKET) kona),true)
Laxminath Kasam8b1366a2017-10-05 01:44:16 +05307$(shell mkdir -p $(UAPI_OUT)/linux;)
8$(shell mkdir -p $(UAPI_OUT)/sound;)
Meng Wang9cb7bc22018-02-02 15:10:57 +08009$(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)
Laxminath Kasam8b1366a2017-10-05 01:44:16 +053015
Banajit Goswami65b73c82018-02-22 21:49:35 -080016include $(MY_LOCAL_PATH)/include/uapi/Android.mk
Laxminath Kasam8b1366a2017-10-05 01:44:16 +053017include $(MY_LOCAL_PATH)/ipc/Android.mk
18include $(MY_LOCAL_PATH)/dsp/Android.mk
19include $(MY_LOCAL_PATH)/dsp/codecs/Android.mk
20include $(MY_LOCAL_PATH)/soc/Android.mk
21include $(MY_LOCAL_PATH)/asoc/Android.mk
22include $(MY_LOCAL_PATH)/asoc/codecs/Android.mk
Meng Wangb0e04792018-09-27 18:46:44 +080023endif
24
25ifeq ($(call is-board-platform-in-list,msmnile $(MSMSTEPPE) $(TRINKET)),true)
26$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd934x/Module.symvers)
Laxminath Kasam8b1366a2017-10-05 01:44:16 +053027include $(MY_LOCAL_PATH)/asoc/codecs/wcd934x/Android.mk
28endif
29
Meng Wangd6107d02018-11-16 13:06:16 +080030ifeq ($(call is-board-platform-in-list,msmnile),true)
Sudheer Papothi085a6542018-01-25 23:38:29 +053031$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/aqt1000/Module.symvers)
32include $(MY_LOCAL_PATH)/asoc/codecs/aqt1000/Android.mk
33endif
34
Hari Veerubhotladcab67c2018-10-14 17:08:35 +053035ifeq ($(call is-board-platform-in-list,$(MSMSTEPPE) $(TRINKET)),true)
Ramprasad Katkam858c45e2018-08-08 00:25:04 +053036$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/bolero/Module.symvers)
37include $(MY_LOCAL_PATH)/asoc/codecs/bolero/Android.mk
Rohit kumar759426e2018-05-14 18:21:52 +053038$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd937x/Module.symvers)
39include $(MY_LOCAL_PATH)/asoc/codecs/wcd937x/Android.mk
Laxminath Kasam144eabc2018-05-31 10:44:53 +053040endif
Sudheer Papothic9443c22018-08-28 05:35:34 +053041
42ifeq ($(call is-board-platform-in-list, kona),true)
43$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/bolero/Module.symvers)
44include $(MY_LOCAL_PATH)/asoc/codecs/bolero/Android.mk
45$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd938x/Module.symvers)
46include $(MY_LOCAL_PATH)/asoc/codecs/wcd938x/Android.mk
47endif