diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2008-03-29 14:09:22 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2008-03-29 14:09:22 +0000 |
commit | acdf16967d44b7a380ff9985f4f65974bbb56c07 (patch) | |
tree | 789bd03680f03a07ce00979d854b76c9f2507010 /scripts/get_linux_config.sh | |
parent | 26447bda444c6fab48425552d32596e0534577a2 (diff) | |
download | buildroot-novena-acdf16967d44b7a380ff9985f4f65974bbb56c07.tar.gz buildroot-novena-acdf16967d44b7a380ff9985f4f65974bbb56c07.zip |
Add some robustness to linux configuration
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 |