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.
21 lines
582 B
21 lines
582 B
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
|