Skip to content

Commit

Permalink
exclude OcAudio from subproject
Browse files Browse the repository at this point in the history
Signed-off-by: Slice <[email protected]>
  • Loading branch information
SergeySlice committed Jan 19, 2024
2 parents 00e4d65 + 7e9c25b commit 76704c3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Library/OcMainLib/OcMainLibClover.inf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
OpenCoreNvram.c
OpenCorePlatform.c
OpenCoreUefi.c
OpenCoreUefiAudio.c
# OpenCoreUefiAudio.c
OpenCoreUefiInOut.c
OpenCoreVault.c

Expand Down
10 changes: 10 additions & 0 deletions Library/OcMainLib/OpenCoreUefi.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ OcReinstallProtocols (
BOOLEAN OverrideAppleEvent;

This comment has been minimized.

Copy link
@asepms92

asepms92 Jan 20, 2024

missing #endif
Screen Shot 2024-01-20 at 22 10 15


#ifndef CLOVER_BUILD
if (OcAudioInstallProtocols (
Config->Uefi.ProtocolOverrides.AppleAudio,
Config->Uefi.Audio.DisconnectHda
Expand All @@ -399,6 +400,7 @@ OcReinstallProtocols (
DEBUG ((DEBUG_INFO, "OC: Disabling audio in favour of firmware implementation\n"));
}
#endif

if (OcAppleBootPolicyInstallProtocol (Config->Uefi.ProtocolOverrides.AppleBootPolicy) == NULL) {
DEBUG ((DEBUG_INFO, "OC: Failed to install boot policy protocol\n"));
}
Expand Down Expand Up @@ -1051,9 +1053,17 @@ OcLoadUefiSupport (
}

OcLoadUefiOutputSupport (Storage, Config);
<<<<<<< HEAD
#ifndef CLOVER_BUILD
OcLoadUefiAudioSupport (Storage, Config);
#endif
=======

#ifndef CLOVER_BUILD
OcLoadUefiAudioSupport (Storage, Config);
#endif

>>>>>>> 7e9c25b7f5786ebb7a6d833ab5b756329a48f60f
gBS->CreateEvent (
EVT_SIGNAL_EXIT_BOOT_SERVICES,
TPL_CALLBACK,
Expand Down

0 comments on commit 76704c3

Please sign in to comment.