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 | b0e0479 | 2018-09-27 18:46:44 +0800 | [diff] [blame] | 6 | ifeq ($(call is-board-platform-in-list,msmnile $(MSMSTEPPE) $(TRINKET) kona),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) |
Laxminath Kasam | 8b1366a | 2017-10-05 01:44:16 +0530 | [diff] [blame] | 15 | |
Banajit Goswami | 65b73c8 | 2018-02-22 21:49:35 -0800 | [diff] [blame] | 16 | include $(MY_LOCAL_PATH)/include/uapi/Android.mk |
Laxminath Kasam | 8b1366a | 2017-10-05 01:44:16 +0530 | [diff] [blame] | 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 |
Meng Wang | b0e0479 | 2018-09-27 18:46:44 +0800 | [diff] [blame] | 23 | endif |
| 24 | |
| 25 | ifeq ($(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 Kasam | 8b1366a | 2017-10-05 01:44:16 +0530 | [diff] [blame] | 27 | include $(MY_LOCAL_PATH)/asoc/codecs/wcd934x/Android.mk |
| 28 | endif |
| 29 | |
Meng Wang | d6107d0 | 2018-11-16 13:06:16 +0800 | [diff] [blame] | 30 | ifeq ($(call is-board-platform-in-list,msmnile),true) |
Sudheer Papothi | 085a654 | 2018-01-25 23:38:29 +0530 | [diff] [blame] | 31 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/aqt1000/Module.symvers) |
| 32 | include $(MY_LOCAL_PATH)/asoc/codecs/aqt1000/Android.mk |
| 33 | endif |
| 34 | |
Hari Veerubhotla | dcab67c | 2018-10-14 17:08:35 +0530 | [diff] [blame] | 35 | ifeq ($(call is-board-platform-in-list,$(MSMSTEPPE) $(TRINKET)),true) |
Ramprasad Katkam | 858c45e | 2018-08-08 00:25:04 +0530 | [diff] [blame] | 36 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/bolero/Module.symvers) |
| 37 | include $(MY_LOCAL_PATH)/asoc/codecs/bolero/Android.mk |
Rohit kumar | 759426e | 2018-05-14 18:21:52 +0530 | [diff] [blame] | 38 | $(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd937x/Module.symvers) |
| 39 | include $(MY_LOCAL_PATH)/asoc/codecs/wcd937x/Android.mk |
Laxminath Kasam | 144eabc | 2018-05-31 10:44:53 +0530 | [diff] [blame] | 40 | endif |
Sudheer Papothi | c9443c2 | 2018-08-28 05:35:34 +0530 | [diff] [blame] | 41 | |
| 42 | ifeq ($(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) |
| 44 | include $(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) |
| 46 | include $(MY_LOCAL_PATH)/asoc/codecs/wcd938x/Android.mk |
| 47 | endif |