2 #############################################################################
5 # update-configs -- update all new-wave vendor configs
7 # (C) Copyright 2003, Greg Ungerer <gerg@snapgear.com>
9 # 2005/08/11 - Added ability to specify a specific VENDOR, BOARD, and KERNEL
10 # -- Zachary P. Landau <kapheine@divineinvasion.net>
13 #############################################################################
16 # Figure out the vendor/products dynamically, allows people to add their
17 # own without messing with the config.in file.
19 # Usage: $0 [VENDOR] [BOARD] [KERNEL]
24 VENDORLIST=`find vendors/*/*/config.arch -print | sed -e 's?/? ?g' | sort |
32 for VENDOR in $VENDORLIST
37 BOARDLIST=`find vendors/${VENDOR}/*/config.arch -print |
38 sed -e 's?/? ?g' | sort |
45 for BOARD in $BOARDLIST
51 KERNELLIST="linux-2.0.x linux-2.4.x linux-2.6.x"
54 for KERNEL in $KERNELLIST
56 rm -f .config .config.old .oldconfig
57 rm -f ${KERNEL}/.config ${KERNEL}/.config.old
58 rm -f config/.config config/.config.old
59 rm -f uClibc/.config uClibc/.config.old
62 if [ -f vendors/${VENDOR}/${BOARD}/config.uClibc ]
69 if [ -f vendors/${VENDOR}/${BOARD}/config.${KERNEL} ]
85 while : ; do echo ; done