Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
8ded4ac0
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8ded4ac0
编写于
1月 03, 2006
作者:
S
Sam Ravnborg
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master'
上级
febf7ea4
6073aa64
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
14 addition
and
19 deletion
+14
-19
scripts/package/Makefile
scripts/package/Makefile
+1
-1
scripts/package/buildtar
scripts/package/buildtar
+13
-18
未找到文件。
scripts/package/Makefile
浏览文件 @
8ded4ac0
...
...
@@ -84,7 +84,7 @@ clean-dirs += $(objtree)/debian/
# ---------------------------------------------------------------------------
.PHONY
:
tar%pkg
tar%pkg
:
$(MAKE)
$(MAKE)
KBUILD_SRC
=
$(CONFIG_SHELL)
$(srctree)
/scripts/package/buildtar
$@
clean-dirs
+=
$(objtree)
/tar-install/
...
...
scripts/package/buildtar
浏览文件 @
8ded4ac0
#!/bin/sh
#
# buildtar 0.0.
3
# buildtar 0.0.
4
#
# (C) 2004-200
5
by Jan-Benedict Glaw <jbglaw@lug-owl.de>
# (C) 2004-200
6
by Jan-Benedict Glaw <jbglaw@lug-owl.de>
#
# This script is used to compile a tarball from the currently
# prepared kernel. Based upon the builddeb script from
...
...
@@ -15,9 +15,8 @@ set -e
#
# Some variables and settings used throughout the script
#
version
=
"
${
VERSION
}
.
${
PATCHLEVEL
}
.
${
SUBLEVEL
}${
EXTRAVERSION
}${
EXTRANAME
}
"
tmpdir
=
"
${
objtree
}
/tar-install"
tarball
=
"
${
objtree
}
/linux-
${
version
}
.tar"
tarball
=
"
${
objtree
}
/linux-
${
KERNELRELEASE
}
.tar"
#
...
...
@@ -53,21 +52,17 @@ mkdir -p -- "${tmpdir}/boot"
#
# Try to install modules
#
if
!
make
INSTALL_MOD_PATH
=
"
${
tmpdir
}
"
modules_install
;
then
echo
""
>
&2
echo
"Ignoring error at module_install time, since that could be"
>
&2
echo
"a result of missing local modutils/module-init-tools,"
>
&2
echo
"or you just didn't compile in module support at all..."
>
&2
echo
""
>
&2
if
grep
-q
'^CONFIG_MODULES=y'
"
${
objtree
}
/.config"
;
then
make
ARCH
=
"
${
ARCH
}
"
O
=
"
${
objtree
}
"
KBUILD_SRC
=
INSTALL_MOD_PATH
=
"
${
tmpdir
}
"
modules_install
fi
#
# Install basic kernel files
#
cp
-v
--
System.map
"
${
tmpdir
}
/boot/System.map-
${
version
}
"
cp
-v
--
.config
"
${
tmpdir
}
/boot/config-
${
version
}
"
cp
-v
--
vmlinux
"
${
tmpdir
}
/boot/vmlinux-
${
version
}
"
cp
-v
--
"
${
objtree
}
/System.map"
"
${
tmpdir
}
/boot/System.map-
${
KERNELRELEASE
}
"
cp
-v
--
"
${
objtree
}
/.config"
"
${
tmpdir
}
/boot/config-
${
KERNELRELEASE
}
"
cp
-v
--
"
${
objtree
}
/vmlinux"
"
${
tmpdir
}
/boot/vmlinux-
${
KERNELRELEASE
}
"
#
...
...
@@ -75,17 +70,17 @@ cp -v -- vmlinux "${tmpdir}/boot/vmlinux-${version}"
#
case
"
${
ARCH
}
"
in
i386
)
[
-f
arch
/i386/boot/bzImage
]
&&
cp
-v
--
arch
/i386/boot/bzImage
"
${
tmpdir
}
/boot/vmlinuz-
${
version
}
"
[
-f
"
${
objtree
}
/arch/i386/boot/bzImage"
]
&&
cp
-v
--
"
${
objtree
}
/arch/i386/boot/bzImage"
"
${
tmpdir
}
/boot/vmlinuz-
${
KERNELRELEASE
}
"
;;
alpha
)
[
-f
arch
/alpha/boot/vmlinux.gz
]
&&
cp
-v
--
arch
/alpha/boot/vmlinux.gz
"
${
tmpdir
}
/boot/vmlinuz-
${
version
}
"
[
-f
"
${
objtree
}
/arch/alpha/boot/vmlinux.gz"
]
&&
cp
-v
--
"
${
objtree
}
/arch/alpha/boot/vmlinux.gz"
"
${
tmpdir
}
/boot/vmlinuz-
${
KERNELRELEASE
}
"
;;
vax
)
[
-f
vmlinux.SYS
]
&&
cp
-v
--
vmlinux.SYS
"
${
tmpdir
}
/boot/vmlinux-
${
version
}
.SYS"
[
-f
vmlinux.dsk
]
&&
cp
-v
--
vmlinux.dsk
"
${
tmpdir
}
/boot/vmlinux-
${
version
}
.dsk"
[
-f
"
${
objtree
}
/vmlinux.SYS"
]
&&
cp
-v
--
"
${
objtree
}
/vmlinux.SYS"
"
${
tmpdir
}
/boot/vmlinux-
${
KERNELRELEASE
}
.SYS"
[
-f
"
${
objtree
}
/vmlinux.dsk"
]
&&
cp
-v
--
"
${
objtree
}
/vmlinux.dsk"
"
${
tmpdir
}
/boot/vmlinux-
${
KERNELRELEASE
}
.dsk"
;;
*
)
[
-f
"
${
KBUILD_IMAGE
}
"
]
&&
cp
-v
--
"
${
KBUILD_IMAGE
}
"
"
${
tmpdir
}
/boot/vmlinux-kbuild-
${
version
}
"
[
-f
"
${
KBUILD_IMAGE
}
"
]
&&
cp
-v
--
"
${
KBUILD_IMAGE
}
"
"
${
tmpdir
}
/boot/vmlinux-kbuild-
${
KERNELRELEASE
}
"
echo
""
>
&2
echo
'** ** ** WARNING ** ** **'
>
&2
echo
""
>
&2
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录