Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
51f31afd
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
51f31afd
编写于
5月 24, 2011
作者:
M
Michal Marek
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'kbuild/kconfig-for-40' into kbuild/kconfig
上级
de125187
bdebd489
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
9 addition
and
20 deletion
+9
-20
Documentation/kbuild/kconfig.txt
Documentation/kbuild/kconfig.txt
+0
-5
scripts/kconfig/confdata.c
scripts/kconfig/confdata.c
+1
-11
scripts/kconfig/gconf.c
scripts/kconfig/gconf.c
+8
-4
未找到文件。
Documentation/kbuild/kconfig.txt
浏览文件 @
51f31afd
...
...
@@ -48,11 +48,6 @@ KCONFIG_OVERWRITECONFIG
If you set KCONFIG_OVERWRITECONFIG in the environment, Kconfig will not
break symlinks when .config is a symlink to somewhere else.
KCONFIG_NOTIMESTAMP
--------------------------------------------------
If this environment variable exists and is non-null, the timestamp line
in generated .config files is omitted.
______________________________________________________________________
Environment variables for '{allyes/allmod/allno/rand}config'
...
...
scripts/kconfig/confdata.c
浏览文件 @
51f31afd
...
...
@@ -560,8 +560,6 @@ int conf_write(const char *name)
const
char
*
basename
;
const
char
*
str
;
char
dirname
[
PATH_MAX
+
1
],
tmpname
[
PATH_MAX
+
1
],
newname
[
PATH_MAX
+
1
];
time_t
now
;
int
use_timestamp
=
1
;
char
*
env
;
dirname
[
0
]
=
0
;
...
...
@@ -598,19 +596,11 @@ int conf_write(const char *name)
if
(
!
out
)
return
1
;
time
(
&
now
);
env
=
getenv
(
"KCONFIG_NOTIMESTAMP"
);
if
(
env
&&
*
env
)
use_timestamp
=
0
;
fprintf
(
out
,
_
(
"#
\n
"
"# Automatically generated make config: don't edit
\n
"
"# %s
\n
"
"%s%s"
"#
\n
"
),
rootmenu
.
prompt
->
text
,
use_timestamp
?
"# "
:
""
,
use_timestamp
?
ctime
(
&
now
)
:
""
);
rootmenu
.
prompt
->
text
);
if
(
!
conf_get_changed
())
sym_clear_all_valid
();
...
...
scripts/kconfig/gconf.c
浏览文件 @
51f31afd
...
...
@@ -253,7 +253,7 @@ void init_left_tree(void)
gtk_tree_view_set_model
(
view
,
model1
);
gtk_tree_view_set_headers_visible
(
view
,
TRUE
);
gtk_tree_view_set_rules_hint
(
view
,
FALS
E
);
gtk_tree_view_set_rules_hint
(
view
,
TRU
E
);
column
=
gtk_tree_view_column_new
();
gtk_tree_view_append_column
(
view
,
column
);
...
...
@@ -298,7 +298,7 @@ void init_right_tree(void)
gtk_tree_view_set_model
(
view
,
model2
);
gtk_tree_view_set_headers_visible
(
view
,
TRUE
);
gtk_tree_view_set_rules_hint
(
view
,
FALS
E
);
gtk_tree_view_set_rules_hint
(
view
,
TRU
E
);
column
=
gtk_tree_view_column_new
();
gtk_tree_view_append_column
(
view
,
column
);
...
...
@@ -756,7 +756,6 @@ void on_load_clicked(GtkButton * button, gpointer user_data)
void
on_single_clicked
(
GtkButton
*
button
,
gpointer
user_data
)
{
view_mode
=
SINGLE_VIEW
;
gtk_paned_set_position
(
GTK_PANED
(
hpaned
),
0
);
gtk_widget_hide
(
tree1_w
);
current
=
&
rootmenu
;
display_tree_part
();
...
...
@@ -782,7 +781,6 @@ void on_split_clicked(GtkButton * button, gpointer user_data)
void
on_full_clicked
(
GtkButton
*
button
,
gpointer
user_data
)
{
view_mode
=
FULL_VIEW
;
gtk_paned_set_position
(
GTK_PANED
(
hpaned
),
0
);
gtk_widget_hide
(
tree1_w
);
if
(
tree2
)
gtk_tree_store_clear
(
tree2
);
...
...
@@ -1444,6 +1442,12 @@ static void display_tree(struct menu *menu)
if (((menu != &rootmenu) && !(menu->flags & MENU_ROOT))
|| (view_mode == FULL_VIEW)
|| (view_mode == SPLIT_VIEW))*/
/* Change paned position if the view is not in 'split mode' */
if
(
view_mode
==
SINGLE_VIEW
||
view_mode
==
FULL_VIEW
)
{
gtk_paned_set_position
(
GTK_PANED
(
hpaned
),
0
);
}
if
(((
view_mode
==
SINGLE_VIEW
)
&&
(
menu
->
flags
&
MENU_ROOT
))
||
(
view_mode
==
FULL_VIEW
)
||
(
view_mode
==
SPLIT_VIEW
))
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录