[Buildroot] [PATCH] Standardisation of $(BUILD)/.root name
Yann E. MORIN
yann.morin.1998 at free.fr
Wed May 15 21:01:10 UTC 2013
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. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list