未验证 提交 802e2edd 编写于 作者: D dakanji 提交者: GitHub

Docs: Further optimise recommended build cmds (#109)

上级 ad2f37be
...@@ -601,9 +601,10 @@ The latest Xcode version is recommended for use despite the toolchain name. Exam ...@@ -601,9 +601,10 @@ The latest Xcode version is recommended for use despite the toolchain name. Exam
command sequence may look as follows: command sequence may look as follows:
\begin{lstlisting}[caption=Compilation Commands, label=compile, style=ocbash] \begin{lstlisting}[caption=Compilation Commands, label=compile, style=ocbash]
git clone --recursive --depth=1 https://github.com/acidanthera/audk UDK git clone --depth=1 https://github.com/acidanthera/audk UDK
cd UDK cd UDK
git clone https://github.com/acidanthera/OpenCorePkg git submodule update --init --recommend-shallow
git clone --depth=1 https://github.com/acidanthera/OpenCorePkg
source edksetup.sh source edksetup.sh
make -C BaseTools make -C BaseTools
build -a X64 -b RELEASE -t XCODE5 -p OpenCorePkg/OpenCorePkg.dsc build -a X64 -b RELEASE -t XCODE5 -p OpenCorePkg/OpenCorePkg.dsc
...@@ -2648,7 +2649,7 @@ entry choice will update till next manual reconfiguration. ...@@ -2648,7 +2649,7 @@ entry choice will update till next manual reconfiguration.
\tightlist \tightlist
\item \texttt{0x0001} --- \texttt{OC\_ATTR\_USE\_VOLUME\_ICON}, provides custom icons \item \texttt{0x0001} --- \texttt{OC\_ATTR\_USE\_VOLUME\_ICON}, provides custom icons
for boot entries: for boot entries:
For \texttt{Tools} OpenCore will try to load a custom icon and fallback to the default icon: For \texttt{Tools} OpenCore will try to load a custom icon and fallback to the default icon:
\begin{itemize} \begin{itemize}
\tightlist \tightlist
...@@ -2657,21 +2658,21 @@ entry choice will update till next manual reconfiguration. ...@@ -2657,21 +2658,21 @@ entry choice will update till next manual reconfiguration.
\item \texttt{Tools\textbackslash <TOOL\_RELATIVE\_PATH>.icns} \item \texttt{Tools\textbackslash <TOOL\_RELATIVE\_PATH>.icns}
--- icon near the tool file with appended \texttt{.icns} extension. --- icon near the tool file with appended \texttt{.icns} extension.
\end{itemize} \medskip \end{itemize} \medskip
For custom boot \texttt{Entries} OpenCore will try to load a custom icon and fallback For custom boot \texttt{Entries} OpenCore will try to load a custom icon and fallback
to the volume icon or the default icon: to the volume icon or the default icon:
\begin{itemize} \begin{itemize}
\tightlist \tightlist
\item \texttt{<ENTRY\_PATH>.icns} --- icon near the entry file with appended \texttt{.icns} extension. \item \texttt{<ENTRY\_PATH>.icns} --- icon near the entry file with appended \texttt{.icns} extension.
\end{itemize} \medskip \end{itemize} \medskip
For all other entries OpenCore will try to load a volume icon and fallback to the default icon: For all other entries OpenCore will try to load a volume icon and fallback to the default icon:
\begin{itemize} \begin{itemize}
\tightlist \tightlist
\item \texttt{.VolumeIcon.icns} file at \texttt{Preboot} root for APFS. \item \texttt{.VolumeIcon.icns} file at \texttt{Preboot} root for APFS.
\item \texttt{.VolumeIcon.icns} file at volume root for other filesystems. \item \texttt{.VolumeIcon.icns} file at volume root for other filesystems.
\end{itemize} \medskip \end{itemize} \medskip
Volume icons can be set in Finder. Note, that enabling this may result in Volume icons can be set in Finder. Note, that enabling this may result in
external and internal icons to be indistinguishable. external and internal icons to be indistinguishable.
\item \texttt{0x0002} --- \texttt{OC\_ATTR\_USE\_DISK\_LABEL\_FILE}, provides custom \item \texttt{0x0002} --- \texttt{OC\_ATTR\_USE\_DISK\_LABEL\_FILE}, provides custom
...@@ -2912,7 +2913,7 @@ cat Kernel.panic | grep macOSProcessedStackshotData | ...@@ -2912,7 +2913,7 @@ cat Kernel.panic | grep macOSProcessedStackshotData |
(any) debug logging. Serial port configuration is defined via PCDs at compile time (any) debug logging. Serial port configuration is defined via PCDs at compile time
in \texttt{gEfiMdeModulePkgTokenSpaceGuid} GUID. Default values as found in in \texttt{gEfiMdeModulePkgTokenSpaceGuid} GUID. Default values as found in
\texttt{MdeModulePkg.dec} are as follows: \texttt{MdeModulePkg.dec} are as follows:
\begin{itemize} \begin{itemize}
\tightlist \tightlist
\item \texttt{PcdSerialBaudRate} --- Baud rate: \texttt{115200}. \item \texttt{PcdSerialBaudRate} --- Baud rate: \texttt{115200}.
...@@ -4763,7 +4764,7 @@ similar to the builtin text interface. ...@@ -4763,7 +4764,7 @@ similar to the builtin text interface.
OpenCanopy requires graphical resources located in \texttt{Resources} directory to run. OpenCanopy requires graphical resources located in \texttt{Resources} directory to run.
Sample resources (fonts and images) can be found in Sample resources (fonts and images) can be found in
\href{https://github.com/acidanthera/OcBinaryData}{OcBinaryData repository}. You can find customised icons over the internet \href{https://github.com/acidanthera/OcBinaryData}{OcBinaryData repository}. You can find customised icons over the internet
(e.g. \href{https://github.com/blackosx/OpenCanopyIcons}{here} or \href{https://applelife.ru/threads/kastomizacija-opencanopy.2945020/}{there}). (e.g. \href{https://github.com/blackosx/OpenCanopyIcons}{here} or \href{https://applelife.ru/threads/kastomizacija-opencanopy.2945020/}{there}).
OpenCanopy provides full support for \texttt{PickerAttributes} and offers a configurable OpenCanopy provides full support for \texttt{PickerAttributes} and offers a configurable
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册