From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753514Ab0CQIFA (ORCPT ); Wed, 17 Mar 2010 04:05:00 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:33293 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753309Ab0CQIE4 (ORCPT ); Wed, 17 Mar 2010 04:04:56 -0400 From: Arun Bhanu To: linux-kernel@vger.kernel.org, microblaze-uclinux@itee.uq.edu.au Cc: Michal Simek , Arun Bhanu Subject: [PATCH 1/2] microblaze: Fix Makefile to delete build generated files Date: Wed, 17 Mar 2010 16:06:03 +0800 Message-Id: <1268813164-12582-2-git-send-email-arun@bhanu.net> X-Mailer: git-send-email 1.6.2.5 In-Reply-To: <1268813164-12582-1-git-send-email-arun@bhanu.net> References: <1268813164-12582-1-git-send-email-arun@bhanu.net> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 'make clean' does not to delete the following build generated file: arch/microblaze/boot/linux.bin.ub 'make mrproper' does not to delete the following build generated files: arch/microblaze/boot/simpleImage.* Fix the Makefile to delete these build generated files. See [1] for a discussion on why simpleImage.* files are deleted with 'make mrproper' and not with 'make clean'. [1] http://lkml.org/lkml/2010/3/12/96 Signed-off-by: Arun Bhanu --- arch/microblaze/Makefile | 2 ++ arch/microblaze/boot/Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/microblaze/Makefile b/arch/microblaze/Makefile index d2d6cfc..36926b9 100644 --- a/arch/microblaze/Makefile +++ b/arch/microblaze/Makefile @@ -93,3 +93,5 @@ define archhelp echo ' name of a dts file from the arch/microblaze/boot/dts/ directory' echo ' (minus the .dts extension).' endef + +MRPROPER_FILES += $(boot)/simpleImage.* diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile index 902cf98..a1fc324 100644 --- a/arch/microblaze/boot/Makefile +++ b/arch/microblaze/boot/Makefile @@ -64,4 +64,4 @@ $(obj)/%.dtb: $(dtstree)/%.dts FORCE clean-kernel += linux.bin linux.bin.gz simpleImage.* -clean-files += *.dtb simpleImage.*.unstrip +clean-files += *.dtb simpleImage.*.unstrip linux.bin.ub -- 1.6.2.5