2012-11-04 13:34:20

by Russell King

[permalink] [raw]
Subject: lzma targets always get rebuilt

$ emake -j2 O=../build/omap4/ uImage V=2
...
CHK include/generated/compile.h
echo ' Kernel: arch/arm/boot/Image is ready'
Kernel: arch/arm/boot/Image is ready
LZMA arch/arm/boot/compressed/piggy.lzma - due to command line change
AS arch/arm/boot/compressed/piggy.lzma.o - due to: arch/arm/boot/compressed/piggy.lzma
LD arch/arm/boot/compressed/vmlinux - due to: arch/arm/boot/compressed/piggy.lzma.o
OBJCOPY arch/arm/boot/zImage - due to: arch/arm/boot/compressed/vmlinux
echo ' Kernel: arch/arm/boot/zImage is ready'
Kernel: arch/arm/boot/zImage is ready
UIMAGE arch/arm/boot/uImage - due to: arch/arm/boot/zImage
Image Name: Linux-3.7.0-rc3+
Created: Sun Nov 4 13:31:13 2012
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1756112 Bytes = 1714.95 kB = 1.67 MB
Load Address: 0x80008000
Entry Point: 0x80008000
echo ' Image arch/arm/boot/uImage is ready'
Image arch/arm/boot/uImage is ready

This happens every time - Kbuild always thinks that the LZMA command has
changed. Here's the .cmd file for this:

cmd_arch/arm/boot/compressed/piggy.lzma := (cat arch/arm/boot/compressed/../Image | lzma -9 && printf \\\\200\\\\111\\\\113\\\\000) > arch/arm/boot/compressed/piggy.lzma || (rm -f arch/arm/boot/compressed/piggy.lzma ; false)

I suspect it's those multiple \ which are causing problems...

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: