[PATCH 1/1] piggy.lzo.S: fix out of tree build
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Fri Jul 20 07:16:34 EDT 2012
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at 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
More information about the barebox
mailing list