Various unusual filenames might break the make process when they are included as dependencies (e.g. filenames with a colon).
This has the disadvantage that not even a make (dist)clean does work afterwards. What makes the matter worse is that git clean -df doesn't remove such a possible broken dependency list too. Avoid that by not including this dependency list for make goals (dist)clean. Signed-off-by: Alexander Holler <hol...@ahsoftware.de> Cc: <sta...@vger.kernel.org> --- Changes to v3: none usr/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/Makefile b/usr/Makefile index e767f01..5d5b6aa 100644 --- a/usr/Makefile +++ b/usr/Makefile @@ -49,9 +49,11 @@ ramfs-args := \ # in initramfs and to detect if any files are added/removed. # Removed files are identified by directory timestamp being updated # The dependency list is generated by gen_initramfs.sh -l +ifndef clean ifneq ($(wildcard $(obj)/.initramfs_data.cpio.d),) include $(obj)/.initramfs_data.cpio.d endif +endif quiet_cmd_initfs = GEN $@ cmd_initfs = $(initramfs) -o $@ $(ramfs-args) $(ramfs-input) -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/