mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/1] piggy.lzo.S: fix out of tree build
@ 2012-07-20 11:16 Jean-Christophe PLAGNIOL-VILLARD
  2012-07-20 12:24 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-07-20 11:16 UTC (permalink / raw)
  To: barebox

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 3ade6cc..4696789 100644
--- a/Makefile
+++ b/Makefile
@@ -719,9 +719,9 @@ barebox-uncompressed.bin.lzo: barebox-uncompressed.bin
 	@echo "  LZO    " $@
 	$(Q)lzop -f -9 -o $@ barebox-uncompressed.bin
 
-piggy.lzo.o: barebox-uncompressed.bin.lzo piggy.lzo.S
+piggy.lzo.o: barebox-uncompressed.bin.lzo $(src)/piggy.lzo.S
 	@echo "  CC     " $@
-	$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -c piggy.lzo.S -o $@
+	$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -c $(src)/piggy.lzo.S -o $@
 
 ifdef CONFIG_IMAGE_COMPRESSION_LZO
 barebox: piggy.lzo.o
-- 
1.7.10


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH 1/1] piggy.lzo.S: fix out of tree build
  2012-07-20 11:16 [PATCH 1/1] piggy.lzo.S: fix out of tree build Jean-Christophe PLAGNIOL-VILLARD
@ 2012-07-20 12:24 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-07-20 12:24 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox

On Fri, Jul 20, 2012 at 01:16:34PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
>  Makefile |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Squashed into the original commit. BTW please update
work/compressed-image, I made some changes and added another two cleanup
patches.

Also I want to drop HEAD_TEXT_BASE (the address where the decompressor
is linked to) and use MALLOC_BASE instead, which by definition defaults
to some (at that time) unused valid memory. With this also the omap
xload configs should be compressable. This is not yet implemented
though.

Sascha


> 
> diff --git a/Makefile b/Makefile
> index 3ade6cc..4696789 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -719,9 +719,9 @@ barebox-uncompressed.bin.lzo: barebox-uncompressed.bin
>  	@echo "  LZO    " $@
>  	$(Q)lzop -f -9 -o $@ barebox-uncompressed.bin
>  
> -piggy.lzo.o: barebox-uncompressed.bin.lzo piggy.lzo.S
> +piggy.lzo.o: barebox-uncompressed.bin.lzo $(src)/piggy.lzo.S
>  	@echo "  CC     " $@
> -	$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -c piggy.lzo.S -o $@
> +	$(Q)$(CC) $(CFLAGS) $(CPPFLAGS) -c $(src)/piggy.lzo.S -o $@
>  
>  ifdef CONFIG_IMAGE_COMPRESSION_LZO
>  barebox: piggy.lzo.o
> -- 
> 1.7.10
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2012-07-20 12:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-20 11:16 [PATCH 1/1] piggy.lzo.S: fix out of tree build Jean-Christophe PLAGNIOL-VILLARD
2012-07-20 12:24 ` Sascha Hauer

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