]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | -- How to build the HFS Kexts -- | |
3 | ||
4 | 1. Install headers from XNU. Typically, after downloading the XNU | |
5 | source, you want to do something like: | |
6 | ||
7 | $ mkdir -p BUILD.hdrs/obj BUILD.hdrs/sym BUILD.hdrs/dst | |
8 | ||
9 | $ make installhdrs SDKROOT=macosx ARCH_CONFIGS=X86_64 SRCROOT=$PWD \ | |
10 | OBJROOT=$PWD/BUILD.hdrs/obj SYMROOT=$PWD/BUILD.hdrs/sym \ | |
11 | DSTROOT=$PWD/BUILD.hdrs/dst | |
12 | ||
13 | $ sudo ditto BUILD.hdrs/dst `xcrun -sdk macosx -show-sdk-path` | |
14 | ||
15 | 2. Build the Kexts: | |
16 | ||
17 | $ xcodebuild -target kext -target encodings-kext SDKROOT=macosx | |
18 | ||
19 | N.B. At the time of writing, the other HFS targets are known not to | |
20 | build outside of Apple's internal build environment. |