Skip to content
Snippets Groups Projects
Commit 22c2d4a4 authored by Troy Kisky's avatar Troy Kisky
Browse files

boundary_savedefconfig.sh: add optional board parameter

parent 27c09e39
Branches
Tags
No related merge requests found
#!/bin/bash
# syntax ./boundary_savedefconfig "commit message"
# syntax ./boundary_savedefconfig "commit message" [boards]
#Separate files by board and commit changes after "savedefconfig"
commit_msg=$1;
if [ -z $2 ] ; then
boards=`ls -d board/boundary/* | sed 's.board/boundary/..'`;
else
boards=$2;
fi
numboards=0;
numsuccess=0;
......@@ -34,6 +38,7 @@ for board in ${boards} ; do
git update-index include/configs/${hfile}.h
git update-index board/boundary/${board}/*.c
git update-index board/boundary/${board}/*
git update-index arch/arm/mach-imx/mx6/Kconfig
echo "${board}: ${update_cnt} defconfigs updated";
numsuccess=`expr $numsuccess + 1`;
git c -m"${board}: ${commit_msg}";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment