From: Javier Tia Date: Fri, 5 Sep 2025 20:53:46 +0000 (-0600) Subject: Lindent: Remove wrapper around indent tool X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b5a8ff3fdf607656097761174abe4b7473b89db;p=thirdparty%2Fu-boot.git 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 --- 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 "$@"