diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2015-09-21 01:50:44 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-09-21 08:21:50 +0200 |
commit | 35a0f202557fe9267e911cea4ce842f84ed13cdb (patch) | |
tree | 641424bce95a24a22bb730b4b0f9209d078d3f88 /arch/mips/pbl | |
parent | 072a4af45409182c6cbfb32ac4a68b072b876860 (diff) | |
download | barebox-35a0f202557fe9267e911cea4ce842f84ed13cdb.tar.gz barebox-35a0f202557fe9267e911cea4ce842f84ed13cdb.tar.xz |
MIPS: PBL: Add missing pieces for xz compressed PBL image
Also ignore piggy.shipped binary (CONFIG_IMAGE_COMPRESSION_NONE=y).
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/pbl')
-rw-r--r-- | arch/mips/pbl/.gitignore | 2 | ||||
-rw-r--r-- | arch/mips/pbl/Makefile | 1 | ||||
-rw-r--r-- | arch/mips/pbl/piggy.xzkern.S | 6 |
3 files changed, 9 insertions, 0 deletions
diff --git a/arch/mips/pbl/.gitignore b/arch/mips/pbl/.gitignore index 1b7f618f08..be604a81bf 100644 --- a/arch/mips/pbl/.gitignore +++ b/arch/mips/pbl/.gitignore @@ -1,6 +1,8 @@ piggy.gzip piggy.lzo piggy.lz4 +piggy.xzkern +piggy.shipped zbarebox zbarebox.bin zbarebox.lds diff --git a/arch/mips/pbl/Makefile b/arch/mips/pbl/Makefile index b03bca1258..44ce3d1c92 100644 --- a/arch/mips/pbl/Makefile +++ b/arch/mips/pbl/Makefile @@ -2,6 +2,7 @@ suffix_$(CONFIG_IMAGE_COMPRESSION_GZIP) = gzip suffix_$(CONFIG_IMAGE_COMPRESSION_LZO) = lzo suffix_$(CONFIG_IMAGE_COMPRESSION_LZ4) = lz4 +suffix_$(CONFIG_IMAGE_COMPRESSION_XZKERN) = xzkern suffix_$(CONFIG_IMAGE_COMPRESSION_NONE) = shipped OBJCOPYFLAGS_zbarebox.bin = -O binary diff --git a/arch/mips/pbl/piggy.xzkern.S b/arch/mips/pbl/piggy.xzkern.S new file mode 100644 index 0000000000..edfa53b86c --- /dev/null +++ b/arch/mips/pbl/piggy.xzkern.S @@ -0,0 +1,6 @@ +#include <asm/asm.h> + + .section .data +EXPORT(input_data) + .incbin "arch/mips/pbl/piggy.xzkern" +EXPORT(input_data_end) |