diff mbox

[U-Boot,v2] doc: fix documentation of out-of-tree build

Message ID 1415277545-2048-1-git-send-email-timo@exertus.fi
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Timo Ketola Nov. 6, 2014, 12:39 p.m. UTC
Correct environment variable for output directory is KBUILD_OUTPUT.

Signed-off-by: Timo Ketola <timo@exertus.fi>
---
v2 changes:
    - Fixed the example in the doc/README.kwbimage file functionally
	correct


 README              |    6 +++---
 doc/README.kwbimage |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

Comments

Tom Rini Nov. 10, 2014, 9:27 p.m. UTC | #1
On Thu, Nov 06, 2014 at 02:39:05PM +0200, Timo Ketola wrote:

> Correct environment variable for output directory is KBUILD_OUTPUT.
> 
> Signed-off-by: Timo Ketola <timo@exertus.fi>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/README b/README
index 7b5538e..c3a9dfc 100644
--- a/README
+++ b/README
@@ -5012,14 +5012,14 @@  this behavior and build U-Boot to some external directory:
 	make O=/tmp/build NAME_defconfig
 	make O=/tmp/build all
 
-2. Set environment variable BUILD_DIR to point to the desired location:
+2. Set environment variable KBUILD_OUTPUT to point to the desired location:
 
-	export BUILD_DIR=/tmp/build
+	export KBUILD_OUTPUT=/tmp/build
 	make distclean
 	make NAME_defconfig
 	make all
 
-Note that the command line "O=" setting overrides the BUILD_DIR environment
+Note that the command line "O=" setting overrides the KBUILD_OUTPUT environment
 variable.
 
 
diff --git a/doc/README.kwbimage b/doc/README.kwbimage
index 13f6f92..762b2e3 100644
--- a/doc/README.kwbimage
+++ b/doc/README.kwbimage
@@ -30,10 +30,10 @@  kwbimage support available with mkimage utility will generate kirkwood boot
 image that can be flashed on the board NAND/SPI flash.  The make target
 which uses mkimage to produce such an image is "u-boot.kwb".  For example:
 
-  export BUILD_DIR=/tmp/build
+  export KBUILD_OUTPUT=/tmp/build
   make distclean
   make yourboard_config
-  make $BUILD_DIR/u-boot.kwb
+  make u-boot.kwb
 
 
 Board specific configuration file specifications: