diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2016-12-23 14:13:48 +0100 |
---|---|---|
committer | Leah Rowe <info@minifree.org> | 2017-01-15 14:24:40 +0000 |
commit | 3d08effb91acf985bae9c4eb4386937ce7ed92a9 (patch) | |
tree | 9d890b07e4abf2f885cf9c494a9103bf4b96d891 /resources/scripts/helpers/build/clean | |
parent | 0698cb38d1e26495c953f01daf9604551b6ed7d5 (diff) | |
download | librebootfr-3d08effb91acf985bae9c4eb4386937ce7ed92a9.tar.gz librebootfr-3d08effb91acf985bae9c4eb4386937ce7ed92a9.zip |
Current build system removal
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'resources/scripts/helpers/build/clean')
-rwxr-xr-x | resources/scripts/helpers/build/clean/bucts | 38 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/clean/coreboot | 48 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/clean/crossgcc | 28 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/clean/depthcharge | 38 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/clean/flashrom | 35 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/clean/grub | 35 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/clean/i945pwm | 34 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/clean/ich9deblob | 34 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/clean/memtest86plus | 33 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/clean/rom_images | 31 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/clean/seabios | 37 |
11 files changed, 0 insertions, 391 deletions
diff --git a/resources/scripts/helpers/build/clean/bucts b/resources/scripts/helpers/build/clean/bucts deleted file mode 100755 index f7f7edd5..00000000 --- a/resources/scripts/helpers/build/clean/bucts +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -# helper script: clean the dependencies that were built in bucts -# -# Copyright (C) 2014, 2015 Leah Rowe <info@minifree.org> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -# This script assumes that the current working directory is the root -# of libreboot_src or libreboot git - -[ "x${DEBUG+set}" = 'xset' ] && set -v -set -u -e - -# clean bucts -# -------------------------------------------------------- - -printf "Cleaning the previous build of bucts\n" - -cd "bucts/" -make clean - -printf "\n\n" - -# done. go back to main directory. -cd "../" diff --git a/resources/scripts/helpers/build/clean/coreboot b/resources/scripts/helpers/build/clean/coreboot deleted file mode 100755 index f72e2f1f..00000000 --- a/resources/scripts/helpers/build/clean/coreboot +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -# helper script: clean the dependencies that were built in coreboot -# -# Copyright (C) 2014, 2015, 2016 Leah Rowe <info@minifree.org> -# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -# This script assumes that the current working directory is the root - -[ "x${DEBUG+set}" = 'xset' ] && set -v -set -u -e - -# clean coreboot utilities (dependencies for 'build'): - -printf "Cleaning the previous build of coreboot and its utilities\n" - -# clean coreboot and crossgcc (source archives preserved) -for payload in coreboot/*; do - for board in "${payload}/"*; do - - # Clean coreboot, of course - make -C "${board}/" distclean - - # Clean its utilities as well - for util in {cbfs,ifd,nvram}tool cbmem; do - make -C "${board}/util/${util}/" clean - done - make -C "${board}/payloads/libpayload/" distclean - - rm -f "${board}/util/crossgcc" - done -done - -printf "\n\n" diff --git a/resources/scripts/helpers/build/clean/crossgcc b/resources/scripts/helpers/build/clean/crossgcc deleted file mode 100755 index 78a89349..00000000 --- a/resources/scripts/helpers/build/clean/crossgcc +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -# helper script: clean the dependencies that were built in coreboot -# -# Copyright (C) 2014, 2015, 2016 Leah Rowe <info@minifree.org> -# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -# This script assumes that the current working directory is the root - -[ "x${DEBUG+set}" = 'xset' ] && set -v -set -u -e - -make -C "crossgcc/" crossgcc-clean - diff --git a/resources/scripts/helpers/build/clean/depthcharge b/resources/scripts/helpers/build/clean/depthcharge deleted file mode 100755 index 9751d924..00000000 --- a/resources/scripts/helpers/build/clean/depthcharge +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -# helper script: clean the dependencies that were built in depthcharge -# -# Copyright (C) 2015 Paul Kocialkowski <contact@paulk.fr> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -# This script assumes that the current working directory is the root -# of libreboot_src or libreboot git - -[ "x${DEBUG+set}" = 'xset' ] && set -v -set -u -e - -# clean depthcharge -# -------------------------------------------------------- - -cd "depthcharge/" - -printf "Cleaning the previous build of depthcharge\n" -make distclean - -# done. go back to main directoy -cd "../" - -printf "\n\n" diff --git a/resources/scripts/helpers/build/clean/flashrom b/resources/scripts/helpers/build/clean/flashrom deleted file mode 100755 index 241917f0..00000000 --- a/resources/scripts/helpers/build/clean/flashrom +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -# helper script: clean the dependencies that were built in flashrom -# -# Copyright (C) 2014, 2015 Leah Rowe <info@minifree.org> -# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -# This script assumes that the current working directory is the root -# of git or release archive - -[ "x${DEBUG+set}" = 'xset' ] && set -v -set -u -e - -printf "Cleaning the previous build of flashrom\n" - -# clean flashrom -make -C flashrom clean -rm -f "flashrom/flashrom_lenovobios_sst" -rm -f "flashrom/flashrom_lenovobios_macronix" - -printf "\n\n" diff --git a/resources/scripts/helpers/build/clean/grub b/resources/scripts/helpers/build/clean/grub deleted file mode 100755 index 2b2f6a5d..00000000 --- a/resources/scripts/helpers/build/clean/grub +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -# helper script: clean the dependencies that were built in GRUB -# -# Copyright (C) 2014, 2015, 2016 Leah Rowe <info@minifree.org> -# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -# This script assumes that the current working directory is the root -# of git or release archive - -[ "x${DEBUG+set}" = 'xset' ] && set -v -set -u -e - -printf "Cleaning the previous build of GRUB\n" -# clean GURB -[ -d grub/Makefile ] && make -C grub distclean - -# Also clean SeaBIOS -./build clean seabios - -printf "\n\n" diff --git a/resources/scripts/helpers/build/clean/i945pwm b/resources/scripts/helpers/build/clean/i945pwm deleted file mode 100755 index 91bf6f78..00000000 --- a/resources/scripts/helpers/build/clean/i945pwm +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# helper script: clean the dependencies that were built in i945pwm -# -# Copyright (C) 2014, 2015 Leah Rowe <info@minifree.org> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -# This script assumes that the current working directory is the root -# of libreboot_src or libreboot git - -[ "x${DEBUG+set}" = 'xset' ] && set -v -set -u -e - -# clean i945-pwm utility -# -------------------------------------------------------------------- - -printf "Cleaning the previous build of i945-pwm\n" -cd "resources/utilities/i945-pwm/" -make clean -cd "../../../" -printf "\n\n" diff --git a/resources/scripts/helpers/build/clean/ich9deblob b/resources/scripts/helpers/build/clean/ich9deblob deleted file mode 100755 index d9019fc3..00000000 --- a/resources/scripts/helpers/build/clean/ich9deblob +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -# helper script: clean the dependencies that were built in ich9deblob -# -# Copyright (C) 2014, 2015 Leah Rowe <info@minifree.org> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -# This script assumes that the current working directory is the root -# of libreboot_src or libreboot git - -[ "x${DEBUG+set}" = 'xset' ] && set -v -set -u -e - -# clean ich9deblob utility -# -------------------------------------------------------------------- - -printf "Cleaning the previous build of ich9deblob\n" -cd "resources/utilities/ich9deblob/" -make clean -cd "../../../" -printf "\n\n" diff --git a/resources/scripts/helpers/build/clean/memtest86plus b/resources/scripts/helpers/build/clean/memtest86plus deleted file mode 100755 index db40be32..00000000 --- a/resources/scripts/helpers/build/clean/memtest86plus +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -# helper script: clean the dependencies that were built in memtest86+ -# -# Copyright (C) 2014, 2015 Leah Rowe <info@minifree.org> -# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -# This script assumes that the current working directory is the root -# of git or release archive - -[ "x${DEBUG+set}" = 'xset' ] && set -v -set -u -e - -printf "Cleaning the previous build of MemTest86+\n" - -# clean MemTest86+ -make -C memtest86plus clean - -printf "\n\n" diff --git a/resources/scripts/helpers/build/clean/rom_images b/resources/scripts/helpers/build/clean/rom_images deleted file mode 100755 index abf352d0..00000000 --- a/resources/scripts/helpers/build/clean/rom_images +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash - -# helper script: delete the ROM images -# -# Copyright (C) 2014, 2015 Leah Rowe <info@minifree.org> -# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -# This script assumes that the current working directory is the root -# of git or release archive - -[ "x${DEBUG+set}" = 'xset' ] && set -v -set -u -e - -# Delete the ROM images -rm -Rf "bin/" - -printf "Deleted the bin/ directory containing the ROM images.\n\n" diff --git a/resources/scripts/helpers/build/clean/seabios b/resources/scripts/helpers/build/clean/seabios deleted file mode 100755 index 09203ab8..00000000 --- a/resources/scripts/helpers/build/clean/seabios +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash - -# helper script: clean the dependencies that were built in seabios -# -# Copyright (C) 2015 Leah Rowe <info@minifree.org> -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. -# - -# This script assumes that the current working directory is the root -# of libreboot_src or libreboot git - -[ "x${DEBUG+set}" = 'xset' ] && set -v -set -u -e - -# clean bucts -# -------------------------------------------------------- - -printf "Cleaning the previous build of seabios\n" - -( -cd "seabios/" -rm -f "out/bios.bin.vga.elf" -make distclean -) - |