ifneq ($(filter y,$(CFG_SOCT_BOOT_SBL) $(CFG_SOCT_BOOT_SLAVE) $(CFG_SOCT_BOOT_ONESTAGE)),) ccflags-y += \ -I$(SDK_DIR)/source/drivers/include/otp \ -I$(SDK_DIR)/source/drivers/include/generic \ -I$(SDK_DIR)/source/drivers/include/common \ -I$(SDK_DIR)/source/drivers/otp/api \ -I$(SDK_DIR)/source/drivers/otp/drv \ -I$(SDK_DIR)/source/drivers/common \ -I$(SDK_DIR)/source/drivers/include/pdm SRCS := $(wildcard $(SDK_DIR)/source/drivers/otp/*/*.c) OBJS := $(patsubst $(SDK_DIR)/source/drivers/otp/%,%,$(SRCS)) obj-y += $(patsubst %.c,%.o,$(OBJS)) endif obj- += dummy.o