summaryrefslogtreecommitdiff
path: root/scripts/get_linux_config.sh
blob: c9f39cd87789df1cbbcb173c885b1a61d8255a4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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