You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
677 B
27 lines
677 B
4 months ago
|
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
|