From patchwork Tue Aug 28 08:17:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Clean kernel when "make linux-clean" is called From: Stephan Hoffmann X-Patchwork-Id: 180378 Message-Id: <1346141852-31102-1-git-send-email-sho@relinux.de> To: buildroot@uclibc.org Date: Tue, 28 Aug 2012 10:17:32 +0200 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 --- linux/linux.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/linux/linux.mk b/linux/linux.mk index c4bdf90..ae07256 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -255,6 +255,10 @@ define LINUX_INSTALL_TARGET_CMDS $(LINUX_INSTALL_HOST_TOOLS) endef +define LINUX_CLEAN_CMDS + $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) clean +endef + include linux/linux-ext-*.mk $(eval $(generic-package))