Add some robustness to linux configuration

This commit is contained in:
Ulf Samuelsson
2008-03-29 14:09:22 +00:00
parent 26447bda44
commit acdf16967d
3 changed files with 104 additions and 64 deletions

14
scripts/get_linux_config.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
# parameter #1 BOARD_PATH
# parameter #2 LINUX26_DIR
TOPDIR=`pwd`
BOARD_PATH=$1
LINUX26_DIR=$2
cd ${TOPDIR}/${BOARD_PATH}
for i in `ls *linux*.config` ; do
echo Copying $i ...
cp $i ${LINUX26_DIR}/.config
done