fix: riscv_nuclei 编译失败

riscv_nuclei编译失败原因:
1.采用Makefile编译,未包含power模块
2.安全函数库重复包含,导致链接时报重定义错误

Close #I41PQJ
Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: Id3d20cdb6050fa01aff432be8a9e21dc3c590e29
This commit is contained in:
zhushengle 2021-07-21 11:12:03 +08:00
parent d5e46ad863
commit d3fb23cca0
2 changed files with 5 additions and 5 deletions

View File

@ -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 \

View File

@ -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 \