base.bbclass: add GNUmakefile to the list of possible makefile names
authorRoss Burton <ross.burton@intel.com>
Fri, 13 Jul 2012 11:01:27 +0000 (12:01 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Jul 2012 09:53:57 +0000 (10:53 +0100)
(From OE-Core rev: b753eab1028ba48dfdcdeefa07f3f30743f3ee45)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass

index 08065c6..f691799 100644 (file)
@@ -280,7 +280,7 @@ base_do_configure() {
 addtask compile after do_configure
 do_compile[dirs] = "${S} ${B}"
 base_do_compile() {
-       if [ -e Makefile -o -e makefile ]; then
+       if [ -e Makefile -o -e makefile -o -e GNUmakefile ]; then
                oe_runmake || die "make failed"
        else
                bbnote "nothing to compile"