Skip to content

Commit

Permalink
README.kconfig: document backward compatibility "make *_config"
Browse files Browse the repository at this point in the history
Commit 3ff291f
(kconfig: convert Kconfig helper script into a shell script)
restored "<board>_config" target for backward compatibility.
It should be documented.

Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Stephen Warren <[email protected]>
  • Loading branch information
masahir0y authored and trini committed Aug 28, 2014
1 parent 2134342 commit d1b60d3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/README.kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ See below for how each configuration target works in U-Boot:
coalesced together with "<condition:>" prefix for each line as shown above.
This file can be used as an input of "defconfig" target.

- <board>_config

This does not exist in Linux's Kconfig.
Prior to Kconfig, in U-Boot, "make <board>_config" was used for the
configuration. It is still supported for backward compatibility and
its behavior is the same as "make <board>_defconfig".


Migration steps to Kconfig
--------------------------
Expand Down
1 change: 1 addition & 0 deletions scripts/multiconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ case $target in
*_defconfig)
do_board_defconfig $target;;
*_config)
# backward compatibility
do_board_defconfig ${target%_config}_defconfig;;
silentoldconfig)
do_silentoldconfig;;
Expand Down

0 comments on commit d1b60d3

Please sign in to comment.