diff options
author | Nathan Lynch <nathan_lynch@mentor.com> | 2016-06-23 11:53:28 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-01 16:22:43 +0100 |
commit | 98121ad2a5fdf65a65b1e3aed07945b7eda0720e (patch) | |
tree | 1bf8d42821820820b060669b7d558f79c13d95ac /scripts/lib/recipetool/create_buildsys.py | |
parent | 77b572800e8e0f16edd57203054076efc6fed479 (diff) | |
download | poky-98121ad2a5fdf65a65b1e3aed07945b7eda0720e.tar.gz |
recipetool: recognize less common makefile names
GNU make looks for "makefile" and "GNUmakefile" in addition to
"Makefile", so add these other names to the heuristic for detecting a
make-based project.
(From OE-Core rev: 204d19b02265e5b2241888e4c92c0a730f3d3472)
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys.py')
-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 78ae4bcdec..e08ad277d7 100644 --- a/scripts/lib/recipetool/create_buildsys.py +++ b/scripts/lib/recipetool/create_buildsys.py | |||
@@ -737,7 +737,7 @@ class MakefileRecipeHandler(RecipeHandler): | |||
737 | if 'buildsystem' in handled: | 737 | if 'buildsystem' in handled: |
738 | return False | 738 | return False |
739 | 739 | ||
740 | makefile = RecipeHandler.checkfiles(srctree, ['Makefile']) | 740 | makefile = RecipeHandler.checkfiles(srctree, ['Makefile', 'makefile', 'GNUmakefile']) |
741 | if makefile: | 741 | if makefile: |
742 | lines_after.append('# NOTE: this is a Makefile-only piece of software, so we cannot generate much of the') | 742 | lines_after.append('# NOTE: this is a Makefile-only piece of software, so we cannot generate much of the') |
743 | lines_after.append('# recipe automatically - you will need to examine the Makefile yourself and ensure') | 743 | lines_after.append('# recipe automatically - you will need to examine the Makefile yourself and ensure') |