diff options
| author | Javier Tia <[email protected]> | 2025-09-05 14:53:46 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-09-16 13:45:00 -0600 |
| commit | 1b5a8ff3fdf607656097761174abe4b7473b89db (patch) | |
| tree | f93f0cfcac2e4cb00b4c3c50d92ae24e72d4f7ca /scripts | |
| parent | aa711ac815618bdc2c992c4b3869f6ef27b80202 (diff) | |
Lindent: Remove wrapper around indent tool
The Linux kernel has not maintained the same script since 2017-11-01,
and with clang-format included in U-Boot, it is not required anymore.
Signed-off-by: Javier Tia <[email protected]>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/Lindent | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/scripts/Lindent b/scripts/Lindent deleted file mode 100755 index 9c4b3e2b709..00000000000 --- a/scripts/Lindent +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -PARAM="-npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1" -RES=`indent --version` -V1=`echo $RES | cut -d' ' -f3 | cut -d'.' -f1` -V2=`echo $RES | cut -d' ' -f3 | cut -d'.' -f2` -V3=`echo $RES | cut -d' ' -f3 | cut -d'.' -f3` -if [ $V1 -gt 2 ]; then - PARAM="$PARAM -il0" -elif [ $V1 -eq 2 ]; then - if [ $V2 -gt 2 ]; then - PARAM="$PARAM -il0"; - elif [ $V2 -eq 2 ]; then - if [ $V3 -ge 10 ]; then - PARAM="$PARAM -il0" - fi - fi -fi -indent $PARAM "$@" |
