!269 修复启动框架debug模式编译问题

Merge pull request !269 from Zhaotianyu/0526initframework_fix
This commit is contained in:
openharmony_ci 2021-06-02 16:50:35 +08:00 committed by Gitee
commit 25f1051d7a
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 totalTime = 0;
UINT64 singleTime = 0;
UINT32 ret;
UINT32 ret = LOS_OK;
#endif
if (ArchCurrCpuid() == 0) {

View File

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