diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-07-21 11:16:34 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-07-21 11:16:34 +0200 |
commit | 5078cce81c77d52ff38921b43f5ea73eebf40251 (patch) | |
tree | f930e06dd7a8bfe210bab9b86f329dfa3d07fef3 /mkconfig | |
parent | 978b10964c1a4b3bf97fa5198ba62b36bd173cbe (diff) | |
download | u-boot-imx-5078cce81c77d52ff38921b43f5ea73eebf40251.zip u-boot-imx-5078cce81c77d52ff38921b43f5ea73eebf40251.tar.gz u-boot-imx-5078cce81c77d52ff38921b43f5ea73eebf40251.tar.bz2 |
* Cleanup TQM5200 board configurations:
- make highboot configurations use environment at high end, too,
to avoid flash fragmentation
- always use redundand environment
- don't enable video code for modules without graphics controller
- provide useful (though different) mtdparts settings
- get rid of CONFIG_CS_AUTOCONF which was always set anyway
* Extend mkconfig tool to print more useful target name
Diffstat (limited to 'mkconfig')
-rwxr-xr-x | mkconfig | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -9,19 +9,23 @@ # APPEND=no # Default: Create new config file +BOARD_NAME="" # Name to print in make output while [ $# -gt 0 ] ; do case "$1" in --) shift ; break ;; -a) shift ; APPEND=yes ;; + -n) shift ; BOARD_NAME="${1%%_config}" ; shift ;; *) break ;; esac done +[ "${BOARD_NAME}" ] || BOARD_NAME="$1" + [ $# -lt 4 ] && exit 1 [ $# -gt 6 ] && exit 1 -echo "Configuring for $1 board..." +echo "Configuring for ${BOARD_NAME} board..." cd ./include |