ostbuild: Check for the Makefile in the correct directory
This commit is contained in:
1 parent
a36c89d7cd
commit
aeeed8da13
1 file changed
+4
-1
@@ -161,7 +161,10 @@ class OstbuildCompileOne(builtins.Builtin):
|
||||
args.extend(self.configargs)
|
||||
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):
|
||||
fatal("No Makefile found")
|
||||
|
||||
|
||||
Reference in new issue
Block a user