Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
d8c1d5d5
U
U-Boot.Mirror
项目概览
OS
/
U-Boot.Mirror
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
U-Boot.Mirror
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d8c1d5d5
编写于
4月 23, 2015
作者:
T
Tom Rini
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'buildman' of
git://git.denx.de/u-boot-x86
上级
5f757cdc
3871cd85
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
26 addition
and
5 deletion
+26
-5
tools/buildman/README
tools/buildman/README
+1
-1
tools/buildman/test.py
tools/buildman/test.py
+1
-1
tools/buildman/toolchain.py
tools/buildman/toolchain.py
+1
-1
tools/patman/README
tools/patman/README
+5
-1
tools/patman/gitutil.py
tools/patman/gitutil.py
+11
-0
tools/patman/series.py
tools/patman/series.py
+7
-1
未找到文件。
tools/buildman/README
浏览文件 @
d8c1d5d5
...
...
@@ -348,7 +348,7 @@ At the time of writing, U-Boot has these architectures:
arc, arm, avr32, blackfin, m68k, microblaze, mips, nds32, nios2, openrisc
powerpc, sandbox, sh, sparc, x86
Of these, only arc
, microblaze
and nds32 are not available at kernel.org..
Of these, only arc and nds32 are not available at kernel.org..
How to run it
...
...
tools/buildman/test.py
浏览文件 @
d8c1d5d5
...
...
@@ -411,7 +411,7 @@ class TestBuild(unittest.TestCase):
def
testToolchainDownload
(
self
):
"""Test that we can download toolchains"""
self
.
assertEqual
(
'https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.
6.3/x86_64-gcc-4.6.3
-nolibc_arm-unknown-linux-gnueabi.tar.xz'
,
self
.
assertEqual
(
'https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.
9.0/x86_64-gcc-4.9.0
-nolibc_arm-unknown-linux-gnueabi.tar.xz'
,
self
.
toolchains
.
LocateArchUrl
(
'arm'
))
...
...
tools/buildman/toolchain.py
浏览文件 @
d8c1d5d5
...
...
@@ -339,7 +339,7 @@ class Toolchains:
"""
arch
=
command
.
OutputOneLine
(
'uname'
,
'-m'
)
base
=
'https://www.kernel.org/pub/tools/crosstool/files/bin'
versions
=
[
'4.6.3'
,
'4.6.2'
,
'4.5.1'
,
'4.2.4'
]
versions
=
[
'4.
9.0'
,
'4.
6.3'
,
'4.6.2'
,
'4.5.1'
,
'4.2.4'
]
links
=
[]
for
version
in
versions
:
url
=
'%s/%s/%s/'
%
(
base
,
arch
,
version
)
...
...
tools/patman/README
浏览文件 @
d8c1d5d5
...
...
@@ -154,7 +154,11 @@ Series-version: n
Series-prefix: prefix
Sets the subject prefix. Normally empty but it can be RFC for
RFC patches, or RESEND if you are being ignored.
RFC patches, or RESEND if you are being ignored. The patch subject
is like [RFC PATCH] or [RESEND PATCH].
In the meantime, git format.subjectprefix option will be added as
well. If your format.subjectprefix is set to InternalProject, then
the patch shows like: [InternalProject][RFC/RESEND PATCH]
Series-name: name
Sets the name of the series. You don't need to have a name, and
...
...
tools/patman/gitutil.py
浏览文件 @
d8c1d5d5
...
...
@@ -545,6 +545,17 @@ def GetDefaultUserEmail():
uemail
=
command
.
OutputOneLine
(
'git'
,
'config'
,
'--global'
,
'user.email'
)
return
uemail
def
GetDefaultSubjectPrefix
():
"""Gets the format.subjectprefix from local .git/config file.
Returns:
Subject prefix found in local .git/config file, or None if none
"""
sub_prefix
=
command
.
OutputOneLine
(
'git'
,
'config'
,
'format.subjectprefix'
,
raise_on_error
=
False
)
return
sub_prefix
def
Setup
():
"""Set up git utils, by reading the alias files."""
# Check for a git alias file also
...
...
tools/patman/series.py
浏览文件 @
d8c1d5d5
...
...
@@ -254,6 +254,12 @@ class Series(dict):
Return:
Patch string, like 'RFC PATCH v5' or just 'PATCH'
"""
git_prefix
=
gitutil
.
GetDefaultSubjectPrefix
()
if
git_prefix
:
git_prefix
=
'%s]['
%
git_prefix
else
:
git_prefix
=
''
version
=
''
if
self
.
get
(
'version'
):
version
=
' v%s'
%
self
[
'version'
]
...
...
@@ -262,4 +268,4 @@ class Series(dict):
prefix
=
''
if
self
.
get
(
'prefix'
):
prefix
=
'%s '
%
self
[
'prefix'
]
return
'%s
PATCH%s'
%
(
prefix
,
version
)
return
'%s
%sPATCH%s'
%
(
git_prefix
,
prefix
,
version
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录