Subject: [wrecked] makefile-fix-order-of-initrd_compress-y-assignments.patch removed from -mm tree To: jlayton@xxxxxxxxxx,jbeulich@xxxxxxxx,ppandit@xxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Thu, 26 Dec 2013 13:16:45 -0800 The patch titled Subject: Makefile: fix order of INITRD_COMPRESS-y assignments has been removed from the -mm tree. Its filename was makefile-fix-order-of-initrd_compress-y-assignments.patch This patch was dropped because other changes were merged, which wrecked this patch ------------------------------------------------------ From: Jeff Layton <jlayton@xxxxxxxxxx> Subject: Makefile: fix order of INITRD_COMPRESS-y assignments Commit 7ac181568342ec ("fix build with make 3.80") changed how the Makefile handles the INITRD_COMPRESS-y assignment in order to make it work properly with older versions of make. Unfortunately, it also changes the behavior of how that assignment works when multiple CONFIG_RD_* options are set, such that they are now preferred in the reverse order of the way they were before. Reverse the order of assignments to try and preserve the earlier precedence in this situation. Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx> Cc: Jan Beulich <jbeulich@xxxxxxxx> Cc: P J P <ppandit@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff -puN Makefile~makefile-fix-order-of-initrd_compress-y-assignments Makefile --- a/Makefile~makefile-fix-order-of-initrd_compress-y-assignments +++ a/Makefile @@ -733,11 +733,11 @@ export mod_strip_cmd # This shall be used by the dracut(8) tool while creating an initramfs image. # INITRD_COMPRESS-y := gzip -INITRD_COMPRESS-$(CONFIG_RD_BZIP2) := bzip2 -INITRD_COMPRESS-$(CONFIG_RD_LZMA) := lzma -INITRD_COMPRESS-$(CONFIG_RD_XZ) := xz -INITRD_COMPRESS-$(CONFIG_RD_LZO) := lzo INITRD_COMPRESS-$(CONFIG_RD_LZ4) := lz4 +INITRD_COMPRESS-$(CONFIG_RD_LZO) := lzo +INITRD_COMPRESS-$(CONFIG_RD_XZ) := xz +INITRD_COMPRESS-$(CONFIG_RD_LZMA) := lzma +INITRD_COMPRESS-$(CONFIG_RD_BZIP2) := bzip2 export INITRD_COMPRESS := $(INITRD_COMPRESS-y) ifdef CONFIG_MODULE_SIG_ALL _ Patches currently in -mm which might be from jlayton@xxxxxxxxxx are linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html