Merge tag 'ntb-5.4' of git://github.com/jonmason/ntb
[linux-2.6-block.git] / usr / Makefile
index 6a89eb019275b6f209d45d66884a766672dc88eb..e6f7cb2f81db4a2936cd6d633ec1853c85355294 100644 (file)
@@ -11,6 +11,9 @@ datafile_y = initramfs_data.cpio$(suffix_y)
 datafile_d_y = .$(datafile_y).d
 AFLAGS_initramfs_data.o += -DINITRAMFS_IMAGE="usr/$(datafile_y)"
 
+# clean rules do not have CONFIG_INITRAMFS_COMPRESSION.  So clean up after all
+# possible compression formats.
+clean-files += initramfs_data.cpio*
 
 # Generate builtin.o based on initramfs_data.o
 obj-$(CONFIG_BLK_DEV_INITRD) := initramfs_data.o