aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/clean
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2015-10-11 17:48:46 +0200
committerFrancis Rowe <info@gluglug.org.uk>2015-10-11 20:16:26 +0100
commitd8b597f33e75d04b84be7c9d7081a3b97821617d (patch)
tree8ad2d64ba4dff4cb6cfc1d9f7ecdc2c9cda8d19c /resources/scripts/helpers/build/clean
parentd6b6b1ea62f555f38152ab475d98c57f739f8b8d (diff)
downloadlibrebootfr-d8b597f33e75d04b84be7c9d7081a3b97821617d.tar.gz
librebootfr-d8b597f33e75d04b84be7c9d7081a3b97821617d.zip
Chromebook C201 (codename veyron_speedy) support
This introduces Libreboot support for the Asus Chromebook C201 (codename veyron_speedy). At this point, this produces a standalone Libreboot image that can be flashed to the RO Coreboot partition of the SPI flash, as well as the Libreboot version that can be flash to the RO Firmware ID partition. Libreboot on the Chromebook C201 uses the depthcharge bootloader, modified to display text messages instead of ChromeOS bitmaps (that encourage the use of ChromeOS). For convenience, an installation script, chromebook-flash-replace, is provided along with a description of the flash layout, to ease the replacement of the Coreboot and RO Firmware ID partitions on the full SPI flash image. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'resources/scripts/helpers/build/clean')
-rwxr-xr-xresources/scripts/helpers/build/clean/depthcharge38
1 files changed, 38 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/clean/depthcharge b/resources/scripts/helpers/build/clean/depthcharge
new file mode 100755
index 00000000..9751d924
--- /dev/null
+++ b/resources/scripts/helpers/build/clean/depthcharge
@@ -0,0 +1,38 @@
+#!/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"