kumquat-buildroot/scripts/get_linux_config.sh
2008-04-06 10:01:29 +00:00

16 lines
252 B
Bash
Executable File

#!/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