diff options
Diffstat (limited to 'scripts/get_linux_config.sh')
-rwxr-xr-x | scripts/get_linux_config.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/get_linux_config.sh b/scripts/get_linux_config.sh new file mode 100755 index 000000000..c9f39cd87 --- /dev/null +++ b/scripts/get_linux_config.sh @@ -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 |