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:08:45 +0100 |
commit | 204d19b02265e5b2241888e4c92c0a730f3d3472 (patch) | |
tree | ca9e5b6b1ac10ac12612106adc56cb0cc77ad3a8 | |
parent | 70d782eee573fe46ec512bf59ac6f41e53a99b1b (diff) | |
download | openembedded-core-204d19b02265e5b2241888e4c92c0a730f3d3472.tar.gz openembedded-core-204d19b02265e5b2241888e4c92c0a730f3d3472.tar.bz2 openembedded-core-204d19b02265e5b2241888e4c92c0a730f3d3472.zip |
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.
Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-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): if 'buildsystem' in handled: return False - makefile = RecipeHandler.checkfiles(srctree, ['Makefile']) + makefile = RecipeHandler.checkfiles(srctree, ['Makefile', 'makefile', 'GNUmakefile']) if makefile: lines_after.append('# NOTE: this is a Makefile-only piece of software, so we cannot generate much of the') lines_after.append('# recipe automatically - you will need to examine the Makefile yourself and ensure') |