From b4d794cbd5246a9a73236e77684bf68a4ff8137e Mon Sep 17 00:00:00 2001 From: xuxin19 Date: Fri, 8 Dec 2023 16:37:05 +0800 Subject: [PATCH] Makefile:complete missing DEPPATH Signed-off-by: xuxin19 --- interpreters/quickjs/Makefile | 1 + interpreters/wamr/Makefile | 1 + math/libtommath/Makefile | 3 +++ 3 files changed, 5 insertions(+) diff --git a/interpreters/quickjs/Makefile b/interpreters/quickjs/Makefile index 7fc846621..a0ee7516c 100644 --- a/interpreters/quickjs/Makefile +++ b/interpreters/quickjs/Makefile @@ -51,6 +51,7 @@ CSRCS += qjscalc.c endif VPATH += $(QUICKJS_UNPACK) +DEPPATH += --dep-path $(QUICKJS_UNPACK) ifneq ($(CONFIG_INTERPRETERS_QUICKJS_NONE),y) PROGNAME = qjs diff --git a/interpreters/wamr/Makefile b/interpreters/wamr/Makefile index 45d368282..f7dcae4d6 100644 --- a/interpreters/wamr/Makefile +++ b/interpreters/wamr/Makefile @@ -30,6 +30,7 @@ WAMR_URL = $(WAMR_URL_BASE)/$(WAMR_TARBALL) -include $(WAMR_UNPACK)/product-mini/platforms/nuttx/wamr.mk VPATH += $(WAMR_UNPACK)/product-mini/platforms/nuttx +DEPPATH += --dep-path $(WAMR_UNPACK)/product-mini/platforms/nuttx ifeq ($(CONFIG_INTERPRETERS_IWASM_TASK),y) MAINSRC = main.c diff --git a/math/libtommath/Makefile b/math/libtommath/Makefile index f729ba4ad..4c54d99ed 100644 --- a/math/libtommath/Makefile +++ b/math/libtommath/Makefile @@ -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)