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.

31 lines
1.1 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/custom \
-I$(SDK_DIR)/source/drivers/include/vo \
-I$(SDK_DIR)/source/drivers/include/panel \
-I$(SDK_DIR)/source/drivers/include/mipitx \
-I$(SDK_DIR)/source/drivers/include/flash \
-I$(SDK_DIR)/source/drivers/include/video \
-I$(SDK_DIR)/source/drivers/include/otp
ccflags-$(CFG_SOCT_CUSTOM_EARLY_INIT_SUPPORT) += -DSOCT_CUSTOM_EARLY_INIT_SUPPORT
ifneq (,$(wildcard $(SDK_DIR)/../development/bootloader/drivers/fit))
ccflags-y += -I$(SDK_DIR)/../linux/kernel/include/mntn/platform
obj-y += ../../../../development/bootloader/drivers/fit/boot_fit_base.o \
../../../../development/bootloader/drivers/fit/boot_fit_sample.o \
../../../../development/bootloader/drivers/fit/boot_fit_bbox.o
endif
ccflags-$(CFG_SOCT_BOOT_FBL) += -DSOCT_BOOT_FBL
obj-y += custom_common.o
ifeq ($(CFG_SOCT_BOOT_SLAVE),y)
obj-y += source/$(CFG_SOCT_CHIP_TYPE)/drv_custom_for_slaveboot.o
else
obj-y += source/$(CFG_SOCT_CHIP_TYPE)/drv_custom_for_boot.o
endif