ifneq ($(findstring $(CFG_SOCT_CHIP_TYPE), reserved19 hi3751v811),) ifeq ($(CFG_SOCT_BOOT_SBL),y) CONFIG_SOCT_LSADC_SUPPORT := y ifeq ($(CFG_SOCT_BOOT_ONESTAGE),y) CONFIG_SOCT_LSADC_SUPPORT := y endif endif endif ifeq ($(CFG_SOCT_CHIP_TYPE),reserved17) ifeq ($(CFG_SOCT_BOOT_SBL),y) CONFIG_SOCT_LSADC_SUPPORT := y endif endif ifneq ($(findstring $(CFG_SOCT_CHIP_TYPE), reserved9 reserved13),) ifeq ($(CFG_SOCT_BOOT_SBL),y) CONFIG_SOCT_LSADC_SUPPORT := y endif endif ccflags-$(CONFIG_SOCT_LSADC_SUPPORT) += -I$(SDK_DIR)/source/drivers/include/lsadc \ -I$(SDK_DIR)/source/drivers/common \ -I$(SDK_DIR)/source/drivers/include/pdm obj-$(CONFIG_SOCT_LSADC_SUPPORT) += lsadc.o