diff options
| author | Tom Rini <[email protected]> | 2025-09-16 13:45:08 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-09-16 13:45:08 -0600 |
| commit | ab11aca3a157f806857e4d59e8267836b11c51ad (patch) | |
| tree | 63e5b8f98d484a62540186043fc0dfca3e8248c0 /scripts | |
| parent | 84b4ad629f4f7664e70e5285821efdcb97100f02 (diff) | |
| parent | a9d997685a400e1a08d60056177aefcd159bc2af (diff) | |
Merge patch series "Modernize U-Boot code formatting with clang-format"
Javier Tia <[email protected]> says:
This patch series modernizes U-Boot's code formatting infrastructure by
with current Linux kernel practices and providing a more robust and
comprehensive formatting solution.
Link: https://lore.kernel.org/r/[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 "$@" |
