858c45e8b8
Add bolero codec modules compilation in makefile. Change-Id: I5a060de93a95b9b150303df025c03abcf4bddd65 Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
49 lines
2.5 KiB
Makefile
49 lines
2.5 KiB
Makefile
# Android makefile for audio kernel modules
|
|
MY_LOCAL_PATH := $(call my-dir)
|
|
|
|
UAPI_OUT := $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/include
|
|
|
|
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile $(MSMSTEPPE)),true)
|
|
$(shell mkdir -p $(UAPI_OUT)/linux;)
|
|
$(shell mkdir -p $(UAPI_OUT)/sound;)
|
|
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/ipc/Module.symvers)
|
|
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/dsp/Module.symvers)
|
|
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/dsp/codecs/Module.symvers)
|
|
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/soc/Module.symvers)
|
|
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/Module.symvers)
|
|
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/Module.symvers)
|
|
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd934x/Module.symvers)
|
|
|
|
include $(MY_LOCAL_PATH)/include/uapi/Android.mk
|
|
include $(MY_LOCAL_PATH)/ipc/Android.mk
|
|
include $(MY_LOCAL_PATH)/dsp/Android.mk
|
|
include $(MY_LOCAL_PATH)/dsp/codecs/Android.mk
|
|
include $(MY_LOCAL_PATH)/soc/Android.mk
|
|
include $(MY_LOCAL_PATH)/asoc/Android.mk
|
|
include $(MY_LOCAL_PATH)/asoc/codecs/Android.mk
|
|
include $(MY_LOCAL_PATH)/asoc/codecs/wcd934x/Android.mk
|
|
endif
|
|
|
|
ifeq ($(call is-board-platform-in-list,sdm670 msmnile),true)
|
|
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/aqt1000/Module.symvers)
|
|
include $(MY_LOCAL_PATH)/asoc/codecs/aqt1000/Android.mk
|
|
endif
|
|
|
|
ifeq ($(call is-board-platform-in-list,$(MSMSTEPPE)),true)
|
|
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/bolero/Module.symvers)
|
|
include $(MY_LOCAL_PATH)/asoc/codecs/bolero/Android.mk
|
|
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd937x/Module.symvers)
|
|
include $(MY_LOCAL_PATH)/asoc/codecs/wcd937x/Android.mk
|
|
endif
|
|
|
|
ifeq ($(call is-board-platform-in-list,msm8953 sdm670 qcs605),true)
|
|
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/sdm660_cdc/Module.symvers)
|
|
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/msm_sdw/Module.symvers)
|
|
include $(MY_LOCAL_PATH)/asoc/codecs/sdm660_cdc/Android.mk
|
|
include $(MY_LOCAL_PATH)/asoc/codecs/msm_sdw/Android.mk
|
|
endif
|
|
|
|
ifeq ($(call is-board-platform-in-list,msmnile),true)
|
|
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd9360/Module.symvers)
|
|
include $(MY_LOCAL_PATH)/asoc/codecs/wcd9360/Android.mk
|
|
endif
|