mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-16 10:50:43 +03:00
ostbuild: Actually do check for Makefile
Just kidding, we need the makefile path to check for .NOTPARALLEL
This commit is contained in:
parent
4af64c7635
commit
970682a779
@ -152,6 +152,14 @@ class OstbuildCompileOne(builtins.Builtin):
|
||||
args.extend(self.configargs)
|
||||
run_sync(args, cwd=builddir)
|
||||
|
||||
makefile_path = None
|
||||
for name in ['Makefile', 'makefile', 'GNUmakefile']:
|
||||
makefile_path = os.path.join(builddir, name)
|
||||
if os.path.exists(makefile_path):
|
||||
break
|
||||
if makefile_path is None:
|
||||
fatal("No Makefile found")
|
||||
|
||||
args = list(self.makeargs)
|
||||
user_specified_jobs = False
|
||||
for arg in args:
|
||||
|
Loading…
x
Reference in New Issue
Block a user