summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>2022-12-06 19:44:58 +0300
committerAlper Nebi Yasak <alpernebiyasak@gmail.com>2022-12-09 16:50:29 +0300
commit71cf7f9db16310935481ea772b2bf1eb26376f3b (patch)
tree97dd367a691bc492abed1a9cc3fc2d5a659ca90e /resources
parent960af2d6e8d882d958d25333e7cab864877e37b5 (diff)
download/u-boot: Remove support for deleting git folders
Removing the git dirs was part of deblobbing, which Libreboot no longer cares about. The variable that triggers it is no more. Remove the dead code. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Diffstat (limited to 'resources')
-rwxr-xr-xresources/scripts/download/u-boot9
1 files changed, 0 insertions, 9 deletions
diff --git a/resources/scripts/download/u-boot b/resources/scripts/download/u-boot
index 5b6a160e..692f34bf 100755
--- a/resources/scripts/download/u-boot
+++ b/resources/scripts/download/u-boot
@@ -235,11 +235,6 @@ if [ $# -eq 0 ] ; then
for board in $(list_supported_boards); do
download_uboot_board "${board}"
done
-
- if [ "${deletegit}" = "true" ]; then
- rm -rf u-boot/u-boot/ u-boot/.git*
- fi
-
exit 0
elif [ $# -eq 1 -a "$1" == "--help" ] ; then
usage
@@ -255,10 +250,6 @@ elif [ $# -eq 1 ] ; then
fi
done
- if [ "${deletegit}" = "true" ]; then
- rm -rf u-boot/u-boot/ u-boot/.git*
- fi
-
printf "Error: Board '${1}' is not supported\n"
exit 1