From: David Gibson <david@gibson.dropbear.id.au>
To: Segher Boessenkool <segher@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org, Paul Mackerras <paulus@samba.org>
Subject: Re: powerpc: Fix make rules for dtc
Date: Mon, 9 Oct 2006 10:29:45 +1000 [thread overview]
Message-ID: <20061009002945.GA2259@localhost.localdomain> (raw)
In-Reply-To: <3711678A-7AA9-493F-B046-2F459604C028@kernel.crashing.org>
On Thu, Oct 05, 2006 at 07:58:59PM +0200, Segher Boessenkool wrote:
> > clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \
> > - $(obj)/empty.c
> > + $(obj)/empty.c *.dtb
>
> If this wildcard works at all, it will still do the wrong thing:
> deleting all .dtb files (even the ones that the Makefile cannot
> create again, e.g., the user put them in the tree manually) is
> at best not very polite.
It certainly works at all (the preceding $(obj)/empty.c, however, is
wrong, I've sent a separate patch for that). One could say the same
thing for *.o in clean targets, though I guess adding .dtb files is
rather more likely. However, I can't seen an obvious way of
generating a list of the re-creatable dtbs, without an explicit
listing of every file in arch/powerpc/boot/dts which sounds like a bit
of a pain. Suggestions?
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
next prev parent reply other threads:[~2006-10-09 0:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-04 3:37 powerpc: Fix make rules for dtc David Gibson
2006-10-04 3:41 ` powerpc: Fix clean target for empty.c David Gibson
2006-10-05 17:58 ` powerpc: Fix make rules for dtc Segher Boessenkool
2006-10-09 0:29 ` David Gibson [this message]
2006-10-09 14:21 ` Segher Boessenkool
2006-10-10 0:23 ` David Gibson
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=20061009002945.GA2259@localhost.localdomain \
--to=david@gibson.dropbear.id.au \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.org \
--cc=segher@kernel.crashing.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;
as well as URLs for NNTP newsgroup(s).