From patchwork Mon Aug 27 14:20:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Hoffmann X-Patchwork-Id: 180210 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 59D2E2C00CB for ; Tue, 28 Aug 2012 00:20:18 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9F4A0257EA; Mon, 27 Aug 2012 14:20:16 +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 yJbex5K7QXnO; Mon, 27 Aug 2012 14:20:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 3ACA025FDE; Mon, 27 Aug 2012 14:20:15 +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 1DABB8F753 for ; Mon, 27 Aug 2012 14:20:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C2DCF91230 for ; Mon, 27 Aug 2012 14:20:13 +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 Dk-m0+eGD7Py for ; Mon, 27 Aug 2012 14:20:12 +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 BCA0B9122F for ; Mon, 27 Aug 2012 14:20:11 +0000 (UTC) Received: from stephan-desktop (p549A6F14.dip.t-dialin.net [84.154.111.20]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MF9xL-1Sppx31BwB-00FgHu; Mon, 27 Aug 2012 16:20:10 +0200 Received: by stephan-desktop (Postfix, from userid 1000) id 8F8A35032DA; Mon, 27 Aug 2012 16:20:09 +0200 (CEST) From: Stephan Hoffmann To: buildroot@uclibc.org Date: Mon, 27 Aug 2012 16:20:03 +0200 Message-Id: <1346077203-16144-1-git-send-email-sho@relinux.de> X-Mailer: git-send-email 1.7.0.4 X-Provags-ID: V02:K0:g971Q36mjOCJ4Vb1toL2slkj3o4/umjxXK6T9hg3io3 6iJNB8szvhNwTWvzL1H0xEpOaRsnSmSn63CVeangA1azGxo1Db hegdP/ABZZ3AA+iB2k2SbazeO1dCX28CFfewEgYOQbEQR3vDq9 +YhP1TB1WKKsj6/FGUvC+kbImGUS5zXfLPFiDWHqht2+vBbEwq 8onRYZFL7FyUj8cJzKWyJgKnT4TRalSZ6cojpxmkW4smQAK2nG gBr/S8cUneJaKNEChe+K6ba15CBAhHpmB5637hzVSJGoYLuIyz XYuhFoNynqzumW7PndzFvpUCMr7ut6BiYy1oFiAzBdWwG6zyZV r/y2hsKz09USexxn0ArpgehZ5+55cmS1UJKKsW1i/L57CGzjyO 3jVJtnlvyyYnw== 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 | 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