summaryrefslogtreecommitdiff
path: root/target/linux/config/Config.in.compression
blob: 2eeaab24002cc9d85d7d1ac815a7a9750217db87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_NONE
	bool

config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_XZ
	bool
	select ADK_HOST_NEED_XZ

config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_LZ4
	bool
	select ADK_HOST_NEED_LZ4

config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_LZMA
	bool
	select ADK_HOST_NEED_LZMA

config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_LZO
	bool
	select ADK_HOST_NEED_LZOP

config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_BZIP2
	bool
	select ADK_HOST_NEED_BZIP2

config ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_GZIP
	bool

config ADK_LINUX_KERNEL_RD_GZIP
	bool

config ADK_LINUX_KERNEL_KERNEL_GZIP
	bool

config ADK_LINUX_KERNEL_RD_BZIP2
	bool

config ADK_LINUX_KERNEL_KERNEL_BZIP2
	bool

config ADK_LINUX_KERNEL_RD_LZ4
	bool

config ADK_LINUX_KERNEL_KERNEL_LZ4
	bool

config ADK_LINUX_KERNEL_RD_LZMA
	bool

config ADK_LINUX_KERNEL_KERNEL_LZMA
	bool

config ADK_LINUX_KERNEL_RD_LZO
	bool

config ADK_LINUX_KERNEL_KERNEL_LZO
	bool

config ADK_LINUX_KERNEL_RD_XZ
	bool

config ADK_LINUX_KERNEL_KERNEL_XZ
	bool

config ADK_LINUX_KERNEL_KERNEL_COMPRESS_NONE
	bool

config ADK_LINUX_KERNEL_INITRAMFS_SOURCE
	string
	default ""

choice
prompt "Kernel compression"
depends on ADK_TARGET_OS_LINUX && !ADK_APPLIANCE_TOOLCHAIN && !ADK_TARGET_CHOOSE_ARCH
default ADK_LINUX_KERNEL_COMP_GZIP if ADK_TARGET_BOARD_BCM28XX
default ADK_LINUX_KERNEL_COMP_XZ

config ADK_LINUX_KERNEL_COMP_XZ
	bool "use XZ compression"
	select ADK_LINUX_KERNEL_RD_XZ
	select ADK_LINUX_KERNEL_KERNEL_XZ
	select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_XZ
	depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
		|| ADK_TARGET_GENERIC

config ADK_LINUX_KERNEL_COMP_LZ4
	bool "use LZ4 compression"
	select ADK_LINUX_KERNEL_RD_LZ4
	select ADK_LINUX_KERNEL_KERNEL_LZ4
	select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_LZ4
	depends on ADK_TARGET_ARCH_ARM \
		|| ADK_TARGET_ARCH_X86 \
		|| ADK_TARGET_ARCH_X86_64
	depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
		|| ADK_TARGET_GENERIC

config ADK_LINUX_KERNEL_COMP_LZMA
	bool "use LZMA compression"
	select ADK_LINUX_KERNEL_RD_LZMA
	select ADK_LINUX_KERNEL_KERNEL_LZMA
	select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_LZMA
	depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
		|| ADK_TARGET_GENERIC

config ADK_LINUX_KERNEL_COMP_LZO
	bool "use LZO compression"
	select ADK_LINUX_KERNEL_RD_LZO
	select ADK_LINUX_KERNEL_KERNEL_LZO
	select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_LZO
	depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
		|| ADK_TARGET_GENERIC

config ADK_LINUX_KERNEL_COMP_BZIP2
	bool "use BZIP2 compression"
	select ADK_LINUX_KERNEL_RD_BZIP2
	select ADK_LINUX_KERNEL_KERNEL_BZIP2
	select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_BZIP2
	depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
		|| ADK_TARGET_GENERIC

config ADK_LINUX_KERNEL_COMP_GZIP
	bool "use GZIP compression"
	select ADK_LINUX_KERNEL_RD_GZIP
	select ADK_LINUX_KERNEL_KERNEL_GZIP
	select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_GZIP
	depends on ADK_TARGET_KERNEL_WITH_COMPRESSION \
		|| ADK_TARGET_GENERIC

config ADK_LINUX_KERNEL_COMPRESS_NONE
	bool "use no compression"
	select ADK_LINUX_KERNEL_KERNEL_COMPRESS_NONE
	select ADK_LINUX_KERNEL_INITRAMFS_COMPRESSION_NONE

endchoice