-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathKconfig
122 lines (105 loc) · 3.45 KB
/
Kconfig
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
mainmenu "osx86_linux Configuration"
config OPT_REQUIRED
bool
default y
select DEP_KCONFIG
menu "Advanced Options"
menu "Build dependencies"
config DEP_DMG2IMG
#depends on DRV_HFSPLUS
bool "dmg2img"
default n
config DEP_PBZX
#depends on OSX_110_SUPPORT
bool "pbzx"
default n
config DEP_KCONFIG
depends on OPT_REQUIRED
bool "kconfig"
config DEP_XAR
#depends on OSX_109_SUPPORT
bool "xar"
default n
config DEP_DARLING_DMG
#depends on DRV_DARLING
bool "darling-dmg"
default n
endmenu
menu "Optional OS X Support"
config OSX_109_SUPPORT
select DEP_XAR
bool "OS X 10.9 Support"
default y
config OSX_110_SUPPORT
select OSX_109_SUPPORT
select DEP_PBZX
bool "OS X 10.10+ Support"
default y
endmenu
choice
prompt "Source HFS+ Driver"
default DRV_DARLING
---help---
Select the HFS+ Driver to use for the source image/filesystem
config DRV_DARLING
bool "darling-dmg"
select DEP_DARLING_DMG
---help---
The darling-dmg driver supports DMG files directly without dmg2img.
It also supports Korean filenames correctly (avoids warnings on Korean font bundles).
It's slower than hfsplus and it's R/O, so hfsplus will still be used for the target.
Using this option avoids having to use dmg2img
config DRV_HFSPLUS
bool "hfsplus"
select DEP_DMG2IMG
---help---
The hfsplus driver comes from the Linux kernel.
It doesn't support dmg files directly (requires dmg2img beforehand) and has a bug when handling Korean filenames (https://bugzilla.kernel.org/show_bug.cgi?id=15453)
It's faster than darling-dmg but doesn't support journaling (NOTE: it will be discarded) and requires dmg2img first to mount a dmg file
endchoice
endmenu
choice
prompt "Target Platform"
default PLAT_BIOS
---help---
Select the target environment
config PLAT_BIOS
bool "Legacy BIOS"
---help---
Select this option to target the Legacy BIOS
The MBR/PBR will be written to the disk
config PLAT_UEFI
bool "UEFI BIOS"
---help---
Select this option to target the UEFI BIOS
The boot files will be copied to the ESP on the target media
endchoice
choice
prompt "Target Partition Scheme"
default PART_MBR if PLAT_BIOS
---help---
Select the desired Partitioning Scheme/Layout for the target media
config PART_MBR
bool "MBR Scheme"
---help---
The Master Boot Record partition layout. Needed for legacy platforms.
If you plan to install OS X on a MBR Partition you'll need the MBR patch aswell
config PART_GPT
bool "GPT Scheme"
---help---
The GPT partition layout. Recommended when possible as it's the default scheme used in OS X
endchoice
choice
prompt "Target Bootloader"
default BOOT_CHAMELEON
---help---
Select the desired bootloader to be used on the target media
config BOOT_CHAMELEON
bool "Chameleon Boot Loader"
---help---
The Chameleon boot132 based bootloader. Recommended for legacy platforms
config BOOT_CLOVER
bool "Clover Boot Loader"
---help---
The Clover Duet based bootloader. Recommended for UEFI platforms
endchoice