Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Kernel Liteos A
提交
83b0e8f8
K
Kernel Liteos A
项目概览
OpenHarmony
/
Kernel Liteos A
1 年多 前同步成功
通知
460
Star
414
Fork
55
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel Liteos A
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
83b0e8f8
编写于
3月 24, 2021
作者:
O
openharmony_ci
提交者:
Gitee
3月 24, 2021
浏览文件
操作
浏览文件
下载
差异文件
!89 内核构建增加从vendor下面copy配置文件的方式
Merge pull request !89 from zhangfanfan2/OpenHarmony_1.0.1_release
上级
8b270648
6b5d6be4
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
14 addition
and
6 deletion
+14
-6
build.sh
build.sh
+12
-4
platform/Kconfig
platform/Kconfig
+2
-2
未找到文件。
build.sh
浏览文件 @
83b0e8f8
...
@@ -32,6 +32,7 @@ set -e
...
@@ -32,6 +32,7 @@ set -e
echo
"sh param:
$1
,
$2
,
$3
,
$4
,
$5
,
$6
,
$7
"
echo
"sh param:
$1
,
$2
,
$3
,
$4
,
$5
,
$6
,
$7
"
destination
=
".config"
destination
=
".config"
config_file
=
""
tee
=
""
tee
=
""
outdir
=
"../..
$3
/test_info/gen/kernel/test"
outdir
=
"../..
$3
/test_info/gen/kernel/test"
if
[
"
$5
"
=
"tee"
]
;
then
if
[
"
$5
"
=
"tee"
]
;
then
...
@@ -41,15 +42,19 @@ productName="$(basename $7)"
...
@@ -41,15 +42,19 @@ productName="$(basename $7)"
source
=
"tools/build/config/
${
productName
}
_release.config"
source
=
"tools/build/config/
${
productName
}
_release.config"
if
[
"
$2
"
=
"clang"
]
;
then
if
[
"
$2
"
=
"clang"
]
;
then
if
[
"
$4
"
=
"debug"
]
;
then
if
[
"
$4
"
=
"debug"
]
;
then
source
=
"tools/build/config/debug/
${
productName
}
_
$2$tee
.config"
config_file
=
"
${
productName
}
_
$2$tee
.config"
source
=
"tools/build/config/debug/
$config_file
"
else
else
source
=
"tools/build/config/
${
productName
}
_
$2_release$tee
.config"
config_file
=
"
${
productName
}
_
$2_release$tee
.config"
source
=
"tools/build/config/
$config_file
"
fi
fi
elif
[
"
$2
"
=
"gcc"
]
;
then
elif
[
"
$2
"
=
"gcc"
]
;
then
if
[
"
$4
"
=
"debug"
]
;
then
if
[
"
$4
"
=
"debug"
]
;
then
source
=
"tools/build/config/
${
productName
}
_debug_shell
$tee
.config"
config_file
=
"
${
productName
}
_debug_shell
$tee
.config"
source
=
"tools/build/config/
$config_file
"
else
else
source
=
"tools/build/config/
${
productName
}
_release
$tee
.config"
config_file
=
"
${
productName
}
_release
$tee
.config"
source
=
"tools/build/config/
$config_file
"
fi
fi
fi
fi
if
[
-d
"./out"
]
;
then
if
[
-d
"./out"
]
;
then
...
@@ -58,6 +63,9 @@ fi
...
@@ -58,6 +63,9 @@ fi
if
[
-f
"
$destination
"
]
;
then
if
[
-f
"
$destination
"
]
;
then
rm
-rf
$destination
rm
-rf
$destination
fi
fi
if
[
!
-f
"
$source
"
]
;
then
source
=
"
$7
/config/sys/
$config_file
"
fi
cp
$source
$destination
cp
$source
$destination
mkdir
-p
$outdir
mkdir
-p
$outdir
...
...
platform/Kconfig
浏览文件 @
83b0e8f8
...
@@ -5,7 +5,7 @@ config PLATFORM
...
@@ -5,7 +5,7 @@ config PLATFORM
default "virt" if PLATFORM_QEMU_ARM_VIRT_CA7
default "virt" if PLATFORM_QEMU_ARM_VIRT_CA7
config PRODUCT_NAME
config PRODUCT_NAME
string
string
"unknown"
default "ipcamera_hi3516dv300_liteos" if PRODUCT_IPCAMERA_HI3516DV300_LITEOS
default "ipcamera_hi3516dv300_liteos" if PRODUCT_IPCAMERA_HI3516DV300_LITEOS
default "ipcamera_hi3518ev300_liteos" if PRODUCT_IPCAMERA_HI3518EV300_LITEOS
default "ipcamera_hi3518ev300_liteos" if PRODUCT_IPCAMERA_HI3518EV300_LITEOS
default "hispark_taurus" if PRODUCT_HISPARK_TAURUS
default "hispark_taurus" if PRODUCT_HISPARK_TAURUS
...
@@ -13,7 +13,7 @@ config PRODUCT_NAME
...
@@ -13,7 +13,7 @@ config PRODUCT_NAME
default "arm_virt" if PRODUCT_QEMU_ARM
default "arm_virt" if PRODUCT_QEMU_ARM
config DEVICE_COMPANY
config DEVICE_COMPANY
string
string
"unknown"
default "hisilicon" if PLATFORM_HI3516DV300
default "hisilicon" if PLATFORM_HI3516DV300
default "hisilicon" if PLATFORM_HI3518EV300
default "hisilicon" if PLATFORM_HI3518EV300
default "qemu" if PLATFORM_QEMU_ARM_VIRT_CA7
default "qemu" if PLATFORM_QEMU_ARM_VIRT_CA7
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录