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 d2ff581b..fa673356 100644 --- a/targets/riscv_nuclei_demo_soc_gcc/GCC/liteos_m.mk +++ b/targets/riscv_nuclei_demo_soc_gcc/GCC/liteos_m.mk @@ -6,14 +6,14 @@ 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)/../../third_party/bounds_checking_function/src/*.c) \ - $(wildcard $(LITEOSTOPDIR)/utils/*.c) + $(wildcard $(LITEOSTOPDIR)/components/power/*.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)/../../third_party/bounds_checking_function/include + -I$(LITEOSTOPDIR)/components/power #third party related C_INCLUDES += -I$(LITEOSTOPDIR)/../../third_party/bounds_checking_function/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 be37dc16..c6202e32 100644 --- a/targets/riscv_nuclei_gd32vf103_soc_gcc/GCC/liteos_m.mk +++ b/targets/riscv_nuclei_gd32vf103_soc_gcc/GCC/liteos_m.mk @@ -6,14 +6,14 @@ 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)/../../third_party/bounds_checking_function/src/*.c) \ + $(wildcard $(LITEOSTOPDIR)/components/power/*.c) \ $(wildcard $(LITEOSTOPDIR)/utils/*.c) C_INCLUDES += -I$(LITEOSTOPDIR)/utils \ -I$(LITEOSTOPDIR)/kernel/include \ -I$(LITEOSTOPDIR)/components/cpup \ -I$(LITEOSTOPDIR)/components/backtrace \ - -I$(LITEOSTOPDIR)/../../third_party/bounds_checking_function/include + -I$(LITEOSTOPDIR)/components/power #third party related C_INCLUDES += -I$(LITEOSTOPDIR)/../../third_party/bounds_checking_function/include \