aboutsummaryrefslogtreecommitdiff
path: root/i18n/fr_FR/resources/scripts/helpers/build/clean
diff options
context:
space:
mode:
authorLibreboot Contributor <contributor@libreboot.org>2020-03-18 17:20:14 +0100
committerLibreboot Contributor <contributor@libreboot.org>2020-03-18 17:20:27 +0100
commit0f6ea1c9e0a25a9b7546f96f27cef8841f0d09b5 (patch)
treea28b9403123dd6204eb2dd8cb44eada12c169f4b /i18n/fr_FR/resources/scripts/helpers/build/clean
parent6e5bdd1271059a9c61c80b21001fd3d14ff25045 (diff)
downloadlibrebootfr-0f6ea1c9e0a25a9b7546f96f27cef8841f0d09b5.tar.gz
librebootfr-0f6ea1c9e0a25a9b7546f96f27cef8841f0d09b5.zip
Creation of i18n folder containing translations of the libreboot project. Added french one, not finished.
Diffstat (limited to 'i18n/fr_FR/resources/scripts/helpers/build/clean')
-rwxr-xr-xi18n/fr_FR/resources/scripts/helpers/build/clean/bucts38
-rwxr-xr-xi18n/fr_FR/resources/scripts/helpers/build/clean/coreboot48
-rwxr-xr-xi18n/fr_FR/resources/scripts/helpers/build/clean/crossgcc28
-rwxr-xr-xi18n/fr_FR/resources/scripts/helpers/build/clean/flashrom35
-rwxr-xr-xi18n/fr_FR/resources/scripts/helpers/build/clean/grub35
-rwxr-xr-xi18n/fr_FR/resources/scripts/helpers/build/clean/i945pwm34
-rwxr-xr-xi18n/fr_FR/resources/scripts/helpers/build/clean/ich9deblob34
-rwxr-xr-xi18n/fr_FR/resources/scripts/helpers/build/clean/memtest86plus33
-rwxr-xr-xi18n/fr_FR/resources/scripts/helpers/build/clean/rom_images31
-rwxr-xr-xi18n/fr_FR/resources/scripts/helpers/build/clean/seabios37
10 files changed, 353 insertions, 0 deletions
diff --git a/i18n/fr_FR/resources/scripts/helpers/build/clean/bucts b/i18n/fr_FR/resources/scripts/helpers/build/clean/bucts
new file mode 100755
index 00000000..202b3bad
--- /dev/null
+++ b/i18n/fr_FR/resources/scripts/helpers/build/clean/bucts
@@ -0,0 +1,38 @@
+#!/usr/bin/env 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/i18n/fr_FR/resources/scripts/helpers/build/clean/coreboot b/i18n/fr_FR/resources/scripts/helpers/build/clean/coreboot
new file mode 100755
index 00000000..b9580f4a
--- /dev/null
+++ b/i18n/fr_FR/resources/scripts/helpers/build/clean/coreboot
@@ -0,0 +1,48 @@
+#!/usr/bin/env 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/i18n/fr_FR/resources/scripts/helpers/build/clean/crossgcc b/i18n/fr_FR/resources/scripts/helpers/build/clean/crossgcc
new file mode 100755
index 00000000..5e572a04
--- /dev/null
+++ b/i18n/fr_FR/resources/scripts/helpers/build/clean/crossgcc
@@ -0,0 +1,28 @@
+#!/usr/bin/env 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/i18n/fr_FR/resources/scripts/helpers/build/clean/flashrom b/i18n/fr_FR/resources/scripts/helpers/build/clean/flashrom
new file mode 100755
index 00000000..a8f1fa34
--- /dev/null
+++ b/i18n/fr_FR/resources/scripts/helpers/build/clean/flashrom
@@ -0,0 +1,35 @@
+#!/usr/bin/env 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/i18n/fr_FR/resources/scripts/helpers/build/clean/grub b/i18n/fr_FR/resources/scripts/helpers/build/clean/grub
new file mode 100755
index 00000000..a3d21d46
--- /dev/null
+++ b/i18n/fr_FR/resources/scripts/helpers/build/clean/grub
@@ -0,0 +1,35 @@
+#!/usr/bin/env 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
+./oldbuild clean seabios
+
+printf "\n\n"
diff --git a/i18n/fr_FR/resources/scripts/helpers/build/clean/i945pwm b/i18n/fr_FR/resources/scripts/helpers/build/clean/i945pwm
new file mode 100755
index 00000000..b746d279
--- /dev/null
+++ b/i18n/fr_FR/resources/scripts/helpers/build/clean/i945pwm
@@ -0,0 +1,34 @@
+#!/usr/bin/env 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/i18n/fr_FR/resources/scripts/helpers/build/clean/ich9deblob b/i18n/fr_FR/resources/scripts/helpers/build/clean/ich9deblob
new file mode 100755
index 00000000..6d3687ac
--- /dev/null
+++ b/i18n/fr_FR/resources/scripts/helpers/build/clean/ich9deblob
@@ -0,0 +1,34 @@
+#!/usr/bin/env 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/i18n/fr_FR/resources/scripts/helpers/build/clean/memtest86plus b/i18n/fr_FR/resources/scripts/helpers/build/clean/memtest86plus
new file mode 100755
index 00000000..271a46ea
--- /dev/null
+++ b/i18n/fr_FR/resources/scripts/helpers/build/clean/memtest86plus
@@ -0,0 +1,33 @@
+#!/usr/bin/env 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/i18n/fr_FR/resources/scripts/helpers/build/clean/rom_images b/i18n/fr_FR/resources/scripts/helpers/build/clean/rom_images
new file mode 100755
index 00000000..cac69226
--- /dev/null
+++ b/i18n/fr_FR/resources/scripts/helpers/build/clean/rom_images
@@ -0,0 +1,31 @@
+#!/usr/bin/env 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/i18n/fr_FR/resources/scripts/helpers/build/clean/seabios b/i18n/fr_FR/resources/scripts/helpers/build/clean/seabios
new file mode 100755
index 00000000..168c7874
--- /dev/null
+++ b/i18n/fr_FR/resources/scripts/helpers/build/clean/seabios
@@ -0,0 +1,37 @@
+#!/usr/bin/env 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
+)
+