开始注解编译过程子系统

    百万汉字注解 + 百篇博客分析 => 挖透鸿蒙内核源码
    博客输出站点(国内):http://weharmonyos.com
    博客输出站点(国外):https://weharmony.github.io
    注解文件系统:https://gitee.com/weharmony/third_party_NuttX
    注解协议栈:https://gitee.com/weharmony/third_party_lwip
    注解编译子系统:https://gitee.com/weharmony/build_lite
上级 19fe4c96
......@@ -165,7 +165,7 @@ typedef struct { //IPC 内容节点
#define SEND (1 << 0) //发送
#define RECV (1 << 1) //接收
#define BUFF_FREE (1 << 2)
#define BUFF_FREE (1 << 2) //空闲状态
typedef struct { //IPC消息内容回路,记录消息周期
UINT32 flag; /**< size of writeData */ //IPC标签 (SEND,RECV,BUFF_FREE)
......
# Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
# Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of
# conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
# of conditions and the following disclaimer in the documentation and/or other materials
# provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors may be used
# to endorse or promote products derived from this software without specific prior written
# permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
# Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of
# conditions and the following disclaimer.
#
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
# of conditions and the following disclaimer in the documentation and/or other materials
# provided with the distribution.
#
# 3. Neither the name of the copyright holder nor the names of its contributors may be used
# to endorse or promote products derived from this software without specific prior written
# permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import("//build/lite/config/component/lite_component.gni")
lite_component("shell") {
version = "1.0.0"
dependences = [
"fs:^1.0.0",
"kernel:^1.0.0",
]
features = []
if (LOSCFG_SHELL) {
features += [ "full:shell_full" ]
}
}
import("//build/lite/config/component/lite_component.gni")
lite_component("shell") {
version = "1.0.0"
dependences = [
"fs:^1.0.0",
"kernel:^1.0.0",
]
features = []
if (LOSCFG_SHELL) {
features += [ "full:shell_full" ]
}
}
### 精度内核源码,需其他项目源码配合,拉取内核依赖的第三方代码,目录关系如下
# - build
# | - lite
# - device
# | - hisilicon
# | - qemu
# - kernel
# | - liteos_a
# - third_party
# | - lwip
# | - Nuttx
# | - ...
###
cd ../../../../
mkdir build
git clone git@gitee.com:weharmony/build_lite.git build/lite
cd -
### 注解 third_party_NuttX 源码
cd ../../../../build/lite
#git fetch
git pull origin master
#git pull --rebase origin master
cd -
\ No newline at end of file
### 注解 third_party_NuttX 源码
cd ../../../../build/lite
git add -A
git commit -m ' 挖透鸿蒙编译过程
百万汉字注解 + 百篇博客分析 => 挖透鸿蒙内核源码
博客输出站点(国内):http://weharmonyos.com
博客输出站点(国外):https://weharmony.github.io
注解文件系统:https://gitee.com/weharmony/third_party_NuttX
注解协议栈:https://gitee.com/weharmony/third_party_lwip
注解编译子系统:https://gitee.com/weharmony/build_lite
'
git push git@gitee.com:weharmony/build_lite.git master
cd -
\ No newline at end of file
### 精度内核源码,需其他项目源码配合,拉取 device 目录下代码,目录关系如下
# - build
# | - lite
# - device
# | - hisilicon
# | - qemu
......
......@@ -4,8 +4,11 @@ cd ../../../../third_party/lwip
git add -A
git commit -m 'lwip协议栈注解
百万汉字注解 + 百篇博客分析 => 挖透鸿蒙内核源码
博客输出站点(国内):https://weharmonyos.com 或 http://8.134.122.205
博客输出站点(国内):http://weharmonyos.com
博客输出站点(国外):https://weharmony.github.io
注解文件系统:https://gitee.com/weharmony/third_party_NuttX
注解协议栈:https://gitee.com/weharmony/third_party_lwip
注解编译子系统:https://gitee.com/weharmony/build_lite
'
git push git@gitee.com:weharmony/third_party_lwip.git master
......
......@@ -2,10 +2,13 @@
cd ../../../../third_party/Nuttx
git add -A
git commit -m ' 块设备驱动,字符设备驱动注解
git commit -m ' NuttX 文件系统注解
百万汉字注解 + 百篇博客分析 => 挖透鸿蒙内核源码
博客输出站点(国内):https://weharmonyos.com 或 http://8.134.122.205
博客输出站点(国内):http://weharmonyos.com
博客输出站点(国外):https://weharmony.github.io
注解文件系统:https://gitee.com/weharmony/third_party_NuttX
注解协议栈:https://gitee.com/weharmony/third_party_lwip
注解编译子系统:https://gitee.com/weharmony/build_lite
'
git push git@gitee.com:weharmony/third_party_NuttX.git master
......
git add -A
git commit -m ' 上传获取内核依赖项目的脚本
git commit -m ' 开始注解编译过程子系统
百万汉字注解 + 百篇博客分析 => 挖透鸿蒙内核源码
博客输出站点(国内):http://weharmonyos.com 或 http://8.134.122.205
博客输出站点(国内):http://weharmonyos.com
博客输出站点(国外):https://weharmony.github.io
注解文件系统:https://gitee.com/weharmony/third_party_NuttX
注解协议栈:https://gitee.com/weharmony/third_party_lwip
注解编译子系统:https://gitee.com/weharmony/build_lite
'
git push origin master
......
### 精度内核源码,需其他项目源码配合,拉取内核依赖的第三方代码,目录关系如下
# - build
# | - lite
# - device
# | - hisilicon
# | - qemu
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册