summaryrefslogtreecommitdiff
path: root/mkconfig
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-07-21 11:16:34 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-07-21 11:16:34 +0200
commit5078cce81c77d52ff38921b43f5ea73eebf40251 (patch)
treef930e06dd7a8bfe210bab9b86f329dfa3d07fef3 /mkconfig
parent978b10964c1a4b3bf97fa5198ba62b36bd173cbe (diff)
downloadu-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-xmkconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/mkconfig b/mkconfig
index 54775d3..4fe6e44 100755
--- a/mkconfig
+++ b/mkconfig
@@ -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