Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Makefile: target-purgelocales: add dependencies
@ 2014-04-24 16:24 Fabio Porcedda
  2014-04-24 16:41 ` Thomas Petazzoni
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio Porcedda @ 2014-04-24 16:24 UTC (permalink / raw)
  To: buildroot

The "target-purgelocales" target must be executed after all the other
targets so add dependencies to ensure that.
This also fix the support to top-level parallel make.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
---

When both BR2_ENABLE_LOCALE_PURGE BR2_GENERATE_LOCALE are defined it
swap the execution order of target-purgelocales and
target-generatelocales, but as far as i can understand it does not arm
to do that.

Regards
Fabio Porcedda

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index eff408b..6b24482 100644
--- a/Makefile
+++ b/Makefile
@@ -579,7 +579,7 @@ ifeq ($(BR2_ENABLE_LOCALE_PURGE),y)
 LOCALE_WHITELIST = $(BUILD_DIR)/locales.nopurge
 LOCALE_NOPURGE = $(call qstrip,$(BR2_ENABLE_LOCALE_WHITELIST))
 
-target-purgelocales:
+target-purgelocales: $(filter-out target-purgelocales,$(TARGETS))
 	rm -f $(LOCALE_WHITELIST)
 	for i in $(LOCALE_NOPURGE); do echo $$i >> $(LOCALE_WHITELIST); done
 
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-06-11  9:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-24 16:24 [Buildroot] [PATCH] Makefile: target-purgelocales: add dependencies Fabio Porcedda
2014-04-24 16:41 ` Thomas Petazzoni
2014-04-25 21:50   ` Fabio Porcedda
2014-04-28  5:49     ` Arnout Vandecappelle
2014-04-28  7:58       ` Fabio Porcedda
2014-04-28 10:30         ` Arnout Vandecappelle
2014-04-28 10:32           ` Fabio Porcedda
2014-04-28  9:36       ` Peter Korsgaard
2014-04-28 16:10         ` Thomas Petazzoni
2014-06-11  9:24           ` Fabio Porcedda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox