summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-02 22:37:09 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-02 22:37:09 +0100
commit3af63fb8b70e9c939c0a8e8e27bfa23e900506f1 (patch)
tree78244c42c29d4520ef3fe605f3d5eccd4074dbbc
parentad74b4c2819a445831d48ba21529e93c12419c32 (diff)
handle/make/file: exit 0 if no makefile
There is no reason to err if no Makefile exists. Just exit with zero status. This makes the following command work: ./handle make file -c util/* Within util/, there is me7 update parser which does not have a makefile (it's a python script). Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xscript/handle/make/file1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/handle/make/file b/script/handle/make/file
index e09bd887..698f4175 100755
--- a/script/handle/make/file
+++ b/script/handle/make/file
@@ -44,6 +44,7 @@ handle_dependencies()
run_make_command()
{
+ [ -f "${project}/Makefile" ] || return 0
if [ -z "${mode}" ]; then
x_ make -C "${project}" -j$(nproc)
else