openharmony_kernel_liteos_a/kernel
Zbigniew Bodek 850a566916 Workaround linking problem caused by missing SystemInit during build
During LiteOS consolidation, system_init.o object that contains
SystemInit() doesn't exist yet as it is being built later
and linked in ./vendor directory when OHOS_Image is created.
This is not the case when building for HiSilicon platforms as
SystemInit is provided for them in precompiled libraries.

Workaround this issue by creating "weak" function in LiteOS
that will be replaced by the "strong" symbol from ./vendor
in linking phase of the OHOS_Image.

Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: I39f327a350722a3e41a370ee93ba3b734c5681b0
2020-11-17 23:07:01 +08:00
..
base Fix build when HILOG is disabled 2020-11-17 23:07:01 +08:00
common Workaround linking problem caused by missing SystemInit during build 2020-11-17 23:07:01 +08:00
extended drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
include drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
user Fix build when KERNEL_DYNLOAD is disabled 2020-11-17 23:07:01 +08:00
BUILD.gn drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00
Kconfig drop unnecessary executable file permission mode 2020-10-13 16:37:25 +08:00