mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: "Premi, Sanjeev" <premi@ti.com>
Cc: "U-Boot Version 2 (barebox)" <barebox@lists.infradead.org>
Subject: RE: "make distclean" doesn't remove generated MLO file
Date: Tue, 7 Feb 2012 11:44:36 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.2.02.1202071138340.15978@oneiric> (raw)
In-Reply-To: <E28AAFD00EFAA646AE3DF9B89CD24A89318342F9@DBDE01.ent.ti.com>

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 <premi@ti.com>
> Date: Tue, 7 Feb 2012 21:58:50 +0530
> Subject: [PATCH] omap: Remove MLO with distclean
>
>
> Signed-off-by: Sanjeev Premi <premi@ti.com>
> ---
>  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

  reply	other threads:[~2012-02-07 16:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-07 13:19 Robert P. J. Day
2012-02-07 16:34 ` Premi, Sanjeev
2012-02-07 16:44   ` Robert P. J. Day [this message]
2012-02-07 16:59     ` Premi, Sanjeev
2012-02-07 17:02       ` Robert P. J. Day
2012-02-07 17:05         ` Premi, Sanjeev
2012-02-07 17:07           ` Robert P. J. Day
2012-02-07 17:27             ` Premi, Sanjeev
2012-02-07 21:59         ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.02.1202071138340.15978@oneiric \
    --to=rpjday@crashcourse.ca \
    --cc=barebox@lists.infradead.org \
    --cc=premi@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox