Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Standardisation of $(BUILD)/.root name
Date: Wed, 15 May 2013 23:01:10 +0200	[thread overview]
Message-ID: <20130515210110.GC3265@free.fr> (raw)
In-Reply-To: <25827956.EjHoov1O1Q@sagittae>

J?r?me, All,

On 2013-05-15 08:27 +0200, J?r?me Pouiller spake thusly:
> On Wednesday 15 May 2013 08:19:10 J?r?me Pouiller wrote:
> > On Wednesday 15 May 2013 00:23:24 Yann E. MORIN wrote:
> > [...]
> > 
> > > > I cannot just add a dependency between
> > > > $(STAMP_DIR)/skeleton-target-installed and  $(STAMP_DIR).
> > > 
> > > Why not? Like:
> > >     $(STAMP_DIR)/skeleton-target-installed: $(STAMP_DIR)
> > > 
> > > which to me looks like the sane solution (and not what I previosuly
> > > answered Arnout about $(TARGET_DIR))
> > 
> > Because, $(STAMP_DIR)/skeleton-target-installed will be rebuilt each time a
> > file is added or removed from $(STAMP_DIR).
> But, we may use an intermediate phony target:
> $(STAMP_DIR)_phony: $(STAMP_DIR)
> .PHONY: $(STAMP_DIR)_phony
> $(STAMP_DIR)/skeleton-target-installed: $(STAMP_DIR)_phony

Or an order-only rule:

$(STAMP_DIR)/skeleton-target-installed: | $(STAMP_DIR)

(not tested, but it's used in the crosstool-NG backend)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2013-05-15 21:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-17 11:04 [Buildroot] Target rebuilding Jérôme Pouiller
2013-01-17 13:27 ` Stephan Hoffmann
2013-01-18  9:43   ` Jérôme Pouiller
2013-01-19 16:32 ` Arnout Vandecappelle
2013-05-14 14:30   ` [Buildroot] [PATCH] Standardisation of $(BUILD)/.root name Jérôme Pouiller
2013-05-14 15:07     ` Thomas Petazzoni
2013-05-14 15:27       ` Jérôme Pouiller
2013-05-14 22:23         ` Yann E. MORIN
2013-05-15  6:19           ` Jérôme Pouiller
2013-05-15  6:27             ` Jérôme Pouiller
2013-05-15 21:01               ` Yann E. MORIN [this message]
2013-05-15 20:59             ` Yann E. MORIN
2013-05-14 21:52       ` Arnout Vandecappelle
2013-05-14 22:06         ` Yann E. MORIN

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=20130515210110.GC3265@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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