ostbuild: Check for the Makefile in the correct directory
This commit is contained in:
parent
a36c89d7cd
commit
aeeed8da13
|
|
@ -161,7 +161,10 @@ class OstbuildCompileOne(builtins.Builtin):
|
||||||
args.extend(self.configargs)
|
args.extend(self.configargs)
|
||||||
run_sync(args, cwd=builddir)
|
run_sync(args, cwd=builddir)
|
||||||
|
|
||||||
makefile_path = os.path.join(builddir, 'Makefile')
|
if use_builddir:
|
||||||
|
makefile_path = os.path.join(builddir, 'Makefile')
|
||||||
|
else:
|
||||||
|
makefile_path = 'Makefile'
|
||||||
if not os.path.exists(makefile_path):
|
if not os.path.exists(makefile_path):
|
||||||
fatal("No Makefile found")
|
fatal("No Makefile found")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue