Initial Android target definition for msmsteppe
Add MSMSTEPPE in the makefile rules to enable compilation for SDM640. Change-Id: I36437404d98229c8b292fd63304498122d8c8687 Signed-off-by: Tanya Dixit <tdixit@codeaurora.org>
This commit is contained in:

committed by
Tanya Dixit

parent
d88c1e68dc
commit
6d74b706f0
@@ -3,7 +3,7 @@ MY_LOCAL_PATH := $(call my-dir)
|
|||||||
|
|
||||||
UAPI_OUT := $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/include
|
UAPI_OUT := $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/include
|
||||||
|
|
||||||
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile),true)
|
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)/linux;)
|
||||||
$(shell mkdir -p $(UAPI_OUT)/sound;)
|
$(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/ipc/Module.symvers)
|
||||||
@@ -24,7 +24,7 @@ include $(MY_LOCAL_PATH)/asoc/codecs/Android.mk
|
|||||||
include $(MY_LOCAL_PATH)/asoc/codecs/wcd934x/Android.mk
|
include $(MY_LOCAL_PATH)/asoc/codecs/wcd934x/Android.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(call is-board-platform-in-list,sdm670 msmnile),true)
|
ifeq ($(call is-board-platform-in-list,sdm670 msmnile $(MSMSTEPPE)),true)
|
||||||
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/aqt1000/Module.symvers)
|
$(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
|
include $(MY_LOCAL_PATH)/asoc/codecs/aqt1000/Android.mk
|
||||||
endif
|
endif
|
||||||
@@ -36,7 +36,7 @@ include $(MY_LOCAL_PATH)/asoc/codecs/sdm660_cdc/Android.mk
|
|||||||
include $(MY_LOCAL_PATH)/asoc/codecs/msm_sdw/Android.mk
|
include $(MY_LOCAL_PATH)/asoc/codecs/msm_sdw/Android.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(call is-board-platform-in-list,msmnile),true)
|
ifeq ($(call is-board-platform-in-list,msmnile $(MSMSTEPPE)),true)
|
||||||
$(shell rm -rf $(PRODUCT_OUT)/obj/vendor/qcom/opensource/audio-kernel/asoc/codecs/wcd9360/Module.symvers)
|
$(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
|
include $(MY_LOCAL_PATH)/asoc/codecs/wcd9360/Android.mk
|
||||||
endif
|
endif
|
||||||
|
@@ -18,9 +18,14 @@ TARGET := msmnile
|
|||||||
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(call is-board-platform,$(MSMSTEPPE)),true)
|
||||||
|
TARGET := $(MSMSTEPPE)
|
||||||
|
AUDIO_SELECT := CONFIG_SND_SOC_SM6150=m
|
||||||
|
endif
|
||||||
|
|
||||||
AUDIO_CHIPSET := audio
|
AUDIO_CHIPSET := audio
|
||||||
# Build/Package only in case of supported target
|
# Build/Package only in case of supported target
|
||||||
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile),true)
|
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile $(MSMSTEPPE)),true)
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
@@ -35,6 +35,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_SDM640), y)
|
||||||
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
||||||
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
export
|
export
|
||||||
|
@@ -15,9 +15,13 @@ ifeq ($(call is-board-platform,msmnile),true)
|
|||||||
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(call is-board-platform,$(MSMSTEPPE)),true)
|
||||||
|
AUDIO_SELECT := CONFIG_SND_SOC_SM6150=m
|
||||||
|
endif
|
||||||
|
|
||||||
AUDIO_CHIPSET := audio
|
AUDIO_CHIPSET := audio
|
||||||
# Build/Package only in case of supported target
|
# Build/Package only in case of supported target
|
||||||
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile),true)
|
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile $(MSMSTEPPE)),true)
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
@@ -34,6 +34,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_SDM640), y)
|
||||||
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
||||||
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
export
|
export
|
||||||
|
@@ -28,6 +28,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_SDM640), y)
|
||||||
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
||||||
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
|
@@ -11,13 +11,17 @@ ifeq ($(call is-board-platform,msmnile),true)
|
|||||||
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(call is-board-platform,$(MSMSTEPPE)),true)
|
||||||
|
AUDIO_SELECT := CONFIG_SND_SOC_SM6150=m
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(call is-board-platform-in-list,msm8953 sdm670 qcs605),true)
|
ifeq ($(call is-board-platform-in-list,msm8953 sdm670 qcs605),true)
|
||||||
AUDIO_SELECT := CONFIG_SND_SOC_SDM670=m
|
AUDIO_SELECT := CONFIG_SND_SOC_SDM670=m
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AUDIO_CHIPSET := audio
|
AUDIO_CHIPSET := audio
|
||||||
# Build/Package only in case of supported target
|
# Build/Package only in case of supported target
|
||||||
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile),true)
|
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile $(MSMSTEPPE)),true)
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
@@ -31,6 +31,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sdm670autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sdm670autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_SDM640), y)
|
||||||
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_ARCH_SM8150), y)
|
ifeq ($(CONFIG_ARCH_SM8150), y)
|
||||||
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
export
|
export
|
||||||
|
@@ -7,9 +7,13 @@ ifeq ($(call is-board-platform,msmnile),true)
|
|||||||
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(call is-board-platform,$(MSMSTEPPE)),true)
|
||||||
|
AUDIO_SELECT := CONFIG_SND_SOC_SM6150=m
|
||||||
|
endif
|
||||||
|
|
||||||
AUDIO_CHIPSET := audio
|
AUDIO_CHIPSET := audio
|
||||||
# Build/Package only in case of supported target
|
# Build/Package only in case of supported target
|
||||||
ifeq ($(call is-board-platform-in-list,msmnile),true)
|
ifeq ($(call is-board-platform-in-list,msmnile $(MSMSTEPPE)),true)
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
@@ -21,6 +21,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_SDM640), y)
|
||||||
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
||||||
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
|
@@ -15,9 +15,13 @@ ifeq ($(call is-board-platform,msmnile),true)
|
|||||||
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(call is-board-platform,$(MSMSTEPPE)),true)
|
||||||
|
AUDIO_SELECT := CONFIG_SND_SOC_SM6150=m
|
||||||
|
endif
|
||||||
|
|
||||||
AUDIO_CHIPSET := audio
|
AUDIO_CHIPSET := audio
|
||||||
# Build/Package only in case of supported target
|
# Build/Package only in case of supported target
|
||||||
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile),true)
|
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile $(MSMSTEPPE)),true)
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
@@ -29,6 +29,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sdm670autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sdm670autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_SDM640), y)
|
||||||
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_ARCH_SM8150), y)
|
ifeq ($(CONFIG_ARCH_SM8150), y)
|
||||||
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
export
|
export
|
||||||
|
@@ -15,9 +15,13 @@ ifeq ($(call is-board-platform,msmnile),true)
|
|||||||
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(call is-board-platform,$(MSMSTEPPE)),true)
|
||||||
|
AUDIO_SELECT := CONFIG_SND_SOC_SM6150=m
|
||||||
|
endif
|
||||||
|
|
||||||
AUDIO_CHIPSET := audio
|
AUDIO_CHIPSET := audio
|
||||||
# Build/Package only in case of supported target
|
# Build/Package only in case of supported target
|
||||||
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile),true)
|
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile $(MSMSTEPPE)),true)
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
@@ -30,6 +30,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sdm670autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sdm670autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_SDM640), y)
|
||||||
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_ARCH_SM8150), y)
|
ifeq ($(CONFIG_ARCH_SM8150), y)
|
||||||
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
export
|
export
|
||||||
|
@@ -15,9 +15,13 @@ ifeq ($(call is-board-platform,msmnile),true)
|
|||||||
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(call is-board-platform,$(MSMSTEPPE)),true)
|
||||||
|
AUDIO_SELECT := CONFIG_SND_SOC_SM6150=m
|
||||||
|
endif
|
||||||
|
|
||||||
AUDIO_CHIPSET := audio
|
AUDIO_CHIPSET := audio
|
||||||
# Build/Package only in case of supported target
|
# Build/Package only in case of supported target
|
||||||
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile),true)
|
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile $(MSMSTEPPE)),true)
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
@@ -15,9 +15,13 @@ ifeq ($(call is-board-platform,msmnile),true)
|
|||||||
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
AUDIO_SELECT := CONFIG_SND_SOC_SM8150=m
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(call is-board-platform,$(MSMSTEPPE)),true)
|
||||||
|
AUDIO_SELECT := CONFIG_SND_SOC_SM6150=m
|
||||||
|
endif
|
||||||
|
|
||||||
AUDIO_CHIPSET := audio
|
AUDIO_CHIPSET := audio
|
||||||
# Build/Package only in case of supported target
|
# Build/Package only in case of supported target
|
||||||
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile),true)
|
ifeq ($(call is-board-platform-in-list,msm8953 sdm845 sdm670 qcs605 msmnile $(MSMSTEPPE)),true)
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
@@ -34,6 +34,11 @@ ifeq ($(KERNEL_BUILD), 0)
|
|||||||
export
|
export
|
||||||
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_ARCH_SDM640), y)
|
||||||
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
|
export
|
||||||
|
INCS += -include $(AUDIO_ROOT)/config/sm8150autoconf.h
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
ifeq ($(CONFIG_ARCH_SDMSHRIKE), y)
|
||||||
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
include $(AUDIO_ROOT)/config/sm8150auto.conf
|
||||||
export
|
export
|
||||||
|
Reference in New Issue
Block a user