]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
doc: fix documentation of out-of-tree build
authorTimo Ketola <timo@exertus.fi>
Thu, 6 Nov 2014 12:39:05 +0000 (14:39 +0200)
committerTom Rini <trini@ti.com>
Fri, 7 Nov 2014 21:27:07 +0000 (16:27 -0500)
Correct environment variable for output directory is KBUILD_OUTPUT.

Signed-off-by: Timo Ketola <timo@exertus.fi>
README
doc/README.kwbimage

diff --git a/README b/README
index 7b5538ed3e960000a844fa69af4c0662c4f94bf8..c3a9dfc4f0b3851580818217703882dc30e7f0c1 100644 (file)
--- 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.
 
 
index 13f6f92f68e2138cde58af8d974ff29b2ca2f8df..762b2e3acb71e08f9335baa72a67759a1f5bbd1d 100644 (file)
@@ -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: