summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-05 23:50:31 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-06 01:16:39 +0100
commit176722a841e59f4a6664bad45dc9344364a4a166 (patch)
tree33317d5e0966c4b5ffe1b2f0392233a4ccc52da4 /include
parent9d419e77a0621ddf8398edecb40ddedc3388dc42 (diff)
unify handle/make/* into build/project/trees
Just one script. Just one. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rw-r--r--include/make.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/make.sh b/include/make.sh
deleted file mode 100644
index 697c40d2..00000000
--- a/include/make.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-# SPDX-License-Identifier: GPL-3.0-or-later
-# SPDX-FileCopyrightText: 2023 Leah Rowe <leah@libreboot.org>
-
-main()
-{
- while getopts b:m:u:c:x: option
- do
- _flag="${1}"
- case "${1}" in
- -b) mode="all" ;;
- -u) mode="oldconfig" ;;
- -m) mode="menuconfig" ;;
- -c) mode="distclean" ;;
- -x) mode="crossgcc-clean" ;;
- *) fail "Invalid option" ;;
- esac
- shift; project="${OPTARG}"; shift
- done
- [ -z "${mode}" ] && fail "mode not given (-m, -u, -b, -c or -x)"
- [ -z "${project}" ] && fail "project name not specified"
-
- handle_dependencies $@
- handle_targets
-}
-
-fail()
-{
- [ -z "${codedir}" ] || ./handle make file -c "${codedir}" || :
- err "${1}"
-}