summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-26 01:14:18 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-26 01:14:18 +0000
commiteaa486faf8f121635d3e96ea555474512bf6b556 (patch)
treead1fbbb5fc504ed2afef2a7d575585cc09d7e349
parent1a0bf921c49ef1eb9cea926ddc83cf661dcfeb20 (diff)
document MAKE_FLAGS and MAKE_VARS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6385 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--docs/build.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/build.tex b/docs/build.tex
index 553ddb16e..d5e9bb40f 100644
--- a/docs/build.tex
+++ b/docs/build.tex
@@ -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