[Buildroot] [PATCH] Clean kernel when "make linux-clean" is called
Stephan Hoffmann
sho at relinux.de
Mon Aug 27 14:20:03 UTC 2012
When "make linux-clean" is typed one expects that the kernel tree
gets cleaned. Before this patch, only the stamp files had been
removed.
Signed-off-by: Stephan Hoffmann <sho at relinux.de>
---
linux/linux.mk | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/linux/linux.mk b/linux/linux.mk
index c4bdf90..e9a5da9 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -268,6 +268,8 @@ linux-menuconfig linux-xconfig linux-gconfig linux-nconfig linux26-menuconfig li
linux-savedefconfig linux26-savedefconfig: dirs linux-configure
$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) \
$(subst linux-,,$(subst linux26-,,$@))
+linux-clean:
+ $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) clean
ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y)
linux-update-config linux26-update-config: linux-configure $(LINUX_DIR)/.config
--
1.7.0.4
More information about the buildroot
mailing list