From: Wu Zhangjin <wuzhangjin@gmail.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Ralf Baechle <ralf@linux-mips.org>,
linux-mips <linux-mips@linux-mips.org>
Subject: Re: [PATCH] mips: drop CLEAN_FILES from arch/mips/Makefile
Date: Sat, 29 May 2010 20:06:18 +0800 [thread overview]
Message-ID: <1275134778.11949.21.camel@localhost> (raw)
In-Reply-To: <20100529111713.GA31550@merkur.ravnborg.org>
Hi, Sam
With your patch, It really drops the specified files in the root
directory of Linux source code but can not remove the files under
arch/mips/boot/compressed/.
I have kept some temp files (.bin, .lzo...) under
arch/mips/boot/compressed/,
> diff --git a/arch/mips/boot/compressed/Makefile b/arch/mips/boot/compressed/Makefile
> index 790ddd3..80f6de5 100644
> --- a/arch/mips/boot/compressed/Makefile
> +++ b/arch/mips/boot/compressed/Makefile
> @@ -100,6 +100,4 @@ OBJCOPYFLAGS_vmlinuz.srec := $(OBJCOPYFLAGS) -S -O srec
> vmlinuz.srec: vmlinuz
> $(call if_changed,objcopy)
>
> -clean:
> -clean-files += *.o \
> - vmlinu*
> +clean-files := $(objtree)/vmlinu*
So, perhaps we need to reserve the vmlinux*, then we get
+ clean-files := vmlinu* \
$(objtree)/vmlinu*
Best Regards,
Wu Zhangjin
next prev parent reply other threads:[~2010-05-29 12:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-29 11:17 [PATCH] mips: drop CLEAN_FILES from arch/mips/Makefile Sam Ravnborg
2010-05-29 12:06 ` Wu Zhangjin [this message]
2010-05-29 19:40 ` [PATCHv2] " Sam Ravnborg
2010-05-29 19:40 ` Sam Ravnborg
2010-05-30 3:00 ` Wu Zhangjin
-- strict thread matches above, loose matches on Subject: below --
2010-05-29 11:11 [PATCH] " Sam Ravnborg
2010-05-29 11:11 Sam Ravnborg
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=1275134778.11949.21.camel@localhost \
--to=wuzhangjin@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
--cc=sam@ravnborg.org \
/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