From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from astoria.ccjclearline.com ([64.235.106.9]) by casper.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RuoA1-0004sd-V4 for barebox@lists.infradead.org; Tue, 07 Feb 2012 16:44:55 +0000 Date: Tue, 7 Feb 2012 11:44:36 -0500 (EST) From: "Robert P. J. Day" In-Reply-To: Message-ID: References: MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: RE: "make distclean" doesn't remove generated MLO file To: "Premi, Sanjeev" Cc: "U-Boot Version 2 (barebox)" On Tue, 7 Feb 2012, Premi, Sanjeev wrote: > This patch should help. > If you confirm, I can submit it formally. > > ~sanjeev > > >From 072ef5dd7022877fc1470b6dc14a0ec309eb68a0 Mon Sep 17 00:00:00 2001 > From: Sanjeev Premi > Date: Tue, 7 Feb 2012 21:58:50 +0530 > Subject: [PATCH] omap: Remove MLO with distclean > > > Signed-off-by: Sanjeev Premi > --- > Makefile | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/Makefile b/Makefile > index 5cf49da..5a03b32 100644 > --- a/Makefile > +++ b/Makefile > @@ -1008,7 +1008,7 @@ MRPROPER_DIRS += include/config include2 usr/include > MRPROPER_FILES += .config .config.old include/asm .version .old_version \ > include/generated/autoconf.h include/generated/version.h \ > include/generated/utsrelease.h include/config.h \ > - Module.symvers tags TAGS cscope* > + Module.symvers tags TAGS cscope* MLO > > # clean - Delete most, but leave enough to build external modules > # based on this from the Makefile: ===== snip ===== # Directories & files removed with 'make clean' CLEAN_DIRS += $(MODVERDIR) CLEAN_FILES += barebox System.map include/generated/barebox_default_env.h \ .tmp_version .tmp_barebox* barebox.bin barebox.S \ .tmp_kallsyms* barebox_default_env barebox.ldr Doxyfile.version # Directories & files removed with 'make mrproper' MRPROPER_DIRS += include/config include2 usr/include MRPROPER_FILES += .config .config.old include/asm .version .old_version \ include/generated/autoconf.h include/generated/version.h \ include/generated/utsrelease.h include/config.h \ Module.symvers tags TAGS cscope* MLO ===== snip ===== i would think that it should be added to CLEAN_FILES, given its relation to barebox.bin, etc. but either way will certainly work. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox