X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d6594675f08205e2086c383371c9251c51bd3c5a..11afdfa934dc20a1317d8414e779c11aaaf86e4e:/docs/build.tex diff --git a/docs/build.tex b/docs/build.tex index 9dfce5937..c85eed80e 100644 --- a/docs/build.tex +++ b/docs/build.tex @@ -204,7 +204,6 @@ simplifies the entire ordeal. Here for example, is \texttt{package/bridge/Makefile}: \begin{Verbatim}[frame=single,numbers=left] -# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $ include $(TOPDIR)/rules.mk @@ -307,6 +306,9 @@ directly as the Nth argument to \texttt{BuildPackage}. Which packages must be built/installed before this package. To reference a dependency defined in the same Makefile, use \textit{}. If defined as an external package, use \textit{+}. For a kernel version dependency use: \textit{@LINUX\_2\_} + \item \texttt{BUILDONLY} (optional) \\ + Set this option to 1 if you do NOT want your package to appear in menuconfig. + This is useful for packages which are only used as build dependencies. \end{itemize} \textbf{\texttt{Package/\textit{}/conffiles} (optional):} \\ @@ -391,7 +393,6 @@ To do so, you can use the following template, which basically sets to nothing th Compile templates. \begin{Verbatim}[frame=single,numbers=left] -# $Id: $ include $(TOPDIR)/rules.mk @@ -448,7 +449,6 @@ For external kernel modules, you can add them to the build system just like if t Here for instance the Makefile for the I2C subsytem kernel modules : \begin{Verbatim}[frame=single,numbers=left] -# $Id $ I2CMENU:=I2C Bus @@ -547,7 +547,7 @@ The script \texttt{./scripts/env} is used to manage these environments, it uses The command \begin{Verbatim} - \texttt{./scripts/env help} + ./scripts/env help \end{Verbatim} produces a short help text with a list of commands.