fix: 修复启动框架debug模式下-Werror=maybe-uninitialized告警以及符号链接不进镜像的隐患

close: #I3T5HR
Change-Id: I2e2452d59c82726614fb78d1177d3f0f03d6e315
Signed-off-by: arvinzzz <fcykztyu@163.com>

Change-Id: I7f0b44c15a296bd8d15f0bf1fbdde60f67bb0a6c
This commit is contained in:
arvinzzz 2021-05-26 11:00:22 +08:00
parent 9b364500ad
commit 4c024159a9
2 changed files with 16 additions and 2 deletions

View File

@ -62,7 +62,7 @@ STATIC VOID InitLevelCall(const CHAR *name, const UINT32 level, struct ModuleIni
UINT64 startNsec, endNsec; UINT64 startNsec, endNsec;
UINT64 totalTime = 0; UINT64 totalTime = 0;
UINT64 singleTime = 0; UINT64 singleTime = 0;
UINT32 ret; UINT32 ret = LOS_OK;
#endif #endif
if (ArchCurrCpuid() == 0) { if (ArchCurrCpuid() == 0) {

View File

@ -120,7 +120,21 @@ LITEOS_TABLES_KERNEL_INIT_LDFLAGS := \
-ulos_vfs_init \ -ulos_vfs_init \
-uProcFsInit \ -uProcFsInit \
-uOsDriverRandomInit \ -uOsDriverRandomInit \
-uHieventInit -uHieventInit \
-uOsBsdInit \
-uShmInit \
-uOsDmesgInit \
-uOsLkLoggerInit \
-uOsCpupInit \
-uOsFutexInit \
-uOsSysWorkQueueInit \
-uOsSyscallHandleInit \
-upipe_init \
-uOomTaskInit \
-uOsCpupGuardCreator \
-uOsMpInit \
-uOsResourceFreeTaskCreate \
-uOsSystemInit
LITEOS_TABLES_DRIVER_LDFLAGS := \ LITEOS_TABLES_DRIVER_LDFLAGS := \
-ui2c_init \ -ui2c_init \