9
0
Fork 0

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>
This commit is contained in:
Antony Pavlov 2015-09-21 01:50:44 +03:00 committed by Sascha Hauer
parent 072a4af454
commit 35a0f20255
4 changed files with 11 additions and 0 deletions

View File

@ -12,3 +12,5 @@ obj-$(CONFIG_CPU_MIPS64) += c-r4k.o
obj-$(CONFIG_CMD_MIPS_CPUINFO) += cpuinfo.o
obj-$(CONFIG_CMD_BOOTM) += bootm.o
pbl-y += ashldi3.o

View File

@ -1,6 +1,8 @@
piggy.gzip
piggy.lzo
piggy.lz4
piggy.xzkern
piggy.shipped
zbarebox
zbarebox.bin
zbarebox.lds

View File

@ -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

View File

@ -0,0 +1,6 @@
#include <asm/asm.h>
.section .data
EXPORT(input_data)
.incbin "arch/mips/pbl/piggy.xzkern"
EXPORT(input_data_end)