aboutsummaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorAndrew Robbins <contact@andrewrobbins.info>2019-02-21 22:20:20 -0500
committerAndrew Robbins <contact@andrewrobbins.info>2019-02-21 22:20:20 -0500
commitf68a397ef3cb48cc3a6aec5c656a1f25cac4868d (patch)
tree3339052782eea5b52ae5ed5d7ae1b015440a9679 /projects
parent742e56b7a71d8977c0f20770fde3a42fb1a88e44 (diff)
downloadlibrebootfr-f68a397ef3cb48cc3a6aec5c656a1f25cac4868d.tar.gz
librebootfr-f68a397ef3cb48cc3a6aec5c656a1f25cac4868d.zip
Add usage() action to projects lacking it
Diffstat (limited to 'projects')
-rwxr-xr-xprojects/cbfstool/cbfstool4
-rwxr-xr-xprojects/cbmem/cbmem4
-rwxr-xr-xprojects/cros-scripts/cros-scripts4
-rwxr-xr-xprojects/cros-tools/cros-tools4
-rwxr-xr-xprojects/flashmap/flashmap4
-rwxr-xr-xprojects/flashrom-cros/flashrom-cros4
-rwxr-xr-xprojects/hdctools/hdctools4
-rwxr-xr-xprojects/libreboot-all/libreboot-all4
-rwxr-xr-xprojects/libreboot-images/libreboot-images4
-rwxr-xr-xprojects/libreboot-release/libreboot-release4
-rwxr-xr-xprojects/libreboot-sources/libreboot-sources4
-rwxr-xr-xprojects/libreboot-tools/libreboot-tools4
-rwxr-xr-xprojects/mosys/mosys4
-rwxr-xr-xprojects/nvramtool/nvramtool4
-rwxr-xr-xprojects/vpd/vpd4
15 files changed, 60 insertions, 0 deletions
diff --git a/projects/cbfstool/cbfstool b/projects/cbfstool/cbfstool
index c665bdca..f50accfd 100755
--- a/projects/cbfstool/cbfstool
+++ b/projects/cbfstool/cbfstool
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
download() {
local repository="coreboot"
diff --git a/projects/cbmem/cbmem b/projects/cbmem/cbmem
index 3e240529..cead0de5 100755
--- a/projects/cbmem/cbmem
+++ b/projects/cbmem/cbmem
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
download() {
local repository="coreboot"
diff --git a/projects/cros-scripts/cros-scripts b/projects/cros-scripts/cros-scripts
index 0db79f96..1171e459 100755
--- a/projects/cros-scripts/cros-scripts
+++ b/projects/cros-scripts/cros-scripts
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
install() {
project_install "$project"
}
diff --git a/projects/cros-tools/cros-tools b/projects/cros-tools/cros-tools
index 41d4c8f3..dfb0a3a6 100755
--- a/projects/cros-tools/cros-tools
+++ b/projects/cros-tools/cros-tools
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
download() {
project_action_projects "$action" "$project" "$@"
}
diff --git a/projects/flashmap/flashmap b/projects/flashmap/flashmap
index cc1cb81b..5a10ec17 100755
--- a/projects/flashmap/flashmap
+++ b/projects/flashmap/flashmap
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
download() {
local repository=$project
diff --git a/projects/flashrom-cros/flashrom-cros b/projects/flashrom-cros/flashrom-cros
index a1259c2c..75b8f471 100755
--- a/projects/flashrom-cros/flashrom-cros
+++ b/projects/flashrom-cros/flashrom-cros
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
download() {
local repository=$project
diff --git a/projects/hdctools/hdctools b/projects/hdctools/hdctools
index e30b1f7a..e2274cbe 100755
--- a/projects/hdctools/hdctools
+++ b/projects/hdctools/hdctools
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
download() {
local repository=$project
diff --git a/projects/libreboot-all/libreboot-all b/projects/libreboot-all/libreboot-all
index 41d4c8f3..dfb0a3a6 100755
--- a/projects/libreboot-all/libreboot-all
+++ b/projects/libreboot-all/libreboot-all
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
download() {
project_action_projects "$action" "$project" "$@"
}
diff --git a/projects/libreboot-images/libreboot-images b/projects/libreboot-images/libreboot-images
index 41d4c8f3..dfb0a3a6 100755
--- a/projects/libreboot-images/libreboot-images
+++ b/projects/libreboot-images/libreboot-images
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
download() {
project_action_projects "$action" "$project" "$@"
}
diff --git a/projects/libreboot-release/libreboot-release b/projects/libreboot-release/libreboot-release
index ed9604e1..2051ad14 100755
--- a/projects/libreboot-release/libreboot-release
+++ b/projects/libreboot-release/libreboot-release
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
install() {
local install_path=$(project_install_path "$project" "$@")
diff --git a/projects/libreboot-sources/libreboot-sources b/projects/libreboot-sources/libreboot-sources
index bbf42315..7dbf4b97 100755
--- a/projects/libreboot-sources/libreboot-sources
+++ b/projects/libreboot-sources/libreboot-sources
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
update() {
local repository_path=$root
diff --git a/projects/libreboot-tools/libreboot-tools b/projects/libreboot-tools/libreboot-tools
index 41d4c8f3..dfb0a3a6 100755
--- a/projects/libreboot-tools/libreboot-tools
+++ b/projects/libreboot-tools/libreboot-tools
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
download() {
project_action_projects "$action" "$project" "$@"
}
diff --git a/projects/mosys/mosys b/projects/mosys/mosys
index fd122fd1..fecf9267 100755
--- a/projects/mosys/mosys
+++ b/projects/mosys/mosys
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
dependencies() {
project_dependencies "$project" "$@"
}
diff --git a/projects/nvramtool/nvramtool b/projects/nvramtool/nvramtool
index 96813239..ea549788 100755
--- a/projects/nvramtool/nvramtool
+++ b/projects/nvramtool/nvramtool
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
download() {
local repository="coreboot"
diff --git a/projects/vpd/vpd b/projects/vpd/vpd
index 1105e588..84b3cdb6 100755
--- a/projects/vpd/vpd
+++ b/projects/vpd/vpd
@@ -15,6 +15,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+usage() {
+ project_usage_actions "$project"
+}
+
download() {
local repository=$project