aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMike Holmes <mike.holmes@linaro.org>2015-04-07 13:27:03 -0400
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-04-14 12:46:36 +0300
commit644515ec4e9af0ae8d0593d7d0ca5c456c90e5ec (patch)
treeafc48e14783e90fafb369f380d225e19fe8ce6bf /scripts
parent436cf7dbe867ef620a56e55149d1e4b9bebaafec (diff)
scripts: odp_check: remove astyle
ODP has not adopted a style that can be universally applied with a tool such as astyle. Remove astyle leaving only the cleanup for whitespace and checkpatch elements for checking src files before a patch is created. Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/odp_check10
1 files changed, 1 insertions, 9 deletions
diff --git a/scripts/odp_check b/scripts/odp_check
index 09c859b..33809dc 100755
--- a/scripts/odp_check
+++ b/scripts/odp_check
@@ -1,8 +1,6 @@
#!/bin/bash
#
-# This script is an indenter, white space remover,
-# formatter, and beautifier and general source file
-# clean up for the ODP project.
+# This script is a clean up for the ODP project src files.
#
# Usage
# ./scripts/opd_check <path/filename>
@@ -10,11 +8,5 @@ set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-if ! type "astyle" >/dev/null >/dev/null; then
- echo "Please install astyle from http://astyle.sourceforge.net/"
- exit -1
-fi
-
-astyle --style=linux --indent=force-tab=8 --align-pointer=name $1
$DIR/cleanfile $1
$DIR/checkpatch.pl -f $1