"make distclean" doesn't remove generated MLO file

Premi, Sanjeev premi at ti.com
Tue Feb 7 11:34:12 EST 2012


> -----Original Message-----
> From: barebox-bounces at lists.infradead.org 
> [mailto:barebox-bounces at lists.infradead.org] On Behalf Of 
> Robert P. J. Day
> Sent: Tuesday, February 07, 2012 6:49 PM
> To: U-Boot Version 2 (barebox)
> Subject: "make distclean" doesn't remove generated MLO file
> 
> 
>   i see that the latest barebox now automatically renames
> barebox.bin.ift to MLO -- cool.  but a subsequent "make distclean"
> doesn't remove that generated MLO, which it should, no?
> 
>   where would that removal properly belong?  in "archmrproper"?  it's
> architecture specific, right?
> 
[snip]

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 at ti.com>
Date: Tue, 7 Feb 2012 21:58:50 +0530
Subject: [PATCH] omap: Remove MLO with distclean


Signed-off-by: Sanjeev Premi <premi at 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
 #
-- 
1.7.0.4



More information about the barebox mailing list