mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
handle/make/file: check for all default makefiles
Previously, this script only checked for "Makefile", but "makefile" is another valid name; additionally, if GNU Make is used, "GNUmakefile" is an accepted default. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -44,7 +44,8 @@ handle_dependencies()
|
||||
|
||||
run_make_command()
|
||||
{
|
||||
[ -f "${project}/Makefile" ] || return 0
|
||||
[ -f "${project}/Makefile" ] || [ -f "${project}/makefile" ] || \
|
||||
[ -f "${project}/GNUmakefile" ] || return 0
|
||||
if [ -z "${mode}" ]; then
|
||||
x_ make -C "${project}" -j$(nproc)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user