summaryrefslogtreecommitdiff
path: root/resources/scripts/build/release/deblob
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/build/release/deblob')
-rwxr-xr-xresources/scripts/build/release/deblob21
1 files changed, 0 insertions, 21 deletions
diff --git a/resources/scripts/build/release/deblob b/resources/scripts/build/release/deblob
deleted file mode 100755
index dcac1020..00000000
--- a/resources/scripts/build/release/deblob
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/env bash
-
-# SPDX-FileCopyrightText: 2022 Caleb La Grange <thonkpeasant@protonmail.com>
-# SPDX-License-Identifier: GPL-3.0-only
-
-board="${1}"
-board_config_dir="resources/coreboot/${board}/config"
-set -- "${board_config_dir}/*"
-. ${1} 2>/dev/null
-
-if [ "${CONFIG_HAVE_MRC}" = "y" ] || [ "${CONFIG_HAVE_ME_BIN}" = "y" ]; then
- rm ${board_config_dir}/*_deblobbed
- for config in ${board_config_dir}/* ; do
- grep -v 'CONFIG_HAVE_ME_BIN\|CONFIG_ME_BIN_PATH\|CONFIG_HAVE_MRC\|CONFIG_MRC_FILE' ${config} > "${config}_deblobbed"
- done
- ./blobutil download ${board} redistributable
-
-else
- # Quickly exits for boards requiring no blobs
- exit 2
-fi