Commit adbba99606a06df1435de6f1866c0e7996412e27

Authored by Timo Ketola
Committed by Tom Rini
1 parent ea19527c20

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>

Showing 2 changed files with 5 additions and 5 deletions Side-by-side Diff

... ... @@ -5012,14 +5012,14 @@
5012 5012 make O=/tmp/build NAME_defconfig
5013 5013 make O=/tmp/build all
5014 5014  
5015   -2. Set environment variable BUILD_DIR to point to the desired location:
  5015 +2. Set environment variable KBUILD_OUTPUT to point to the desired location:
5016 5016  
5017   - export BUILD_DIR=/tmp/build
  5017 + export KBUILD_OUTPUT=/tmp/build
5018 5018 make distclean
5019 5019 make NAME_defconfig
5020 5020 make all
5021 5021  
5022   -Note that the command line "O=" setting overrides the BUILD_DIR environment
  5022 +Note that the command line "O=" setting overrides the KBUILD_OUTPUT environment
5023 5023 variable.
5024 5024  
5025 5025  
... ... @@ -30,10 +30,10 @@
30 30 image that can be flashed on the board NAND/SPI flash. The make target
31 31 which uses mkimage to produce such an image is "u-boot.kwb". For example:
32 32  
33   - export BUILD_DIR=/tmp/build
  33 + export KBUILD_OUTPUT=/tmp/build
34 34 make distclean
35 35 make yourboard_config
36   - make $BUILD_DIR/u-boot.kwb
  36 + make u-boot.kwb
37 37  
38 38  
39 39 Board specific configuration file specifications: