From 1110062e465354fdee9ee887024f4a58783533c6 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 27 Sep 2010 22:26:15 +0200 Subject: docs/buildroot.html: document Makefile wrapper in output dir For out-of-tree builds. Signed-off-by: Peter Korsgaard --- docs/buildroot.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'docs/buildroot.html') diff --git a/docs/buildroot.html b/docs/buildroot.html index edb75b134..b7a8641e9 100644 --- a/docs/buildroot.html +++ b/docs/buildroot.html @@ -278,15 +278,30 @@ or $ make O=/tmp/build +

Or:

+ +
+ $ cd /tmp/build; make O=$PWD -C path/to/buildroot
+
+

All the output files will be located under /tmp/build.

When using out-of-tree builds, the Buildroot - .config and temporary files are also stored in the + .config and temporary files are also stored in the output directory. This means that you can safely run multiple builds in parallel using the same source tree as long as they use unique output directories.

+

For ease of use, Buildroot generates a Makefile wrapper in the + output directory - So after the first run, you no longer need to + pass O=.. and -C .., simply run (in the + output directory):

+ +
+ $ make <target>
+
+

Environment variables

-- cgit v1.2.3