From patchwork Thu Jul 24 17:49:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 373477 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id F4114140216 for ; Fri, 25 Jul 2014 03:51:00 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 091A18B62B; Thu, 24 Jul 2014 17:50:58 +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 pWu5eRQK3nBx; Thu, 24 Jul 2014 17:50:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8E4EC8B632; Thu, 24 Jul 2014 17:50:56 +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 BD8751C28CA for ; Thu, 24 Jul 2014 17:50:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B70F68B1AA for ; Thu, 24 Jul 2014 17:50:48 +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 fSlZ3sKLIQk1 for ; Thu, 24 Jul 2014 17:50:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 17C238B196 for ; Thu, 24 Jul 2014 17:50:47 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id q58so3039044wes.7 for ; Thu, 24 Jul 2014 10:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:content-transfer-encoding:subject :message-id:in-reply-to:references:user-agent:date:from:to:cc; bh=3NpgOsXYueE66ZG4vCI1lGBK3bwnm/OKpKZKxWZPeRc=; b=PuWQfjR10FyuWcfaMwefYH4ty9FmIIHpakiGWkOEBWPGGp+O5P7QtUpo0kvX1d3B1l QLDagTdARlosLbwq4qI42ZdQwziB5SGyk4yx24hnnQdK0ViUal8vUf8rQaczyGn/H1GT 68nqbqWsTlPGkPo4RtHKfXWjD2+PNVkR31YxtuLo1LuKTbllCuFc8i2DyGdmXrFAASrM sZK7ClYK+OubTAX95EXKy4xwhKYQcd2ZeqtTy5iDMAQsPqavhPpYBOLPHEZ/GOBgJNGB E0NmcQ3y0dSRpWdjX1Rh3aKOWLscfoFZH6Foj1d7cz693rMI7r+E6Ts1sY7uOn/08HZH tGzQ== X-Received: by 10.194.192.201 with SMTP id hi9mr14836765wjc.28.1406224245567; Thu, 24 Jul 2014 10:50:45 -0700 (PDT) Received: from [127.0.0.1] ([109.140.129.55]) by mx.google.com with ESMTPSA id gc8sm25348272wic.3.2014.07.24.10.50.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jul 2014 10:50:44 -0700 (PDT) MIME-Version: 1.0 X-Mercurial-Node: 80c907c0dfca068ee3b10aa249983745b0df6782 Message-Id: <80c907c0dfca068ee3b1.1406224171@localhost> In-Reply-To: References: User-Agent: Mercurial-patchbomb/2.7.2 Date: Thu, 24 Jul 2014 19:49:31 +0200 From: Thomas De Schampheleire To: buildroot@buildroot.org Cc: thomas.petazzoni@free-electrons.com, "Yann E. MORIN" Subject: [Buildroot] [PATCH 4 of 7] uclibc: only add kconfig targets if uclibc is enabled 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: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net In analogy of linux.mk, only enable the kconfig targets (menuconfig, update-config, ...) when the uclibc package is actually enabled. Signed-off-by: Thomas De Schampheleire --- package/uclibc/uclibc.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff -r ec98df5449b0 -r 80c907c0dfca package/uclibc/uclibc.mk --- a/package/uclibc/uclibc.mk Tue Jul 22 20:35:36 2014 +0200 +++ b/package/uclibc/uclibc.mk Wed Jul 23 20:12:32 2014 +0200 @@ -533,6 +533,8 @@ $(eval $(generic-package)) +ifeq ($(BR2_TOOLCHAIN_BUILDROOT_UCLIBC),y) + UCLIBC_KCONFIG_FILE = $(UCLIBC_CONFIG_FILE) UCLIBC_KCONFIG_OPT = \ $(UCLIBC_MAKE_FLAGS) \ @@ -542,5 +544,7 @@ $(eval $(kconfig-package)) +endif + # Before uClibc is built, we must have the second stage cross-compiler $(UCLIBC_TARGET_BUILD): | host-gcc-intermediate