summaryrefslogtreecommitdiff
path: root/scripts/get_linux_config.sh
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-03-29 14:09:22 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-03-29 14:09:22 +0000
commitacdf16967d44b7a380ff9985f4f65974bbb56c07 (patch)
tree789bd03680f03a07ce00979d854b76c9f2507010 /scripts/get_linux_config.sh
parent26447bda444c6fab48425552d32596e0534577a2 (diff)
Add some robustness to linux configuration
Diffstat (limited to 'scripts/get_linux_config.sh')
-rwxr-xr-xscripts/get_linux_config.sh14
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