From 27b40a7f307e9adbef68627e89b9e12774acdd6f Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 26 Feb 2007 01:14:18 +0000
Subject: [PATCH] document MAKE_FLAGS and MAKE_VARS

SVN-Revision: 6385
---
 docs/build.tex | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/docs/build.tex b/docs/build.tex
index 553ddb16e0..d5e9bb40f2 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
-- 
GitLab