From 5c0a6fffea1f242f6fda35e329ef21cd8c526052 Mon Sep 17 00:00:00 2001 From: Caoruihong Date: Wed, 16 Jun 2021 17:54:58 +0800 Subject: [PATCH] chore: bounds_checking_function is under //third_party the copy of bounds_checking_function under components was removed, we should use the copy of bounds_checking_function under //third_party Signed-off-by: Caoruihong Change-Id: Ib5c392f4d592a2fe6f26f6c1e1ea60f1faa836b9 --- targets/riscv_nuclei_demo_soc_gcc/GCC/liteos_m.mk | 10 +++++----- targets/riscv_nuclei_gd32vf103_soc_gcc/GCC/liteos_m.mk | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/targets/riscv_nuclei_demo_soc_gcc/GCC/liteos_m.mk b/targets/riscv_nuclei_demo_soc_gcc/GCC/liteos_m.mk index 72952237..d2ff581b 100644 --- a/targets/riscv_nuclei_demo_soc_gcc/GCC/liteos_m.mk +++ b/targets/riscv_nuclei_demo_soc_gcc/GCC/liteos_m.mk @@ -6,20 +6,20 @@ C_SOURCES += $(wildcard $(LITEOSTOPDIR)/kernel/src/*.c) \ $(wildcard $(LITEOSTOPDIR)/kernel/src/mm/*.c) \ $(wildcard $(LITEOSTOPDIR)/components/cpup/*.c) \ $(wildcard $(LITEOSTOPDIR)/components/los_backtrace/*.c) \ - $(wildcard $(LITEOSTOPDIR)/components/bounds_checking_function/src/*.c) \ + $(wildcard $(LITEOSTOPDIR)/../../third_party/bounds_checking_function/src/*.c) \ $(wildcard $(LITEOSTOPDIR)/utils/*.c) C_INCLUDES += -I$(LITEOSTOPDIR)/utils \ -I$(LITEOSTOPDIR)/kernel/include \ -I$(LITEOSTOPDIR)/components/cpup \ -I$(LITEOSTOPDIR)/components/los_backtrace \ - -I$(LITEOSTOPDIR)/components/bounds_checking_function/include + -I$(LITEOSTOPDIR)/../../third_party/bounds_checking_function/include #third party related -C_INCLUDES += -I$(LITEOSTOPDIR)/third_party/bounds_checking_function/include \ - -I$(LITEOSTOPDIR)/third_party/bounds_checking_function/src +C_INCLUDES += -I$(LITEOSTOPDIR)/../../third_party/bounds_checking_function/include \ + -I$(LITEOSTOPDIR)/../../third_party/bounds_checking_function/src -C_SOURCES += $(wildcard $(LITEOSTOPDIR)/third_party/bounds_checking_function/src/*.c) +C_SOURCES += $(wildcard $(LITEOSTOPDIR)/../../third_party/bounds_checking_function/src/*.c) # NMSIS related C_INCLUDES += -I$(LITEOSTOPDIR)/kernel/arch/risc-v/nuclei/gcc/nmsis/Core/Include \ diff --git a/targets/riscv_nuclei_gd32vf103_soc_gcc/GCC/liteos_m.mk b/targets/riscv_nuclei_gd32vf103_soc_gcc/GCC/liteos_m.mk index f540b08f..be37dc16 100644 --- a/targets/riscv_nuclei_gd32vf103_soc_gcc/GCC/liteos_m.mk +++ b/targets/riscv_nuclei_gd32vf103_soc_gcc/GCC/liteos_m.mk @@ -6,20 +6,20 @@ C_SOURCES += $(wildcard $(LITEOSTOPDIR)/kernel/src/*.c) \ $(wildcard $(LITEOSTOPDIR)/kernel/src/mm/*.c) \ $(wildcard $(LITEOSTOPDIR)/components/cpup/*.c) \ $(wildcard $(LITEOSTOPDIR)/components/backtrace/*.c) \ - $(wildcard $(LITEOSTOPDIR)/components/bounds_checking_function/src/*.c) \ + $(wildcard $(LITEOSTOPDIR)/../../third_party/bounds_checking_function/src/*.c) \ $(wildcard $(LITEOSTOPDIR)/utils/*.c) C_INCLUDES += -I$(LITEOSTOPDIR)/utils \ -I$(LITEOSTOPDIR)/kernel/include \ -I$(LITEOSTOPDIR)/components/cpup \ -I$(LITEOSTOPDIR)/components/backtrace \ - -I$(LITEOSTOPDIR)/components/bounds_checking_function/include + -I$(LITEOSTOPDIR)/../../third_party/bounds_checking_function/include #third party related -C_INCLUDES += -I$(LITEOSTOPDIR)/third_party/bounds_checking_function/include \ - -I$(LITEOSTOPDIR)/third_party/bounds_checking_function/src +C_INCLUDES += -I$(LITEOSTOPDIR)/../../third_party/bounds_checking_function/include \ + -I$(LITEOSTOPDIR)/../../third_party/bounds_checking_function/src -C_SOURCES += $(wildcard $(LITEOSTOPDIR)/third_party/bounds_checking_function/src/*.c) +C_SOURCES += $(wildcard $(LITEOSTOPDIR)/../../third_party/bounds_checking_function/src/*.c) # NMSIS related C_INCLUDES += -I$(LITEOSTOPDIR)/kernel/arch/risc-v/nuclei/gcc/nmsis/Core/Include \