[PATCH 1/1] piggy.lzo.S: fix out of tree build

Sascha Hauer s.hauer at pengutronix.de
Fri Jul 20 08:24:46 EDT 2012


On Fri, Jul 20, 2012 at 01:16:34PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at 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 at 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 |



More information about the barebox mailing list