diff --git a/boundary_savedefconfig.sh b/boundary_savedefconfig.sh index f8f0fc7b6f2de7e12bcb6564ae43d22469c59578..9059e72f627e798da7cd0d6dffacd5756e644e85 100755 --- a/boundary_savedefconfig.sh +++ b/boundary_savedefconfig.sh @@ -1,9 +1,13 @@ #!/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; -boards=`ls -d board/boundary/* | sed 's.board/boundary/..'`; +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}";