mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
recipetool: create: fix do_install handling for makefile-only software
In my testing here it appears make -qn returns an error (exit code 2) whereas make -n doesn't; I can't immediately tell why based on the documentation. We don't actually care for it to be quiet since we're capturing the output, so let's just leave -q off and have this work properly as a result. (From OE-Core rev: 30c4cd9efdac400d713dff645f23f2627277d75a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
c2f17428b8
commit
ae2141b84f
|
@ -279,7 +279,7 @@ class MakefileRecipeHandler(RecipeHandler):
|
|||
|
||||
installtarget = True
|
||||
try:
|
||||
stdout, stderr = bb.process.run('make -qn install', cwd=srctree, shell=True)
|
||||
stdout, stderr = bb.process.run('make -n install', cwd=srctree, shell=True)
|
||||
except bb.process.ExecutionError as e:
|
||||
if e.exitcode != 1:
|
||||
installtarget = False
|
||||
|
|
Loading…
Reference in New Issue
Block a user