From f80fdd2a33aaeffb46bcbe41f8106eb0cb18c5b3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 16 Nov 2010 09:39:10 -0500 Subject: [PATCH] linux: update paths to compiled cpio files 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 Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- linux/linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/linux.mk b/linux/linux.mk index 7f7bb057ce..8dc7dd07ff 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -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 -- 2.30.2