From patchwork Thu Apr 24 16:24:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 342437 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id EC70B140126 for ; Fri, 25 Apr 2014 02:24:49 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EBCC4320EF; Thu, 24 Apr 2014 16:24:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YCcWOOun225I; Thu, 24 Apr 2014 16:24:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7FB84320AB; Thu, 24 Apr 2014 16:24:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 099E81C2821 for ; Thu, 24 Apr 2014 16:24:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 072EE88089 for ; Thu, 24 Apr 2014 16:24:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BChTiWS-3_7c for ; Thu, 24 Apr 2014 16:24:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 4B60F857AA for ; Thu, 24 Apr 2014 16:24:44 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id lj1so2087882pab.22 for ; Thu, 24 Apr 2014 09:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=FaDTWhYD7QtvQpsDrcmn1C6hNdGYOyUf9FtoavX+3IE=; b=LDv8gvFWZZJ3neWVOFQTgHWZvGR5IM3szIune/tWLHdaxZpUAgK8PB+w9eAEUY3YjA orwt10OfWxlZzTBjixXbXV7ZbkbmnaNVEDe5JA/HgQP7V6YTxgtyFmacRV/Ifu/LLJBA ccXozk1U7bSik5lGf/gujMt/5c7nCg1e8jRLUWY2mBoXxcsd4h/0FmGeAdgAu0m+eBwV x8BwXhcaK71CjOGS7BjpYlqlYiaASd9DqDlGe3FbhqJqPx/k5gG3hrJNBYcUPGHGZ3XE 9q11+xyytOsJgh3NNmEnH39uPcJek33RGDrAkjk1T8I1CgVuQjSFzgPuXsZCspg8n+aV 3Jug== X-Received: by 10.68.195.104 with SMTP id id8mr4708738pbc.102.1398356683963; Thu, 24 Apr 2014 09:24:43 -0700 (PDT) Received: from ld2077.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPSA id yv7sm22686533pac.33.2014.04.24.09.24.41 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 09:24:43 -0700 (PDT) From: Fabio Porcedda To: buildroot@uclibc.org Date: Thu, 24 Apr 2014 18:24:39 +0200 Message-Id: <1398356679-1438-1-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 1.8.3.2 Subject: [Buildroot] [PATCH] Makefile: target-purgelocales: add dependencies X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 Cc: Arnout Vandecappelle Cc: Thomas De Schampheleire --- 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