feat: 添加OpenSource文件和BUILD.gn生成NOTICE

Close #I5TELU

Signed-off-by: zhushengle <zhushengle@huawei.com>
This commit is contained in:
zhushengle
2022-09-27 16:21:16 +08:00
parent 0fed917d80
commit d8ed270cd3
3 changed files with 27 additions and 0 deletions
+6
View File
@@ -10,6 +10,7 @@
# See the Mulan PSL v2 for more details.
# Create: 2022-09-21
# Description: UniProton内核编译脚本。
import("//build/ohos.gni")
import("//build/lite/config/component/lite_component.gni")
import("//third_party/lwip/lwip.gni")
import("//third_party/littlefs/littlefs.gni")
@@ -167,6 +168,10 @@ config("os_config") {
}
}
ohos_static_library("notice") {
license_file = "./NOTICE"
}
static_library("libkernel") {
include_dirs = KERNEL_BASE_INCLUDE_DIRS
sources = KERNEL_BASE_SOURCES
@@ -216,6 +221,7 @@ static_library("libkernel") {
group("kernel") {
deps = [
":libkernel",
":notice"
]
}
+10
View File
@@ -0,0 +1,10 @@
# Copyright (c) 2022-2022 Huawei Technologies Co., Ltd. All rights reserved.
#
# UniProton is licensed under Mulan PSL v2.
# You can use this software according to the terms and conditions of the Mulan PSL v2.
# You may obtain a copy of Mulan PSL v2 at:
# http://license.coscl.org.cn/MulanPSL2
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
# EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
# MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
# See the Mulan PSL v2 for more details.
+11
View File
@@ -0,0 +1,11 @@
[
{
"Name" : "uniproton",
"License" : "MulanPSL-2.0",
"License File" : "LICENSE",
"Version Number" : "1.1",
"Owner" : "zhushengle@huawei.com",
"Upstream URL" : "https://gitee.com/openeuler/UniProton",
"Description" : "Uniproton is a highly real-time kernel implementation of the MulanPSL-2.0 license"
}
]