document MAKE_FLAGS and MAKE_VARS
authorFelix Fietkau <nbd@openwrt.org>
Mon, 26 Feb 2007 01:14:18 +0000 (01:14 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 26 Feb 2007 01:14:18 +0000 (01:14 +0000)
SVN-Revision: 6385

docs/build.tex

index 553ddb16e0b4a78b91581439ae5b1e6d9b3a5cef..d5e9bb40f2d3b204e29ef1cea7904b2741b7224c 100644 (file)
@@ -337,6 +337,15 @@ directly as the Nth argument to \texttt{BuildPackage}.
 
 \textbf{\texttt{Build/Compile} (optional):} \\
    How to compile the source; in most cases you should leave this undefined.
+   
+   As with \texttt{Build/Configure} there are two variables that allow you to override
+   the make command line environment variables and flags:
+   \begin{itemize}
+     \item \texttt{MAKE\_FLAGS} \\
+          Contains all command line arguments (typically variable overrides like \texttt{NAME="value"}
+        \item \texttt{MAKE\_VARS} \\
+          Contains all environment variables that are passed to the make command
+   \end{itemize}
 
 \textbf{\texttt{Package/\textit{<name>}/install}:} \\
    A set of commands to copy files out of the compiled source and into the ipkg