From patchwork Tue Jul 4 14:47:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 784043 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x26QH50Tdz9rxm for ; Wed, 5 Jul 2017 00:51:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B205A8921D; Tue, 4 Jul 2017 14:50:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Go8MtOsOrkCp; Tue, 4 Jul 2017 14:50:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id DF9A889093; Tue, 4 Jul 2017 14:50:18 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 8604D1C42BB for ; Tue, 4 Jul 2017 14:49:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8200A2662D for ; Tue, 4 Jul 2017 14:49:45 +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 GrQ2qAgGncMg for ; Tue, 4 Jul 2017 14:49:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by silver.osuosl.org (Postfix) with ESMTP id D47602E71F for ; Tue, 4 Jul 2017 14:49:44 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 173AA21FBF; Tue, 4 Jul 2017 16:49:43 +0200 (CEST) Received: from localhost (ARennes-651-1-6-45.w86-215.abo.wanadoo.fr [86.215.149.45]) by mail.free-electrons.com (Postfix) with ESMTPSA id D64B5207FE; Tue, 4 Jul 2017 16:49:32 +0200 (CEST) From: Thomas Petazzoni To: Buildroot List Date: Tue, 4 Jul 2017 16:47:48 +0200 Message-Id: <20170704144920.12318-9-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170704144920.12318-1-thomas.petazzoni@free-electrons.com> References: <20170704144920.12318-1-thomas.petazzoni@free-electrons.com> Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH 008/100] package: rename DISABLE_NLS to NLS_OPTS X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" We are going to use DISABLE_NLS not only for disabling NLS support, but also to explicitly enable it. Therefore, this preparatory commit renames it to NLS_OPTS, which is consistent with other foo_OPTS variables defined in package/Makefile.in. While at it, we replace the := assignments by regular = assignments. Signed-off-by: Thomas Petazzoni Reviewed-by: Arnout Vandecappelle (Essensium/Mind) --- package/Makefile.in | 4 ++-- package/pkg-autotools.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/Makefile.in b/package/Makefile.in index 8087bde..4a5b3af 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -360,9 +360,9 @@ TARGET_CONFIGURE_ARGS = \ ################################################################################ ifeq ($(BR2_ENABLE_LOCALE),y) -DISABLE_NLS := +NLS_OPTS = else -DISABLE_NLS :=--disable-nls +NLS_OPTS = --disable-nls endif ifneq ($(BR2_INSTALL_LIBSTDCPP),y) diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk index e215382..ba1f4d9 100644 --- a/package/pkg-autotools.mk +++ b/package/pkg-autotools.mk @@ -201,7 +201,7 @@ define $(2)_CONFIGURE_CMDS --with-fop=no \ $$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \ --enable-ipv6 \ - $$(DISABLE_NLS) \ + $$(NLS_OPTS) \ $$(SHARED_STATIC_LIBS_OPTS) \ $$(QUIET) $$($$(PKG)_CONF_OPTS) \ )