kbuild: initramfs fix dependency checking for compressed target
authorNicholas Piggin <npiggin@gmail.com>
Thu, 5 Jan 2017 10:29:35 +0000 (20:29 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 5 Jan 2017 17:40:16 +0000 (09:40 -0800)
commitae30ab4cd711a147cafaf5674c333c5a84fe53fb
tree5f1d8c154dd5ed1f277adbf6312bcc4b1d942475
parente02003b515e8d95f40f20f213622bb82510873d2
kbuild: initramfs fix dependency checking for compressed target

When using initramfs compression, the data file compression suffix
gets quotes pulled in from Kconfig, e.g., initramfs_data.cpio".gz"
which make does not match a target and causes rebuild.

Fix this by filtering out quotes from the Kconfig string.

Fixes: 35e669e1a254 ("initramfs: select builtin initram compression algorithm on KConfig instead of Makefile")
Reviewed-by: Francisco Blas Izquierdo Riera (klondike) <klondike@klondike.es>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
usr/Makefile