Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] base.bbclass: add GNUmakefile to the list of possible makefile names
@ 2012-07-13 11:01 Ross Burton
  2012-07-13 18:43 ` Khem Raj
  2012-07-17 17:20 ` Saul Wold
  0 siblings, 2 replies; 3+ messages in thread
From: Ross Burton @ 2012-07-13 11:01 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/classes/base.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 08065c6..f691799 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -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"
-- 
1.7.10




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] base.bbclass: add GNUmakefile to the list of possible makefile names
  2012-07-13 11:01 [PATCH] base.bbclass: add GNUmakefile to the list of possible makefile names Ross Burton
@ 2012-07-13 18:43 ` Khem Raj
  2012-07-17 17:20 ` Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2012-07-13 18:43 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, Jul 13, 2012 at 4:01 AM, Ross Burton <ross.burton@intel.com> wrote:
>
> +       if [ -e Makefile -o -e makefile -o -e GNUmakefile ]; then
>                 oe_runmake || die "make failed"
>         else
>                 bbnote "nothing to compile"

may be convert it into case .. esac ? while you  are at it



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] base.bbclass: add GNUmakefile to the list of possible makefile names
  2012-07-13 11:01 [PATCH] base.bbclass: add GNUmakefile to the list of possible makefile names Ross Burton
  2012-07-13 18:43 ` Khem Raj
@ 2012-07-17 17:20 ` Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-07-17 17:20 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 07/13/2012 04:01 AM, Ross Burton wrote:
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>   meta/classes/base.bbclass |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
> index 08065c6..f691799 100644
> --- a/meta/classes/base.bbclass
> +++ b/meta/classes/base.bbclass
> @@ -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"
>

Merged into OE-Core

Thanks
	Sau!



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-17 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-13 11:01 [PATCH] base.bbclass: add GNUmakefile to the list of possible makefile names Ross Burton
2012-07-13 18:43 ` Khem Raj
2012-07-17 17:20 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox