summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-26 01:14:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-26 01:14:18 +0000
commit27b40a7f307e9adbef68627e89b9e12774acdd6f (patch)
treef7289f4079f6d867249cf9f5b03c6e10b5f21479
parent6f4854e5e5964beb2116d2081692f4a4ff6a6a5c (diff)
downloadmtk-20170518-27b40a7f307e9adbef68627e89b9e12774acdd6f.zip
mtk-20170518-27b40a7f307e9adbef68627e89b9e12774acdd6f.tar.gz
mtk-20170518-27b40a7f307e9adbef68627e89b9e12774acdd6f.tar.bz2
document MAKE_FLAGS and MAKE_VARS
SVN-Revision: 6385
-rw-r--r--docs/build.tex9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/build.tex b/docs/build.tex
index 553ddb1..d5e9bb4 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