diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-12-22 17:02:57 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-15 15:51:40 +0000 |
commit | caca77eb1795a7bbc37008861f3e80714fcc1d0e (patch) | |
tree | 410c2278716e9cea34fdad19133288eeeea782a1 /scripts/lib | |
parent | 383159ef649810d48f5fb78f4e32fef43d9bd6ea (diff) | |
download | poky-caca77eb1795a7bbc37008861f3e80714fcc1d0e.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 master rev: 30c4cd9efdac400d713dff645f23f2627277d75a)
(From OE-Core rev: d76191cef76c6c4416a5e635a9424192e16c1090)
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.py | 2 |
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 |