From patchwork Mon Aug 16 04:19:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Lacombe X-Patchwork-Id: 119652 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o7G4Sl5v004150 for ; Mon, 16 Aug 2010 04:28:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751911Ab0HPE2t (ORCPT ); Mon, 16 Aug 2010 00:28:49 -0400 Received: from mail-gx0-f174.google.com ([209.85.161.174]:63818 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751627Ab0HPE2t (ORCPT ); Mon, 16 Aug 2010 00:28:49 -0400 Received: by mail-gx0-f174.google.com with SMTP id 23so1750426gxk.19 for ; Sun, 15 Aug 2010 21:28:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=PJ+Syn2IEcz0WCtEpqIBa5F/vR+y4qsXhKsFlM7qY9g=; b=ldVpXuUn0R7im3vSBXL6YFFsOGGj7cl7ScGAZFWWiIqAFBkn47bOpAAFL2UKs6ldWp O/lWfM7UzLX4S8qhTopHCrNzPqem7FD7OWf5YhkeeFpA44X09Bp+j9Eq1TWExPDvjjaf qOxRhJ2Y1PaziYLPwjIQZXUIk161sHq5FD8fo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=S2U3blaCmkaL+6oVDdF3DI4KT15IZmvl4onq2sXai8WFxo4Nm7SCy9pc9yjhEbCu9b 1YRjA7KCHX2MDW7FRYM/9mVGnXWw1i0T6JoVefThiwMzjRb7MmRehp4baM7PsfIceqgt xx9Wt9z4y8zfe5ZD6w1Ov6J7DV79nfmb0mxPQ= Received: by 10.150.160.2 with SMTP id i2mr5005023ybe.314.1281932928921; Sun, 15 Aug 2010 21:28:48 -0700 (PDT) Received: from localhost.localdomain (206-248-183-141.dsl.teksavvy.com [206.248.183.141]) by mx.google.com with ESMTPS id q21sm4042821ybk.15.2010.08.15.21.28.47 (version=SSLv3 cipher=RC4-MD5); Sun, 15 Aug 2010 21:28:48 -0700 (PDT) From: Arnaud Lacombe To: Sam Ravnborg Cc: linux-kbuild , Arnaud Lacombe Subject: [PATCH 2/4] kbuild: don't include `check-lxdialog' ldflags in global HOST_LOADLIBES Date: Mon, 16 Aug 2010 00:19:04 -0400 Message-Id: <1281932346-19067-2-git-send-email-lacombar@gmail.com> X-Mailer: git-send-email 1.7.2.30.gc37d7.dirty In-Reply-To: <1281932346-19067-1-git-send-email-lacombar@gmail.com> References: <1281932346-19067-1-git-send-email-lacombar@gmail.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 16 Aug 2010 04:28:50 +0000 (UTC) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index de934de..7522a8b 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -146,7 +146,6 @@ check-lxdialog := $(srctree)/$(src)/lxdialog/check-lxdialog.sh # Use recursively expanded variables so we do not call gcc unless # we really need to do so. (Do not call gcc as part of make mrproper) HOST_EXTRACFLAGS = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags) -HOST_LOADLIBES = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC)) HOST_EXTRACFLAGS += -DLOCALE @@ -208,7 +207,7 @@ clean-files += config.pot linux.pot PHONY += $(obj)/dochecklxdialog $(addprefix $(obj)/,$(lxdialog)): $(obj)/dochecklxdialog $(obj)/dochecklxdialog: - $(Q)$(CONFIG_SHELL) $(check-lxdialog) -check $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOST_LOADLIBES) + $(Q)$(CONFIG_SHELL) $(check-lxdialog) -check $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTLOADLIBES_mconf) always := dochecklxdialog @@ -226,6 +225,8 @@ HOSTLOADLIBES_gconf = `pkg-config --libs gtk+-2.0 gmodule-2.0 libglade-2.0` -ldl HOSTCFLAGS_gconf.o = `pkg-config --cflags gtk+-2.0 gmodule-2.0 libglade-2.0` \ -D LKC_DIRECT_LINK +HOSTLOADLIBES_mconf = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC)) + HOSTLOADLIBES_nconf = -lmenu -lpanel -lncurses $(obj)/qconf.o: $(obj)/.tmp_qtcheck