mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
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
2 changed files with 3 additions and 7 deletions
|
|
@ -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}
|
||||
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
|
||||
|
|
|
|||
|
|
@ -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/sha256.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
|
||||
|
||||
$(MCUBOOT_TARBALL):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue