From patchwork Thu Jul 24 17:49:33 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: 373480 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 AFB3E140217 for ; Fri, 25 Jul 2014 03:51:10 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 804E38B183; Thu, 24 Jul 2014 17:51:04 +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 5B9pSGxOcEFs; Thu, 24 Jul 2014 17:51:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B57B08B61B; Thu, 24 Jul 2014 17:51:01 +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 DE8EC1C28CA for ; Thu, 24 Jul 2014 17:50:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 82EB78B5AE for ; Thu, 24 Jul 2014 17:50:55 +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 ZTC_UQfRQCuP for ; Thu, 24 Jul 2014 17:50:51 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 920868B20C for ; Thu, 24 Jul 2014 17:50:50 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id ho1so4458741wib.4 for ; Thu, 24 Jul 2014 10:50:49 -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=ePZFAxuRFanDS9RiZpcB+K9ehHXNH7uURpfzDQp+A5Q=; b=HyZPxytPryUgiGeal8dmeS29D7traq7Or+Rf6ODP5ylUDyJ1M/igqbn8ixqdxrd2UV Af+x1GROVt4MmV+haAkQIU3jtDm2jGHzvM6SBi8AptUi8a3b9uQgIIHRvv7POsAwAWu1 +vage3sBR2GhmAvl36xXlnWMV+/JXJhSJI90tLXRa/d7ctbs3pQ4/T/WyN2V5Ut62wt1 +74p23hxURS2QCPScfrQUEyOKdqyCPqd/VW0vX5CJSnIJobe38mOqIqLfKskBbdwAGXM xb2K56H8qHlP59EPM80pfrkG+Y6tcPV4il+lGlsTME0YPHIF5Lyb9ouyJwuTJ87TxTp5 W6ew== X-Received: by 10.180.188.203 with SMTP id gc11mr36390351wic.59.1406224248900; Thu, 24 Jul 2014 10:50:48 -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.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Jul 2014 10:50:47 -0700 (PDT) MIME-Version: 1.0 X-Mercurial-Node: 01c5523b5777c0dc5a3b139762ec51667637e671 Message-Id: <01c5523b5777c0dc5a3b.1406224173@localhost> In-Reply-To: References: User-Agent: Mercurial-patchbomb/2.7.2 Date: Thu, 24 Jul 2014 19:49:33 +0200 From: Thomas De Schampheleire To: buildroot@buildroot.org Cc: thomas.petazzoni@free-electrons.com, "Yann E. MORIN" Subject: [Buildroot] [PATCH 6 of 7] busybox: 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 busybox package is actually enabled. Signed-off-by: Thomas De Schampheleire --- package/busybox/busybox.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff -r a850aa264c3d -r 01c5523b5777 package/busybox/busybox.mk --- a/package/busybox/busybox.mk Tue Jul 22 20:43:10 2014 +0200 +++ b/package/busybox/busybox.mk Wed Jul 23 20:13:38 2014 +0200 @@ -224,8 +224,12 @@ $(eval $(generic-package)) +ifeq ($(BR2_PACKAGE_BUSYBOX),y) + BUSYBOX_KCONFIG_FILE = $(BUSYBOX_CONFIG_FILE) BUSYBOX_KCONFIG_EDITORS = menuconfig xconfig gconfig BUSYBOX_KCONFIG_OPT = $(BUSYBOX_MAKE_OPTS) $(eval $(kconfig-package)) + +endif