summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Ketola <timo@exertus.fi>2014-11-06 14:39:05 +0200
committerTom Rini <trini@ti.com>2014-11-07 16:27:07 -0500
commitadbba99606a06df1435de6f1866c0e7996412e27 (patch)
treecfb949ce6be110d8369afec1f84e0b29bd39d033
parentea19527c209b0d97b532a8dc5bf28f2cdd016888 (diff)
downloadblackbird-obmc-uboot-adbba99606a06df1435de6f1866c0e7996412e27.tar.gz
blackbird-obmc-uboot-adbba99606a06df1435de6f1866c0e7996412e27.zip
doc: fix documentation of out-of-tree build
Correct environment variable for output directory is KBUILD_OUTPUT. Signed-off-by: Timo Ketola <timo@exertus.fi>
-rw-r--r--README6
-rw-r--r--doc/README.kwbimage4
2 files changed, 5 insertions, 5 deletions
diff --git a/README b/README
index 7b5538ed3e..c3a9dfc4f0 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 13f6f92f68..762b2e3acb 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:
OpenPOWER on IntegriCloud