summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-12-22 17:02:57 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-28 09:25:12 +0000
commitae2141b84f46a2bc50e6feb381c0a72fc3eb9d6f (patch)
treece15bf3ab497a24bccc7b0a0840a1781ade53c62 /scripts/lib
parentc2f17428b8991efe3ccec9ef0ab4badfdf718dd8 (diff)
downloadpoky-ae2141b84f46a2bc50e6feb381c0a72fc3eb9d6f.tar.gz
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>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/recipetool/create_buildsys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create_buildsys.py b/scripts/lib/recipetool/create_buildsys.py
index ed14a53304..931ef3b33f 100644
--- a/scripts/lib/recipetool/create_buildsys.py
+++ b/scripts/lib/recipetool/create_buildsys.py
@@ -279,7 +279,7 @@ class MakefileRecipeHandler(RecipeHandler):
279 279
280 installtarget = True 280 installtarget = True
281 try: 281 try:
282 stdout, stderr = bb.process.run('make -qn install', cwd=srctree, shell=True) 282 stdout, stderr = bb.process.run('make -n install', cwd=srctree, shell=True)
283 except bb.process.ExecutionError as e: 283 except bb.process.ExecutionError as e:
284 if e.exitcode != 1: 284 if e.exitcode != 1:
285 installtarget = False 285 installtarget = False