]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kbuild: make: fix if_changed when command contains backslashes
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 26 Sep 2012 01:33:04 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:25:20 +0000 (17:25 +1000)
commit5a76322dff0c125d59a688154efb90035b1e3f3a
tree0596cfcf7c7e480ca13f2408d18a6f25e8523ab1
parent0d17ea4d0147a6a56f174792ef7855aee8c32741
kbuild: make: fix if_changed when command contains backslashes

The call if_changed mechanism does not work when the command
contains backslashes. This basically is an issue with lzo
and bzip2 compressed kernels. The compressed binaries do not
contain the uncompressed image size, so these use size_append
to append the size. This results in backslashes in the executed
command. With this if_changed always detects a change in the
command and rebuilds the compressed image even if nothing
has changed.

Fix this by escaping backslashes in make-cmd

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Bernhard Walle <bernhard@bwalle.de>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/Kbuild.include