2 -- How to build the HFS Kexts --
4 1. Install headers from XNU. Typically, after downloading the XNU
5 source, you want to do something like:
7 $ mkdir -p BUILD.hdrs/obj BUILD.hdrs/sym BUILD.hdrs/dst
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
13 $ sudo ditto BUILD.hdrs/dst `xcrun -sdk macosx -show-sdk-path`
17 $ xcodebuild -target kext -target encodings-kext SDKROOT=macosx
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.