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)
|
args.extend(self.configargs)
|
||||||
run_sync(args, cwd=builddir)
|
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)
|
args = list(self.makeargs)
|
||||||
user_specified_jobs = False
|
user_specified_jobs = False
|
||||||
for arg in args:
|
for arg in args:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue