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.

39 lines
1.0 KiB

ccflags-y += -I$(SDK_DIR)/source/drivers/include/generic \
-I$(SDK_DIR)/source/drivers/include/common \
-I$(SDK_DIR)/source/drivers/include/flash \
-I$(SDK_DIR)/source/drivers/include/pdm \
-I$(SDK_DIR)/source/drivers/include/vo \
-I$(SDK_DIR)/source/drivers/include/video \
-I$(SDK_DIR)/source/drivers/include/panel \
-I$(SDK_DIR)/source/drivers/include/mipitx \
-I$(SDK_DIR)/source/drivers/common \
-I$(SDK_DIR)/source/drivers/include/pdm \
-I$(SDK_DIR)/source/drivers/include/cipher
ifeq ($(CFG_SOCT_CHIP_TYPE),reserved13)
ccflags-y += -DPDM_RESERVED13
endif
ifeq ($(CFG_SOCT_CHIP_TYPE),reserved6)
ccflags-y += -DPDM_RESERVED13
endif
ifeq ($(CFG_SOCT_CHIP_TYPE),reserved9)
ccflags-y += -DPDM_RESERVED9
endif
ifeq ($(CFG_SOCT_CHIP_TYPE),reserved8)
ccflags-y += -DPDM_RESERVED9
endif
ifeq ($(CFG_SOCT_BUILD_WITH_PMOC),y)
ccflags-y += -DSOCT_BUILD_WITH_PMOC
endif
ifneq ($(CFG_SOCT_BOOT_FBL),y)
ifndef CFG_SOCT_BOOT_SLAVE
obj-y += drv_pdm_main_boot.o
endif
obj-y += drv_pdm.o
obj-y += drv_db.o
endif
obj- += dummy.o