Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
67df6cc6
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
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看板
提交
67df6cc6
编写于
7月 19, 2010
作者:
M
Mike Frysinger
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Blackfin: add support for LZO compressed kernels
Signed-off-by:
N
Mike Frysinger
<
vapier@gentoo.org
>
上级
382dbe5b
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
3 deletion
+12
-3
arch/blackfin/Kconfig
arch/blackfin/Kconfig
+1
-0
arch/blackfin/Makefile
arch/blackfin/Makefile
+2
-1
arch/blackfin/boot/Makefile
arch/blackfin/boot/Makefile
+9
-2
未找到文件。
arch/blackfin/Kconfig
浏览文件 @
67df6cc6
...
@@ -32,6 +32,7 @@ config BLACKFIN
...
@@ -32,6 +32,7 @@ config BLACKFIN
select HAVE_KERNEL_GZIP if RAMKERNEL
select HAVE_KERNEL_GZIP if RAMKERNEL
select HAVE_KERNEL_BZIP2 if RAMKERNEL
select HAVE_KERNEL_BZIP2 if RAMKERNEL
select HAVE_KERNEL_LZMA if RAMKERNEL
select HAVE_KERNEL_LZMA if RAMKERNEL
select HAVE_KERNEL_LZO if RAMKERNEL
select HAVE_OPROFILE
select HAVE_OPROFILE
select ARCH_WANT_OPTIONAL_GPIOLIB
select ARCH_WANT_OPTIONAL_GPIOLIB
...
...
arch/blackfin/Makefile
浏览文件 @
67df6cc6
...
@@ -140,7 +140,7 @@ archclean:
...
@@ -140,7 +140,7 @@ archclean:
INSTALL_PATH
?=
/tftpboot
INSTALL_PATH
?=
/tftpboot
boot
:=
arch
/
$(ARCH)
/boot
boot
:=
arch
/
$(ARCH)
/boot
BOOT_TARGETS
=
vmImage vmImage.bin vmImage.bz2 vmImage.gz vmImage.lzma vmImage.xip
BOOT_TARGETS
=
vmImage vmImage.bin vmImage.bz2 vmImage.gz vmImage.lzma vmImage.
lzo vmImage.
xip
PHONY
+=
$(BOOT_TARGETS)
install
PHONY
+=
$(BOOT_TARGETS)
install
KBUILD_IMAGE
:=
$(boot)
/vmImage
KBUILD_IMAGE
:=
$(boot)
/vmImage
...
@@ -158,6 +158,7 @@ define archhelp
...
@@ -158,6 +158,7 @@ define archhelp
echo
' vmImage.bz2 - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.bz2)'
echo
' vmImage.bz2 - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.bz2)'
echo
'* vmImage.gz - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.gz)'
echo
'* vmImage.gz - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.gz)'
echo
' vmImage.lzma - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.lzma)'
echo
' vmImage.lzma - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.lzma)'
echo
' vmImage.lzo - Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.lzo)'
echo
' vmImage.xip - XIP Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.xip)'
echo
' vmImage.xip - XIP Kernel-only image for U-Boot (arch/$(ARCH)/boot/vmImage.xip)'
echo
' install - Install kernel using'
echo
' install - Install kernel using'
echo
' (your) ~/bin/$(INSTALLKERNEL) or'
echo
' (your) ~/bin/$(INSTALLKERNEL) or'
...
...
arch/blackfin/boot/Makefile
浏览文件 @
67df6cc6
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
MKIMAGE
:=
$(srctree)
/scripts/mkuboot.sh
MKIMAGE
:=
$(srctree)
/scripts/mkuboot.sh
targets
:=
vmImage vmImage.bin vmImage.bz2 vmImage.gz vmImage.lzma vmImage.xip
targets
:=
vmImage vmImage.bin vmImage.bz2 vmImage.gz vmImage.lzma vmImage.
lzo vmImage.
xip
extra-y
+=
vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma vmlinux.bin.xip
extra-y
+=
vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma vmlinux.bin.
lzo vmlinux.bin.
xip
UIMAGE_OPTS-y
:=
UIMAGE_OPTS-y
:=
UIMAGE_OPTS-$(CONFIG_RAMKERNEL)
+=
-a
$(CONFIG_BOOT_LOAD)
UIMAGE_OPTS-$(CONFIG_RAMKERNEL)
+=
-a
$(CONFIG_BOOT_LOAD)
...
@@ -33,6 +33,9 @@ $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE
...
@@ -33,6 +33,9 @@ $(obj)/vmlinux.bin.bz2: $(obj)/vmlinux.bin FORCE
$(obj)/vmlinux.bin.lzma
:
$(obj)/vmlinux.bin FORCE
$(obj)/vmlinux.bin.lzma
:
$(obj)/vmlinux.bin FORCE
$(
call
if_changed,lzma
)
$(
call
if_changed,lzma
)
$(obj)/vmlinux.bin.lzo
:
$(obj)/vmlinux.bin FORCE
$(
call
if_changed,lzo
)
# The mkimage tool wants 64bytes prepended to the image
# The mkimage tool wants 64bytes prepended to the image
quiet_cmd_mk_bin_xip
=
BIN
$@
quiet_cmd_mk_bin_xip
=
BIN
$@
cmd_mk_bin_xip
=
(
printf
'%64s'
|
tr
' '
'\377'
;
cat
$<
)
>
$@
cmd_mk_bin_xip
=
(
printf
'%64s'
|
tr
' '
'\377'
;
cat
$<
)
>
$@
...
@@ -51,6 +54,9 @@ $(obj)/vmImage.gz: $(obj)/vmlinux.bin.gz
...
@@ -51,6 +54,9 @@ $(obj)/vmImage.gz: $(obj)/vmlinux.bin.gz
$(obj)/vmImage.lzma
:
$(obj)/vmlinux.bin.lzma
$(obj)/vmImage.lzma
:
$(obj)/vmlinux.bin.lzma
$(
call
if_changed,uimage,lzma
)
$(
call
if_changed,uimage,lzma
)
$(obj)/vmImage.lzo
:
$(obj)/vmlinux.bin.lzo
$(
call
if_changed,uimage,lzo
)
$(obj)/vmImage.xip
:
$(obj)/vmlinux.bin.xip
$(obj)/vmImage.xip
:
$(obj)/vmlinux.bin.xip
$(
call
if_changed,uimage,none
)
$(
call
if_changed,uimage,none
)
...
@@ -58,6 +64,7 @@ suffix-y := bin
...
@@ -58,6 +64,7 @@ suffix-y := bin
suffix-$(CONFIG_KERNEL_GZIP)
:=
gz
suffix-$(CONFIG_KERNEL_GZIP)
:=
gz
suffix-$(CONFIG_KERNEL_BZIP2)
:=
bz2
suffix-$(CONFIG_KERNEL_BZIP2)
:=
bz2
suffix-$(CONFIG_KERNEL_LZMA)
:=
lzma
suffix-$(CONFIG_KERNEL_LZMA)
:=
lzma
suffix-$(CONFIG_KERNEL_LZO)
:=
lzo
suffix-$(CONFIG_ROMKERNEL)
:=
xip
suffix-$(CONFIG_ROMKERNEL)
:=
xip
$(obj)/vmImage
:
$(obj)/vmImage.$(suffix-y)
$(obj)/vmImage
:
$(obj)/vmImage.$(suffix-y)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录