mcuboot:move tinycrypt headfile path from make.defs to Makefile
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
263f4ab8b9
commit
fa6aeb3e12
@ -31,11 +31,4 @@ CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/boot/mcuboot/mcuboo
|
|||||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/boot/mcuboot/mcuboot/boot/bootutil/include}
|
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/boot/mcuboot/mcuboot/boot/bootutil/include}
|
||||||
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/boot/mcuboot/mcuboot/boot/bootutil/include}
|
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/boot/mcuboot/mcuboot/boot/bootutil/include}
|
||||||
|
|
||||||
# It allows import of MCUboot's crypto backend library headers.
|
|
||||||
|
|
||||||
ifneq ($(CONFIG_MCUBOOT_USE_TINYCRYPT),)
|
|
||||||
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/boot/mcuboot/mcuboot/ext/tinycrypt/lib/include}
|
|
||||||
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" $(APPDIR)/boot/mcuboot/mcuboot/ext/tinycrypt/lib/include}
|
|
||||||
endif
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -71,6 +71,9 @@ CSRCS += $(MCUBOOT_UNPACK)/ext/tinycrypt/lib/source/aes_encrypt.c \
|
|||||||
$(MCUBOOT_UNPACK)/ext/tinycrypt/lib/source/ecc_dh.c \
|
$(MCUBOOT_UNPACK)/ext/tinycrypt/lib/source/ecc_dh.c \
|
||||||
$(MCUBOOT_UNPACK)/ext/tinycrypt/lib/source/sha256.c \
|
$(MCUBOOT_UNPACK)/ext/tinycrypt/lib/source/sha256.c \
|
||||||
$(MCUBOOT_UNPACK)/ext/tinycrypt/lib/source/utils.c
|
$(MCUBOOT_UNPACK)/ext/tinycrypt/lib/source/utils.c
|
||||||
|
|
||||||
|
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" mcuboot/ext/tinycrypt/lib/include}
|
||||||
|
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" mcuboot/ext/tinycrypt/lib/include}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(MCUBOOT_TARBALL):
|
$(MCUBOOT_TARBALL):
|
||||||
|
Loading…
Reference in New Issue
Block a user