linux: update paths to compiled cpio files
authorMike Frysinger <vapier@gentoo.org>
Tue, 16 Nov 2010 14:39:10 +0000 (09:39 -0500)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 17 Nov 2010 16:22:51 +0000 (17:22 +0100)
Linux has been using "usr/initramfs_data.cpio" for a few releases as the
generated cpio name, so the buildroot match of "...cpio.*" won't actually
clean out the previous result.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
linux/linux.mk

index 7f7bb057ce9b50aad7e3437d178e5f89e6769c8f..8dc7dd07ff4ad89f37beadfb55bd0d6044d86120 100644 (file)
@@ -147,7 +147,7 @@ $(LINUX26_DIR)/.stamp_initramfs_rebuilt: $(LINUX26_DIR)/.stamp_installed $(BINAR
        @$(call MESSAGE,"Rebuilding kernel with initramfs")
        # Remove the previously generated initramfs which was empty,
        # to make sure the kernel will actually regenerate it.
-       $(RM) -f $(@D)/usr/initramfs_data.cpio.*
+       $(RM) -f $(@D)/usr/initramfs_data.cpio*
        # Build the kernel.
        $(TARGET_MAKE_ENV) $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(@D) $(LINUX26_IMAGE_NAME)
        # Copy the kernel image to its final destination