All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] mongoose: fix build failure
@ 2014-08-07 17:20 Gustavo Zacarias
  2014-08-07 19:29 ` Thomas Petazzoni
  2014-08-07 20:13 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2014-08-07 17:20 UTC (permalink / raw)
  To: buildroot

mongoose.h looks missing because we're not building locally, so switch
to the build dir. Fixes:
http://autobuild.buildroot.net/results/701/701711626548bd166cd5bc5669e4761ffed074d1/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/mongoose/mongoose.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/mongoose/mongoose.mk b/package/mongoose/mongoose.mk
index 4182a30..5f53721 100644
--- a/package/mongoose/mongoose.mk
+++ b/package/mongoose/mongoose.mk
@@ -19,6 +19,7 @@ MONGOOSE_CFLAGS += -DNS_ENABLE_SSL -lssl -lcrypto -lz
 endif
 
 define MONGOOSE_BUILD_CMDS
+	cd $(@D) ; \
 	$(TARGET_CC) $(@D)/examples/server.c $(@D)/mongoose.c \
 		-o $(@D)/examples/server $(MONGOOSE_CFLAGS) -pthread -ldl
 	$(TARGET_CC) -c $(@D)/mongoose.c $(MONGOOSE_CFLAGS) -o $(@D)/mongoose.o
-- 
1.8.5.5

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

* [Buildroot] [PATCH] mongoose: fix build failure
  2014-08-07 17:20 [Buildroot] [PATCH] mongoose: fix build failure Gustavo Zacarias
@ 2014-08-07 19:29 ` Thomas Petazzoni
  2014-08-07 20:13 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2014-08-07 19:29 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On Thu,  7 Aug 2014 14:20:16 -0300, Gustavo Zacarias wrote:
> mongoose.h looks missing because we're not building locally, so switch
> to the build dir. Fixes:
> http://autobuild.buildroot.net/results/701/701711626548bd166cd5bc5669e4761ffed074d1/
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  package/mongoose/mongoose.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/mongoose/mongoose.mk b/package/mongoose/mongoose.mk
> index 4182a30..5f53721 100644
> --- a/package/mongoose/mongoose.mk
> +++ b/package/mongoose/mongoose.mk
> @@ -19,6 +19,7 @@ MONGOOSE_CFLAGS += -DNS_ENABLE_SSL -lssl -lcrypto -lz
>  endif
>  
>  define MONGOOSE_BUILD_CMDS
> +	cd $(@D) ; \
>  	$(TARGET_CC) $(@D)/examples/server.c $(@D)/mongoose.c \
>  		-o $(@D)/examples/server $(MONGOOSE_CFLAGS) -pthread -ldl

What about -I$(@D) instead?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH] mongoose: fix build failure
  2014-08-07 17:20 [Buildroot] [PATCH] mongoose: fix build failure Gustavo Zacarias
  2014-08-07 19:29 ` Thomas Petazzoni
@ 2014-08-07 20:13 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2014-08-07 20:13 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On Thu,  7 Aug 2014 14:20:16 -0300, Gustavo Zacarias wrote:
> mongoose.h looks missing because we're not building locally, so switch
> to the build dir. Fixes:
> http://autobuild.buildroot.net/results/701/701711626548bd166cd5bc5669e4761ffed074d1/
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  package/mongoose/mongoose.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied after changing the patch to use -I$(@D) instead.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2014-08-07 20:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-07 17:20 [Buildroot] [PATCH] mongoose: fix build failure Gustavo Zacarias
2014-08-07 19:29 ` Thomas Petazzoni
2014-08-07 20:13 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.