Skip to content

Commit

Permalink
doc: fix documentation of out-of-tree build
Browse files Browse the repository at this point in the history
Correct environment variable for output directory is KBUILD_OUTPUT.

Signed-off-by: Timo Ketola <[email protected]>
  • Loading branch information
Timo Ketola authored and trini committed Nov 7, 2014
1 parent ea19527 commit adbba99
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand Down
4 changes: 2 additions & 2 deletions doc/README.kwbimage
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit adbba99

Please sign in to comment.