From patchwork Tue Aug 28 08:17:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Hoffmann X-Patchwork-Id: 180378 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id BD8C82C007B for ; Tue, 28 Aug 2012 18:17:52 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3D5B130EBE; Tue, 28 Aug 2012 08:17:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ehY3OGaMEHNv; Tue, 28 Aug 2012 08:17:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 6179724993; Tue, 28 Aug 2012 08:17:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 692EF8F753 for ; Tue, 28 Aug 2012 08:17:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0AE6591094 for ; Tue, 28 Aug 2012 08:17:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id laxC7ZpSWjpC for ; Tue, 28 Aug 2012 08:17:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by whitealder.osuosl.org (Postfix) with ESMTP id BC2C290F4B for ; Tue, 28 Aug 2012 08:17:46 +0000 (UTC) Received: from stephan-desktop (p549A75E0.dip.t-dialin.net [84.154.117.224]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0Lx3Yj-1ThxGi1vjt-016isf; Tue, 28 Aug 2012 10:17:45 +0200 Received: by stephan-desktop (Postfix, from userid 1000) id 565825013F4; Tue, 28 Aug 2012 10:17:44 +0200 (CEST) From: Stephan Hoffmann To: buildroot@uclibc.org Date: Tue, 28 Aug 2012 10:17:32 +0200 Message-Id: <1346141852-31102-1-git-send-email-sho@relinux.de> X-Mailer: git-send-email 1.7.0.4 X-Provags-ID: V02:K0:6PDYDf9KHgf7OTdJrGQg9pwz6KVNNsA3WZ7iRVF/tYR msgB/6YNL9/XidibIFu/OSTsrWOLQC46c7X8Mwo1ANfBS9ntDN aXTUDIGMiBCF3ocZDx1jURYUJFDTtKpMvC44DgRh5f0l5LY4JZ 72l6FcwrOnVAgD/QMZ71xIleFE160moudckMk9qL3MN/dU9Gqr FsM5vSyJQNMQp3jmtXmqepVMvbx1spHCeAelpaxvjWF1vygbPi YhE8MTVLtJCrt/1EZUfVTvxxS8UAJy+AYjtf1p9hwvpY9KaHER sFr95tXy53fTnYtQJo2iocEa+wUbpZgbdFmLVXR0Ym44dEbA6Z Z/KoaR1Rw2+7kRXVTkZ7QcbfIDDoud+QXEz6LCXRCrTfxPtT3J Mex99ik73g4dQ== Subject: [Buildroot] [PATCH] Clean kernel when "make linux-clean" is called X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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))