aboutsummaryrefslogtreecommitdiff
path: root/scripts/get_linux_config.sh
blob: 1ea8b25503f4ee73db03a154aad266e2484c4239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# parameter #1	BOARD_PATH
# parameter #2  LINUX26_DIR

TOPDIR=`pwd`
BOARD_PATH=$1
LINUX26_DIR=$2

cd ${TOPDIR}/${BOARD_PATH}
mkdir -p ${LINUX26_DIR}
for i in `ls *linux*.config` ; do
	echo Copying $i ...
	cp $i ${LINUX26_DIR}/.config
done