Build modules from source instead of including binaries, build disk image

pull/1/head v1
Nicholas Sherlock 4 years ago
parent 60864a9ec9
commit bec2c19cdb

17
.gitignore vendored

@ -1,3 +1,20 @@
# Files that will be built from source
EFI/BOOT/BOOTx64.efi
EFI/OC/Drivers/VBoxHfs.efi
EFI/OC/Drivers/OpenRuntime.efi
EFI/OC/Drivers/OpenCanopy.efi
EFI/OC/Kexts/Lilu.kext
EFI/OC/Kexts/AppleALC.kext
EFI/OC/Kexts/WhateverGreen.kext
EFI/OC/Kexts/VirtualSMC.kext
EFI/OC/Tools/Shell.efi
EFI/OC/Tools/ResetSystem.efi
EFI/OC/Resources
EFI/OC/OpenCore.efi
OpenCore-Image/
OpenCore.dmg
OpenCore.dmg.gz
# Prerequisites
*.d

21
.gitmodules vendored

@ -0,0 +1,21 @@
[submodule "src/WhateverGreen"]
path = src/WhateverGreen
url = https://github.com/acidanthera/WhateverGreen.git
[submodule "src/OpenCorePkg"]
path = src/OpenCorePkg
url = https://github.com/acidanthera/OpenCorePkg.git
[submodule "src/AppleSupportPkg"]
path = src/AppleSupportPkg
url = https://github.com/acidanthera/AppleSupportPkg.git
[submodule "src/AppleALC"]
path = src/AppleALC
url = https://github.com/acidanthera/AppleALC.git
[submodule "src/Lilu"]
path = src/Lilu
url = https://github.com/acidanthera/Lilu.git
[submodule "src/VirtualSMC"]
path = src/VirtualSMC
url = https://github.com/acidanthera/VirtualSMC.git
[submodule "src/OcBinaryData"]
path = src/OcBinaryData
url = https://github.com/acidanthera/OcBinaryData.git

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

@ -1,81 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>18E226</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>Lilu</string>
<key>CFBundleIdentifier</key>
<string>as.vit9696.Lilu</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Lilu</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.4.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.4.3</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>10E1001</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>18E219</string>
<key>DTSDKName</key>
<string>macosx10.14</string>
<key>DTXcode</key>
<string>1020</string>
<key>DTXcodeBuild</key>
<string>10E1001</string>
<key>IOKitPersonalities</key>
<dict>
<key>as.vit9696.Lilu</key>
<dict>
<key>CFBundleIdentifier</key>
<string>as.vit9696.Lilu</string>
<key>IOClass</key>
<string>Lilu</string>
<key>IOMatchCategory</key>
<string>Lilu</string>
<key>IOProviderClass</key>
<string>IOResources</string>
<key>IOResourceMatch</key>
<string>IOKit</string>
</dict>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016-2020 vit9696. All rights reserved.</string>
<key>OSBundleCompatibleVersion</key>
<string>1.2.0</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.kpi.bsd</key>
<string>12.0.0</string>
<key>com.apple.kpi.dsep</key>
<string>12.0.0</string>
<key>com.apple.kpi.iokit</key>
<string>12.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>12.0.0</string>
<key>com.apple.kpi.mach</key>
<string>12.0.0</string>
<key>com.apple.kpi.unsupported</key>
<string>12.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>

@ -1,410 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>18E226</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>VirtualSMC</string>
<key>CFBundleIdentifier</key>
<string>as.vit9696.VirtualSMC</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>VirtualSMC</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.1.2</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.1.2</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>10E1001</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>18E219</string>
<key>DTSDKName</key>
<string>macosx10.14</string>
<key>DTXcode</key>
<string>1020</string>
<key>DTXcodeBuild</key>
<string>10E1001</string>
<key>IOKitPersonalities</key>
<dict>
<key>as.vit9696.VirtualSMC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>as.vit9696.VirtualSMC</string>
<key>IOClass</key>
<string>VirtualSMC</string>
<key>IODeviceMemory</key>
<array>
<array>
<dict>
<key>address</key>
<integer>768</integer>
<key>length</key>
<integer>32</integer>
</dict>
</array>
<array>
<dict>
<key>address</key>
<integer>4277141504</integer>
<key>length</key>
<integer>65536</integer>
</dict>
</array>
</array>
<key>IOInterruptControllers</key>
<array>
<string>io-apic-0</string>
</array>
<key>IOInterruptSpecifiers</key>
<array>
<data>
BgAAAAAAAAA=
</data>
</array>
<key>IOMatchCategory</key>
<string>IOACPIPlatformDevice</string>
<key>IOName</key>
<string>SMC</string>
<key>IOProbeScore</key>
<integer>60000</integer>
<key>IOProviderClass</key>
<string>AppleACPIPlatformExpert</string>
<key>Keystore</key>
<dict>
<key>Generic</key>
<array>
<dict>
<key>attr</key>
<data>
iA==
</data>
<key>comment</key>
<string>Total fan number, this should be put to a plugin</string>
<key>name</key>
<data>
Rk51bQ==
</data>
<key>type</key>
<data>
dWk4IA==
</data>
<key>value</key>
<data>
AA==
</data>
</dict>
<dict>
<key>attr</key>
<data>
gA==
</data>
<key>comment</key>
<string>CPU plimit</string>
<key>name</key>
<data>
TVNUYw==
</data>
<key>type</key>
<data>
dWk4IA==
</data>
<key>value</key>
<data>
AA==
</data>
</dict>
<dict>
<key>attr</key>
<data>
gA==
</data>
<key>comment</key>
<string>FAN plimit (supposedly)</string>
<key>name</key>
<data>
TVNUZg==
</data>
<key>type</key>
<data>
dWk4IA==
</data>
<key>value</key>
<data>
AA==
</data>
</dict>
<dict>
<key>attr</key>
<data>
gA==
</data>
<key>comment</key>
<string>Memory plimit</string>
<key>name</key>
<data>
TVNUbQ==
</data>
<key>type</key>
<data>
dWk4IA==
</data>
<key>value</key>
<data>
AA==
</data>
</dict>
<dict>
<key>attr</key>
<data>
gA==
</data>
<key>comment</key>
<string>This should be 1 on laptops, and is overriden by sensors</string>
<key>name</key>
<data>
QkFUUA==
</data>
<key>type</key>
<data>
ZmxhZw==
</data>
<key>value</key>
<data>
AA==
</data>
</dict>
<dict>
<key>attr</key>
<data>
gA==
</data>
<key>comment</key>
<string>Only MacPros have custom illumination controllers</string>
<key>name</key>
<data>
THNOTQ==
</data>
<key>type</key>
<data>
dWk4IA==
</data>
<key>value</key>
<data>
AA==
</data>
</dict>
</array>
<key>GenericDesktopV1</key>
<array/>
<key>GenericDesktopV2</key>
<array/>
<key>GenericLaptopV1</key>
<array/>
<key>GenericLaptopV2</key>
<array/>
<key>GenericV1</key>
<array>
<dict>
<key>attr</key>
<data>
gA==
</data>
<key>comment</key>
<string>GPU plimit</string>
<key>name</key>
<data>
TVNUZw==
</data>
<key>type</key>
<data>
dWk4IA==
</data>
<key>value</key>
<data>
AA==
</data>
</dict>
</array>
<key>GenericV2</key>
<array>
<dict>
<key>attr</key>
<data>
gA==
</data>
<key>comment</key>
<string>E plimit (???)</string>
<key>name</key>
<data>
TVNUZQ==
</data>
<key>type</key>
<data>
dWk4IA==
</data>
<key>value</key>
<data>
AA==
</data>
</dict>
<dict>
<key>attr</key>
<data>
gA==
</data>
<key>comment</key>
<string>I plimit (???)</string>
<key>name</key>
<data>
TVNUaQ==
</data>
<key>type</key>
<data>
dWk4IA==
</data>
<key>value</key>
<data>
AA==
</data>
</dict>
<dict>
<key>attr</key>
<data>
gA==
</data>
<key>comment</key>
<string>J plimit (???)</string>
<key>name</key>
<data>
TVNUag==
</data>
<key>type</key>
<data>
dWk4IA==
</data>
<key>value</key>
<data>
AA==
</data>
</dict>
</array>
</dict>
<key>ModelInfo</key>
<dict>
<key>GenericV1</key>
<dict>
<key>branch</key>
<data>
ajUyAAAAAAA=
</data>
<key>hwname</key>
<data>
c21jLXBpa2V0b24A
</data>
<key>platform</key>
<data>
ajUyAAAAAAA=
</data>
<key>rev</key>
<data>
AXQPAAAE
</data>
<key>revfb</key>
<data>
AXQPAAAE
</data>
<key>revfu</key>
<data>
AXQPAAAE
</data>
</dict>
<key>GenericV2</key>
<dict>
<key>branch</key>
<data>
ajUyAAAAAAA=
</data>
<key>hwname</key>
<data>
c21jLWh1cm9ucml2ZXIA
</data>
<key>platform</key>
<data>
ajUyAAAAAAA=
</data>
<key>rev</key>
<data>
AigPAAAH
</data>
<key>revfb</key>
<data>
AigPAAAH
</data>
<key>revfu</key>
<data>
AigPAAAH
</data>
</dict>
<key>GenericV3</key>
<dict>
<key>hwname</key>
<data>
c21jLWh1cm9ucml2ZXIA
</data>
<key>platform</key>
<data>
ajUyAAAAAAA=
</data>
</dict>
</dict>
<key>_STA</key>
<integer>11</integer>
<key>name</key>
<data>
QVBQMDAwMQA=
</data>
</dict>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2017 vit9696. All rights reserved.</string>
<key>OSBundleCompatibleVersion</key>
<string>1.0</string>
<key>OSBundleLibraries</key>
<dict>
<key>as.vit9696.Lilu</key>
<string>1.2.0</string>
<key>com.apple.iokit.IOACPIFamily</key>
<string>1.0.0d1</string>
<key>com.apple.kpi.bsd</key>
<string>12.0.0</string>
<key>com.apple.kpi.dsep</key>
<string>12.0.0</string>
<key>com.apple.kpi.iokit</key>
<string>12.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>12.0.0</string>
<key>com.apple.kpi.mach</key>
<string>12.0.0</string>
<key>com.apple.kpi.unsupported</key>
<string>12.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>

@ -1,102 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>18E226</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>WhateverGreen</string>
<key>CFBundleIdentifier</key>
<string>as.vit9696.WhateverGreen</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>WhateverGreen</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.3.8</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.3.8</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>10E1001</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>18E219</string>
<key>DTSDKName</key>
<string>macosx10.14</string>
<key>DTXcode</key>
<string>1020</string>
<key>DTXcodeBuild</key>
<string>10E1001</string>
<key>IOKitPersonalities</key>
<dict>
<key>NVHDAEnabler</key>
<dict>
<key>CFBundleIdentifier</key>
<string>as.vit9696.WhateverGreen</string>
<key>IOClass</key>
<string>NVHDAEnabler</string>
<key>IOMatchCategory</key>
<string>IOFramebuffer</string>
<key>IOPCIClassMatch</key>
<string>0x03000000&amp;0xff000000</string>
<key>IOPCIMatch</key>
<string>0x000010de&amp;0x0000ffff</string>
<key>IOProbeScore</key>
<integer>300000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
</dict>
<key>as.vit9696.WhateverGreen</key>
<dict>
<key>CFBundleIdentifier</key>
<string>as.vit9696.WhateverGreen</string>
<key>IOClass</key>
<string>WhateverGreen</string>
<key>IOMatchCategory</key>
<string>WhateverGreen</string>
<key>IOProviderClass</key>
<string>IOResources</string>
<key>IOResourceMatch</key>
<string>IOKit</string>
</dict>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2018 vit9696. All rights reserved.</string>
<key>OSBundleCompatibleVersion</key>
<string>1.0</string>
<key>OSBundleLibraries</key>
<dict>
<key>as.vit9696.Lilu</key>
<string>1.2.0</string>
<key>com.apple.iokit.IOPCIFamily</key>
<string>1.0.0b1</string>
<key>com.apple.kpi.bsd</key>
<string>12.0.0</string>
<key>com.apple.kpi.dsep</key>
<string>12.0.0</string>
<key>com.apple.kpi.iokit</key>
<string>12.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>12.0.0</string>
<key>com.apple.kpi.mach</key>
<string>12.0.0</string>
<key>com.apple.kpi.unsupported</key>
<string>12.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>

Binary file not shown.

@ -49,15 +49,11 @@
<key>Enabled</key>
<false/>
<key>OemTableId</key>
<data>
Q3B1UG0AAAA=
</data>
<data>Q3B1UG0AAAA=</data>
<key>TableLength</key>
<integer>0</integer>
<key>TableSignature</key>
<data>
U1NEVA==
</data>
<data>U1NEVA==</data>
</dict>
<dict>
<key>All</key>
@ -67,15 +63,11 @@
<key>Enabled</key>
<false/>
<key>OemTableId</key>
<data>
Q3B1MElzdAA=
</data>
<data>Q3B1MElzdAA=</data>
<key>TableLength</key>
<integer>0</integer>
<key>TableSignature</key>
<data>
U1NEVA==
</data>
<data>U1NEVA==</data>
</dict>
</array>
<key>Patch</key>
@ -88,31 +80,23 @@
<key>Enabled</key>
<false/>
<key>Find</key>
<data>
X1ExMQ==
</data>
<data>X1ExMQ==</data>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
</data>
<data></data>
<key>OemTableId</key>
<data>
</data>
<data></data>
<key>Replace</key>
<data>
WFExMQ==
</data>
<data>WFExMQ==</data>
<key>ReplaceMask</key>
<data>
</data>
<data></data>
<key>Skip</key>
<integer>0</integer>
<key>TableLength</key>
<integer>0</integer>
<key>TableSignature</key>
<data>
</data>
<data></data>
</dict>
<dict>
<key>Comment</key>
@ -122,31 +106,23 @@
<key>Enabled</key>
<false/>
<key>Find</key>
<data>
X1ExMg==
</data>
<data>X1ExMg==</data>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
</data>
<data></data>
<key>OemTableId</key>
<data>
</data>
<data></data>
<key>Replace</key>
<data>
WFExMg==
</data>
<data>WFExMg==</data>
<key>ReplaceMask</key>
<data>
</data>
<data></data>
<key>Skip</key>
<integer>0</integer>
<key>TableLength</key>
<integer>0</integer>
<key>TableSignature</key>
<data>
</data>
<data></data>
</dict>
</array>
<key>Quirks</key>
@ -196,7 +172,7 @@
<key>RebuildAppleMemoryMap</key>
<false/>
<key>SetupVirtualMap</key>
<true/>
<false/>
<key>SignalAppleOS</key>
<false/>
<key>SyncRuntimePermissions</key>
@ -235,7 +211,7 @@
<key>BundlePath</key>
<string>Lilu.kext</string>
<key>Comment</key>
<string></string>
<string>Patch engine</string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
@ -251,8 +227,8 @@
<key>BundlePath</key>
<string>VirtualSMC.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<string>SMC emulator</string>
<key>Disabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/VirtualSMC</string>
@ -267,7 +243,7 @@
<key>BundlePath</key>
<string>WhateverGreen.kext</string>
<key>Comment</key>
<string></string>
<string>Video patches</string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
@ -283,7 +259,7 @@
<key>BundlePath</key>
<string>AppleALC.kext</string>
<key>Comment</key>
<string></string>
<string>Audio patches</string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
@ -442,40 +418,6 @@
<key>Skip</key>
<integer>0</integer>
</dict>
<dict>
<key>Base</key>
<string></string>
<key>Comment</key>
<string>Ranem board-id to board-ix</string>
<key>Count</key>
<integer>1</integer>
<key>Enabled</key>
<true/>
<key>Find</key>
<data>
Ym9hcmQtaWQ=
</data>
<key>Identifier</key>
<string>com.apple.driver.AppleGraphicsDevicePolicy</string>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data>
</data>
<key>MaxKernel</key>
<string>19.99.99</string>
<key>MinKernel</key>
<string>19.0.0</string>
<key>Replace</key>
<data>
Ym9hcmQtaXg=
</data>
<key>ReplaceMask</key>
<data>
</data>
<key>Skip</key>
<integer>0</integer>
</dict>
</array>
<key>Quirks</key>
<dict>
@ -491,6 +433,8 @@
<false/>
<key>DisableIoMapper</key>
<false/>
<key>DisableRtcChecksum</key>
<false/>
<key>DummyPowerManagement</key>
<true/>
<key>ExternalDiskIcons</key>
@ -500,7 +444,7 @@
<key>LapicKernelPanic</key>
<false/>
<key>PanicNoKextDump</key>
<true/>
<false/>
<key>PowerTimeoutKernelPanic</key>
<false/>
<key>ThirdPartyDrives</key>
@ -524,19 +468,19 @@
<key>HideSelf</key>
<true/>
<key>PickerAttributes</key>
<integer>0</integer>
<integer>1</integer>
<key>PickerAudioAssist</key>
<false/>
<key>PickerMode</key>
<string>Builtin</string>
<string>External</string>
<key>PollAppleHotKeys</key>
<true/>
<key>ShowPicker</key>
<false/>
<true/>
<key>TakeoffDelay</key>
<integer>10000</integer>
<integer>0</integer>
<key>Timeout</key>
<integer>10</integer>
<integer>5</integer>
</dict>
<key>Debug</key>
<dict>
@ -549,7 +493,7 @@
<key>DisplayLevel</key>
<integer>2147483650</integer>
<key>Target</key>
<integer>19</integer>
<integer>3</integer>
</dict>
<key>Entries</key>
<array/>
@ -566,7 +510,7 @@
<key>HaltLevel</key>
<integer>2147483648</integer>
<key>ScanPolicy</key>
<integer>257</integer>
<integer>2032387</integer>
<key>Vault</key>
<string>Optional</string>
</dict>
@ -580,7 +524,7 @@
<key>Comment</key>
<string>Not signed for security reasons</string>
<key>Enabled</key>
<false/>
<true/>
<key>Name</key>
<string>UEFI Shell</string>
<key>Path</key>
@ -588,17 +532,17 @@
</dict>
<dict>
<key>Arguments</key>
<string></string>
<string>Shutdown</string>
<key>Auxiliary</key>
<false/>
<true/>
<key>Comment</key>
<string>Memory testing utility</string>
<string>Perform shutdown</string>
<key>Enabled</key>
<false/>
<true/>
<key>Name</key>
<string>memcheck</string>
<string>Shutdown</string>
<key>Path</key>
<string>memcheck/memcheck.efi</string>
<string>ResetSystem.efi</string>
</dict>
</array>
</dict>
@ -609,34 +553,25 @@
<key>4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14</key>
<dict>
<key>DefaultBackgroundColor</key>
<data>
AAAAAA==
</data>
<data>AAAAAA==</data>
<key>UIScale</key>
<data>
Ag==
</data>
<data>AQ==</data>
</dict>
<key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key>
<dict>
<key>rtc-blacklist</key>
<data></data>
</dict>
<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
<dict>
<key>SystemAudioVolume</key>
<data>
Rg==
</data>
<data>Rg==</data>
<key>boot-args</key>
<string>keepsyms=1 debug=0x100</string>
<string>keepsyms=1</string>
<key>csr-active-config</key>
<data>
5wMAAA==
</data>
<key>nvda_drv</key>
<data>
MQ==
</data>
<data>AAAAAA==</data>
<key>prev-lang:kbd</key>
<data>
emgtSGFuczoyNTI=
</data>
<data>ZW4tVVM6MA==</data>
</dict>
</dict>
<key>Block</key>
@ -646,6 +581,10 @@
<string>UIScale</string>
<string>DefaultBackgroundColor</string>
</array>
<key>4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key>
<array>
<string>rtc-blacklist</string>
</array>
<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
<array>
<string>boot-args</string>
@ -690,6 +629,8 @@
<true/>
<key>Generic</key>
<dict>
<key>AdviseWindows</key>
<false/>
<key>MLB</key>
<string>C02717306J9JG361M</string>
<key>ROM</key>
@ -725,9 +666,9 @@
<key>JumpstartHotPlug</key>
<false/>
<key>MinDate</key>
<integer>0</integer>
<integer>-1</integer>
<key>MinVersion</key>
<integer>0</integer>
<integer>-1</integer>
</dict>
<key>Audio</key>
<dict>
@ -752,6 +693,7 @@
<array>
<string>OpenRuntime.efi</string>
<string>VBoxHfs.efi</string>
<string>OpenCanopy.efi</string>
</array>
<key>Input</key>
<dict>
@ -766,11 +708,11 @@
<key>KeySupportMode</key>
<string>Auto</string>
<key>KeySwap</key>
<true/>
<false/>
<key>PointerSupport</key>
<false/>
<key>PointerSupportMode</key>
<string></string>
<string>ASUS</string>
<key>TimerResolution</key>
<integer>50000</integer>
</dict>
@ -785,7 +727,7 @@
<key>DirectGopRendering</key>
<false/>
<key>IgnoreTextInGraphics</key>
<true/>
<false/>
<key>ProvideConsoleGop</key>
<true/>
<key>ReconnectOnResChange</key>
@ -793,13 +735,13 @@
<key>ReplaceTabWithSpace</key>
<false/>
<key>Resolution</key>
<string>Max</string>
<string>1920x1080@32</string>
<key>SanitiseClearScreen</key>
<false/>
<key>TextRenderer</key>
<string>BuiltinGraphics</string>
</dict>
<key>Protocols</key>
<key>ProtocolOverrides</key>
<dict>
<key>AppleAudio</key>
<false/>
@ -813,8 +755,10 @@
<false/>
<key>AppleKeyMap</key>
<false/>
<key>AppleRtcRam</key>
<false/>
<key>AppleSmcIo</key>
<true/>
<false/>
<key>AppleUserInterfaceTheme</key>
<false/>
<key>DataHub</key>

@ -0,0 +1,149 @@
KEXTS= \
EFI/OC/Kexts/Lilu.kext \
EFI/OC/Kexts/WhateverGreen.kext \
EFI/OC/Kexts/AppleALC.kext \
EFI/OC/Kexts/VirtualSMC.kext
DRIVERS= \
EFI/OC/Drivers/VBoxHfs.efi \
EFI/OC/Drivers/OpenRuntime.efi \
EFI/OC/Drivers/OpenCanopy.efi
TOOLS = \
EFI/OC/Tools/Shell.efi \
EFI/OC/Tools/ResetSystem.efi
MISC= \
EFI/BOOT/BOOTx64.efi \
EFI/OC/OpenCore.efi \
EFI/OC/Resources
SUBMODULES = \
src/AppleALC \
src/Lilu \
src/WhateverGreen \
src/OpenCorePkg \
src/AppleSupportPkg \
src/VirtualSMC \
src/OcBinaryData
# Either DEBUG or RELEASE
OPENCORE_MODE=RELEASE
.DUMMY : all clean dist
all : $(SUBMODULES) $(MISC) $(KEXTS) $(DRIVERS) $(TOOLS)
dist : OpenCore.dmg.gz OpenCoreEFIFolder.zip
# Create OpenCore disk image:
OpenCore.dmg : Makefile
rm -f OpenCore.dmg
hdiutil create -layout GPTSPUD -partitionType EFI -fs "FAT32" -megabytes 150 -volname EFI OpenCore.dmg
mkdir -p OpenCore-Image
DEV_NAME=$$(hdiutil attach -nomount -plist OpenCore.dmg | xpath "/plist/dict/array/dict/key[text()='content-hint']/following-sibling::string[1][text()='EFI']/../key[text()='dev-entry']/following-sibling::string[1]/text()" 2> /dev/null) && \
mount -tmsdos "$$DEV_NAME" OpenCore-Image
cp -a EFI OpenCore-Image/
hdiutil detach -force OpenCore-Image
OpenCoreEFIFolder.zip : Makefile
rm -f $@
zip -r $@ EFI
%.gz : %
gzip -f --keep $<
# AppleALC:
EFI/OC/Kexts/AppleALC.kext : src/AppleALC/build/Release/AppleALC.kext
cp -a $< $@
src/AppleALC/build/Release/AppleALC.kext : src/AppleALC src/AppleALC/Lilu.kext
cd src/AppleALC && xcodebuild -configuration Release
src/AppleALC/Lilu.kext : src/Lilu/build/Debug/Lilu.kext
ln -s ../Lilu/build/Debug/Lilu.kext $@
# Lilu:
EFI/OC/Kexts/Lilu.kext : src/Lilu/build/Release/Lilu.kext
cp -a $< $@
src/Lilu/build/Release/Lilu.kext src/Lilu/build/Debug/Lilu.kext :
cd src/Lilu && xcodebuild -configuration Debug
cd src/Lilu && xcodebuild -configuration Release
# WhateverGreen:
EFI/OC/Kexts/WhateverGreen.kext : src/WhateverGreen/build/Release/WhateverGreen.kext
cp -a $< $@
src/WhateverGreen/build/Release/WhateverGreen.kext : src/WhateverGreen src/WhateverGreen/Lilu.kext
cd src/WhateverGreen && xcodebuild -configuration Release
src/WhateverGreen/Lilu.kext : src/Lilu/build/Debug/Lilu.kext
ln -s ../Lilu/build/Debug/Lilu.kext $@
# VirtualSMC:
EFI/OC/Kexts/VirtualSMC.kext : src/VirtualSMC/build/Release/VirtualSMC.kext
cp -a $< $@
src/VirtualSMC/build/Release/VirtualSMC.kext : src/VirtualSMC/Lilu.kext
cd src/VirtualSMC && xcodebuild -configuration Release
src/VirtualSMC/Lilu.kext : src/Lilu/build/Debug/Lilu.kext
ln -s ../Lilu/build/Debug/Lilu.kext $@
# OpenCore:
EFI/OC/OpenCore.efi : src/OpenCorePkg/Binaries/$(OPENCORE_MODE)/OpenCore.efi
cp -a $< $@
EFI/OC/Drivers/OpenRuntime.efi : src/OpenCorePkg/Binaries/$(OPENCORE_MODE)/OpenRuntime.efi
mkdir -p EFI/OC/Drivers
cp -a $< $@
EFI/BOOT/BOOTx64.efi : src/OpenCorePkg/Binaries/$(OPENCORE_MODE)/BOOTx64.efi
mkdir -p EFI/BOOT
cp -a $< $@
src/OpenCorePkg/Binaries/$(OPENCORE_MODE)/OpenCore.efi src/OpenCorePkg/Binaries/$(OPENCORE_MODE)/OpenRuntime.efi \
src/OpenCorePkg/Binaries/$(OPENCORE_MODE)/BOOTx64.efi src/OpenCorePkg/Binaries/$(OPENCORE_MODE)/Shell.efi \
:
sed -i'.original' -e 's/^ARCHS=(X64 IA32)$$/ARCHS=(X64)/' src/OpenCorePkg/macbuild.tool
cd src/OpenCorePkg && ./macbuild.tool --skip-package
# VBoxHfs:
EFI/OC/Drivers/VBoxHfs.efi : src/AppleSupportPkg/Binaries/RELEASE/VBoxHfs.efi
mkdir -p EFI/OC/Drivers
cp -a $< $@
src/AppleSupportPkg/Binaries/RELEASE/VBoxHfs.efi :
cd src/AppleSupportPkg && ./macbuild.tool --skip-package
# Tools
EFI/OC/Tools/Shell.efi : src/OpenCorePkg/Binaries/$(OPENCORE_MODE)/Shell.efi
mkdir -p EFI/OC/Tools
cp -a $< $@
EFI/OC/Drivers/OpenCanopy.efi : src/OpenCorePkg/Binaries/$(OPENCORE_MODE)/OpenCanopy.efi
mkdir -p EFI/OC/Drivers
cp -a $< $@
EFI/OC/Resources : src/OcBinaryData/Resources
cp -a $< $@
# Fetch submodules:
$(SUBMODULES) :
git submodule update --init
EFI/BOOT/ EFI/OC/Drivers/ EFI/OC/Tools/ :
mkdir $@
clean :
rm -rf OpenCore.dmg OpenCoreEFIFolder.zip src/Lilu/build src/WhateverGreen/build src/OpenCorePkg/Binaries src/AppleALC/build $(KEXTS) $(DRIVERS) $(MISC)

@ -0,0 +1 @@
Subproject commit a22c591bbe651c60e82af184d5f28842a47908b5

@ -0,0 +1 @@
Subproject commit 1f5720f9466a484b30af9b74450ca34777853c5b

@ -0,0 +1 @@
Subproject commit e827287b7f9ec424b20b8fa41d6497d92704bd72

@ -0,0 +1 @@
Subproject commit 993915e05443670f6524d2e3dd23cb7134eea407

@ -0,0 +1 @@
Subproject commit 165db12fa3edb53cfe47e5fcba64d5b67a3c457f

@ -0,0 +1 @@
Subproject commit 2d0436a25fc50f85a121400867e2b23d4388d075

@ -0,0 +1 @@
Subproject commit ad0d12d1334524df8457e412f3fb5f5e892fabee
Loading…
Cancel
Save