summaryrefslogtreecommitdiff
path: root/scripts/do_checkpatch.sh
diff options
context:
space:
mode:
authorPeter Mitsis <peter.mitsis@windriver.com>2015-05-28 13:21:11 -0400
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:14:13 -0500
commitb5c2342a4e48e8c75fdbb219bcc24c47ac1cc0cc (patch)
treea342556d73d51812bfff133772e123f7ad0732e0 /scripts/do_checkpatch.sh
parentd1ebe66b8471522d88c7e81a06bc113adc26c5c0 (diff)
Update checkpatch scripts to use TIMO_BASE
The use of VXMICRO_BASE has been supplanted by TIMO_BASE. Change-Id: I905232a8d87145afb2f8df30b5f9056ec72ce045 Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
Diffstat (limited to 'scripts/do_checkpatch.sh')
-rwxr-xr-xscripts/do_checkpatch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/do_checkpatch.sh b/scripts/do_checkpatch.sh
index 052913473..ea448a484 100755
--- a/scripts/do_checkpatch.sh
+++ b/scripts/do_checkpatch.sh
@@ -37,7 +37,7 @@
dirs_to_check="arch drivers include kernel lib"
files=$(for d in ${dirs_to_check}; do find $d/ -type f -name '*.[ch]'; done)
for i in $files; do
- ${VXMICRO_BASE}/scripts/checkpatch.pl --mailback --no-tree -f --emacs --summary-file --show-types --ignore BRACES,PRINTK_WITHOUT_KERN_LEVEL,SPLIT_STRING --max-line-length=100 $i >> $1
+ ${TIMO_BASE}/scripts/checkpatch.pl --mailback --no-tree -f --emacs --summary-file --show-types --ignore BRACES,PRINTK_WITHOUT_KERN_LEVEL,SPLIT_STRING --max-line-length=100 $i >> $1
done
grep ERROR: $1 |cut -d : -f 3,4 |sort -u > $1_error.types
grep WARNING: $1 |cut -d : -f 3,4 |sort -u > $1_warning.types