mirror of
https://github.com/thenickdude/KVM-Opencore.git
synced 2024-10-27 20:34:10 +00:00
Update to OpenCore 0.6.2
This commit is contained in:
parent
ac6ada01a9
commit
2992030b86
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -20,3 +20,6 @@
|
||||
[submodule "src/OcBinaryData"]
|
||||
path = src/OcBinaryData
|
||||
url = https://github.com/acidanthera/OcBinaryData.git
|
||||
[submodule "src/MacKernelSDK"]
|
||||
path = src/MacKernelSDK
|
||||
url = https://github.com/acidanthera/MacKernelSDK.git
|
||||
|
@ -351,6 +351,8 @@
|
||||
</array>
|
||||
<key>Emulate</key>
|
||||
<dict>
|
||||
<key>DummyPowerManagement</key>
|
||||
<true/>
|
||||
<key>Cpuid1Data</key>
|
||||
<data>
|
||||
VAYFAAAAAAAAAAAAAAAAAA==
|
||||
@ -359,6 +361,10 @@
|
||||
<data>
|
||||
////AAAAAAAAAAAAAAAAAA==
|
||||
</data>
|
||||
<key>MaxKernel</key>
|
||||
<string></string>
|
||||
<key>MinKernel</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
<key>Force</key>
|
||||
<array>
|
||||
@ -368,7 +374,7 @@
|
||||
<key>BundlePath</key>
|
||||
<string>System/Library/Extensions/IONetworkingFamily.kext</string>
|
||||
<key>Comment</key>
|
||||
<string>Patch engine</string>
|
||||
<string></string>
|
||||
<key>Enabled</key>
|
||||
<false/>
|
||||
<key>Identifier</key>
|
||||
@ -474,14 +480,16 @@
|
||||
<true/>
|
||||
<key>DisableRtcChecksum</key>
|
||||
<false/>
|
||||
<key>DummyPowerManagement</key>
|
||||
<true/>
|
||||
<key>ExtendBTFeatureFlags</key>
|
||||
<false/>
|
||||
<key>ExternalDiskIcons</key>
|
||||
<false/>
|
||||
<key>IncreasePciBarSize</key>
|
||||
<false/>
|
||||
<key>LapicKernelPanic</key>
|
||||
<false/>
|
||||
<key>LegacyCommpage</key>
|
||||
<false/>
|
||||
<key>PanicNoKextDump</key>
|
||||
<false/>
|
||||
<key>PowerTimeoutKernelPanic</key>
|
||||
@ -699,12 +707,14 @@
|
||||
<dict>
|
||||
<key>AdviseWindows</key>
|
||||
<false/>
|
||||
<key>SystemMemoryStatus</key>
|
||||
<string>Auto</string>
|
||||
<key>MLB</key>
|
||||
<string>C02717306J9JG361M</string>
|
||||
<key>ProcessorType</key>
|
||||
<integer>0</integer>
|
||||
<key>ROM</key>
|
||||
<data>
|
||||
m7zhIYfl
|
||||
</data>
|
||||
<data>m7zhIYfl</data>
|
||||
<key>SpoofVendor</key>
|
||||
<true/>
|
||||
<key>SystemProductName</key>
|
||||
|
72
Makefile
72
Makefile
@ -26,7 +26,11 @@ SUBMODULES = \
|
||||
src/WhateverGreen \
|
||||
src/OpenCorePkg \
|
||||
src/VirtualSMC \
|
||||
src/OcBinaryData
|
||||
src/OcBinaryData \
|
||||
src/MacKernelSDK
|
||||
|
||||
# Set me to include the version number in the packaged filenames
|
||||
RELEASE_VERSION ?= master
|
||||
|
||||
# Either DEBUG or RELEASE
|
||||
OPENCORE_MODE=RELEASE
|
||||
@ -39,24 +43,24 @@ OPENCORE_UDK_BUILD_DIR=src/OpenCorePkg/UDK/Build/OpenCorePkg/$(OPENCORE_MODE)_XC
|
||||
# (avoids rebuilding deps after they touch their directories during build)
|
||||
all : $(SUBMODULES) $(EFI_FILES)
|
||||
|
||||
dist : $(SUBMODULES) OpenCore.dmg.gz OpenCoreEFIFolder.zip OpenCore.iso.gz
|
||||
dist : $(SUBMODULES) OpenCore-$(RELEASE_VERSION).dmg.gz OpenCoreEFIFolder-$(RELEASE_VERSION).zip OpenCore-$(RELEASE_VERSION).iso.gz
|
||||
|
||||
# Create OpenCore disk image:
|
||||
|
||||
OpenCore.dmg : Makefile $(EFI_FILES)
|
||||
rm -f OpenCore.dmg
|
||||
hdiutil create -layout GPTSPUD -partitionType EFI -fs "FAT32" -megabytes 150 -volname EFI OpenCore.dmg
|
||||
OpenCore-$(RELEASE_VERSION).dmg : Makefile $(EFI_FILES)
|
||||
rm -f $@
|
||||
hdiutil create -layout GPTSPUD -partitionType EFI -fs "FAT32" -megabytes 150 -volname EFI $@
|
||||
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) && \
|
||||
DEV_NAME=$$(hdiutil attach -nomount -plist $@ | 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
|
||||
|
||||
# Not actually an ISO, but useful for making it usable in Proxmox's ISO picker
|
||||
OpenCore.iso : OpenCore.dmg
|
||||
OpenCore-$(RELEASE_VERSION).iso : OpenCore-$(RELEASE_VERSION).dmg
|
||||
cp $< $@
|
||||
|
||||
OpenCoreEFIFolder.zip : Makefile $(EFI_FILES)
|
||||
OpenCoreEFIFolder-$(RELEASE_VERSION).zip : Makefile $(EFI_FILES)
|
||||
rm -f $@
|
||||
zip -r $@ EFI
|
||||
|
||||
@ -68,11 +72,25 @@ OpenCoreEFIFolder.zip : Makefile $(EFI_FILES)
|
||||
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
|
||||
src/AppleALC/build/Release/AppleALC.kext : src/AppleALC src/AppleALC/Lilu.kext src/AppleALC/MacKernelSDK
|
||||
cd src/AppleALC && xcodebuild -configuration Release
|
||||
|
||||
src/AppleALC/Lilu.kext : src/Lilu/build/Debug/Lilu.kext
|
||||
ln -s ../Lilu/build/Debug/Lilu.kext $@
|
||||
# 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 src/WhateverGreen/MacKernelSDK
|
||||
cd src/WhateverGreen && xcodebuild -configuration Release
|
||||
|
||||
# VirtualSMC:
|
||||
|
||||
EFI/OC/Kexts/VirtualSMC.kext : src/VirtualSMC/build/Release/VirtualSMC.kext
|
||||
cp -a $< $@
|
||||
|
||||
src/VirtualSMC/build/Release/VirtualSMC.kext : src/VirtualSMC/Lilu.kext src/VirtualSMC/MacKernelSDK
|
||||
cd src/VirtualSMC && xcodebuild -configuration Release
|
||||
touch $@
|
||||
|
||||
# Lilu:
|
||||
|
||||
@ -83,29 +101,19 @@ 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
|
||||
touch $@
|
||||
|
||||
src/WhateverGreen/Lilu.kext \
|
||||
src/AppleALC/Lilu.kext \
|
||||
src/VirtualSMC/Lilu.kext : src/Lilu/build/Debug/Lilu.kext
|
||||
ln -s ../Lilu/build/Debug/Lilu.kext $@
|
||||
|
||||
# MacKernelSDK:
|
||||
|
||||
src/Lilu/MacKernelSDK \
|
||||
src/WhateverGreen/MacKernelSDK \
|
||||
src/AppleALC/MacKernelSDK \
|
||||
src/VirtualSMC/MacKernelSDK : src/MacKernelSDK
|
||||
ln -s ../MacKernelSDK $@
|
||||
|
||||
# OpenCore:
|
||||
|
||||
EFI/OC/OpenCore.efi : $(OPENCORE_UDK_BUILD_DIR)/OpenCore.efi
|
||||
@ -160,5 +168,5 @@ very-clean : clean
|
||||
rm -rf src/OpenCorePkg/UDK
|
||||
|
||||
clean :
|
||||
rm -rf OpenCore.dmg OpenCoreEFIFolder.zip OpenCore-Image/ src/Lilu/build src/WhateverGreen/build src/OpenCorePkg/UDK/Build \
|
||||
rm -rf OpenCore-*.dmg OpenCoreEFIFolder-*.zip OpenCore-Image/ src/Lilu/build src/WhateverGreen/build src/OpenCorePkg/UDK/Build \
|
||||
src/AppleALC/build $(KEXTS) $(DRIVERS) $(TOOLS) $(MISC)
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit a567a8bd4bf983b2e8d77c9d62d90ba9bf7efa4c
|
||||
Subproject commit 3f86db16b1330cfb040fd45a5262b0c3f492f2ac
|
2
src/Lilu
2
src/Lilu
@ -1 +1 @@
|
||||
Subproject commit b8eb26fadc827d1df8f4e5ab8c9216c5098e8318
|
||||
Subproject commit 3b302dc0d972b8cf89c19569dfbea75a16b3c51a
|
1
src/MacKernelSDK
Submodule
1
src/MacKernelSDK
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 06325f9ae288e16fb9838cf641ab18cd52ff934e
|
@ -1 +1 @@
|
||||
Subproject commit 80b2448c7ebc31616d95bfcd60320dd0056ee0e5
|
||||
Subproject commit d4a10f6dd0e735e8fac7ba25d1cbfaeae31fbaa4
|
@ -1 +1 @@
|
||||
Subproject commit db87b3263dd0d6345e19554ec0a97919fef5af01
|
||||
Subproject commit cad9e24d8698b323fba1498ac9efacfcb27c378f
|
@ -1 +1 @@
|
||||
Subproject commit eda655bc5c21519cc7734ce7e6d1ae10a8d9b27d
|
||||
Subproject commit 90fda6cf756ec17446a4cfb5c92d1e9a23296771
|
@ -1 +1 @@
|
||||
Subproject commit 68b87f9ad3c8d45b48c543300603ba8022cb3ab9
|
||||
Subproject commit 562b59121a56d8b02465ed0728d4b5509b80cdbb
|
Loading…
Reference in New Issue
Block a user