Makefile:complete missing DEPPATH

Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
xuxin19 2023-12-08 16:37:05 +08:00 committed by Xiang Xiao
parent f81a094283
commit b4d794cbd5
3 changed files with 5 additions and 0 deletions

View file

@ -53,10 +53,12 @@ bn_s_mp_rand_jenkins.c bn_s_mp_rand_platform.c bn_s_mp_reverse.c bn_s_mp_sqr.c b
bn_s_mp_sub.c bn_s_mp_toom_mul.c bn_s_mp_toom_sqr.c
VPATH += $(LIBTOMMATH_UNPACKNAME)
DEPPATH += --dep-path $(LIBTOMMATH_UNPACKNAME)
ifneq ($(CONFIG_LIBTOMMATH_DEMOS),)
CSRCS += shared.c
VPATH += $(LIBTOMMATH_UNPACKNAME)/demo
DEPPATH += --dep-path $(LIBTOMMATH_UNPACKNAME)/demo
ifneq ($(CONFIG_LIBTOMMATH_TEST),)
MAINSRC += test.c
@ -85,6 +87,7 @@ endif
ifneq ($(CONFIG_LIBTOMMATH_MTEST),)
MAINSRC += mtest.c
VPATH += $(LIBTOMMATH_UNPACKNAME)/mtest
DEPPATH += --dep-path $(LIBTOMMATH_UNPACKNAME)/mtest
PROGNAME += $(CONFIG_LIBTOMMATH_MTEST_PROGNAME)
PRIORITY += $(CONFIG_LIBTOMMATH_MTEST_PRIORITY)