From: Masahiro Yamada <yamada.m@jp.panasonic.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] Makefile: remove generated boards.cfg within make distclean
Date: Mon, 18 Aug 2014 13:23:31 +0900 [thread overview]
Message-ID: <20140818132331.675F.AA925319@jp.panasonic.com> (raw)
In-Reply-To: <1407674260-3315-1-git-send-email-roger@bufferoverflow.ch>
Hi Roger,
On Sun, 10 Aug 2014 14:37:40 +0200
Roger Meier <roger@bufferoverflow.ch> wrote:
> Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
> CC: Masahiro Yamada <yamada.m@jp.panasonic.com>
> CC: Tom Rini <trini@ti.com>
> CC: Wolfgang Denk <wd@denx.de>
>
> ---
> Changes for v2:
> - remove boards.cfg within make distclean instead of mrproper
> - use mrproper instead of distclean within MAKEALL
> ---
> MAKEALL | 2 +-
> Makefile | 3 ++-
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/MAKEALL b/MAKEALL
> index 929fe88..392ea8d 100755
> --- a/MAKEALL
> +++ b/MAKEALL
> @@ -658,7 +658,7 @@ build_target() {
> MAKE="${MAKE} O=${output_dir}"
> fi
>
> - ${MAKE} distclean >/dev/null
> + ${MAKE} mrproper >/dev/null
>
> echo "Building ${target} board..."
> ${MAKE} -s ${target}_defconfig >/dev/null
> diff --git a/Makefile b/Makefile
> index 666d291..067a301 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1285,7 +1285,8 @@ distclean: mrproper
> -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
> -o -name '.*.rej' -o -name '*%' -o -name 'core' \
> -o -name '*.pyc' \) \
> - -type f -print | xargs rm -f
> + -type f -print | xargs rm -f \
> + rm -f boards.cfg
>
> backup:
> F=`basename $(srctree)` ; cd .. ; \
The backslash after "xargs rm -f" is unnecessary, I think.
Should be like follows?
-type f -print | xargs rm -f
@rm -f boards.cfg
Best Regards
Masahiro Yamada
next prev parent reply other threads:[~2014-08-18 4:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-07 10:52 [U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper Roger Meier
2014-08-07 12:40 ` Masahiro Yamada
2014-08-07 14:53 ` Roger Meier
2014-08-08 12:48 ` Tom Rini
2014-08-10 12:37 ` [U-Boot] [PATCH v2] Makefile: remove generated boards.cfg within make distclean Roger Meier
2014-08-11 22:52 ` Masahiro YAMADA
2014-08-12 14:37 ` Simon Glass
2014-08-18 4:23 ` Masahiro Yamada [this message]
2014-08-19 23:13 ` [U-Boot] [PATCH v3] " Roger Meier
2014-08-20 1:06 ` Masahiro Yamada
2014-08-20 20:10 ` [U-Boot] [PATCH v4] " Roger Meier
2014-08-22 6:30 ` Masahiro Yamada
2014-08-23 12:43 ` [U-Boot] [U-Boot, " Tom Rini
2014-08-09 0:19 ` [U-Boot] [PATCH] Makefile: remove generated boards.cfg within make mrproper Masahiro YAMADA
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=20140818132331.675F.AA925319@jp.panasonic.com \
--to=yamada.m@jp.panasonic.com \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.