From patchwork Mon Aug 4 22:06:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 376480 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 E4E611400E7 for ; Tue, 5 Aug 2014 08:07:08 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 001D88859C; Mon, 4 Aug 2014 22:07:07 +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 G6V3hWmNLuV0; Mon, 4 Aug 2014 22:07:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 70A6C886AF; Mon, 4 Aug 2014 22:07:07 +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 747041C2156 for ; Mon, 4 Aug 2014 22:07:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 71D1588F39 for ; Mon, 4 Aug 2014 22:07:03 +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 O4FykaJaBRmc for ; Mon, 4 Aug 2014 22:07:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by fraxinus.osuosl.org (Postfix) with ESMTPS id A02DC8843A for ; Mon, 4 Aug 2014 22:07:02 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id bs8so5856840wib.15 for ; Mon, 04 Aug 2014 15:07:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ac9E3i2P+SqtIS6ptOcFxkqgaM41nNtCpMTEKfTp/hU=; b=KHEAP8Y5dIqL9tyh8PiFqSf46ayQnWIMJvguENS8owNZG56yAMVsg34RG0YWyMHMqX 6zOooUKSusVTctDpDwZt6KVnMqj03Sp9EyOQPADA/DH87nAbjwTOLbduUYEG/Dfq0hkz yLcO/5mE0SXcKqbnR3oDK/ZqCY0FJ45MiZpz/IcHbGsMQrKV95F572FepCTZomiFE+lB XQ/DBFJLENtayci7h5ANIpw09v38j901GU1ey7+G/F7x8Sw/301F6mcYc0r8lWRN+V7V tjv31uDLvc/XxEjO8X2vaPrcfVYrE2UxPqn9T01D8D9Pw7jBNN+y38jyDFxYGauXqk3T yDqw== X-Received: by 10.180.74.198 with SMTP id w6mr620133wiv.7.1407190021042; Mon, 04 Aug 2014 15:07:01 -0700 (PDT) Received: from gourin.bzh.lan (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id pj6sm46428541wjb.21.2014.08.04.15.06.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Aug 2014 15:07:00 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Tue, 5 Aug 2014 00:06:57 +0200 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 1/2 v2] infra/pkg-kconfig: join comments to the related code-block 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 current layout of comments wrt. to the related code-blocks is a bit hard to handle visually. Remove empty lines between the comments and their respective related code-blocks. Signed-off-by: "Yann E. MORIN" Cc: Thomas De Schampheleire Cc: Thomas Petazzoni Acked-by: Thomas De Schampheleire --- package/pkg-kconfig.mk | 7 ------- 1 file changed, 7 deletions(-) diff --git a/package/pkg-kconfig.mk b/package/pkg-kconfig.mk index 5220fdf..8b777f1 100644 --- a/package/pkg-kconfig.mk +++ b/package/pkg-kconfig.mk @@ -32,36 +32,30 @@ define inner-kconfig-package $(call inner-generic-package,$(1),$(2),$(3),$(4)) # Default values - $(2)_KCONFIG_EDITORS ?= menuconfig $(2)_KCONFIG_OPT ?= $(2)_KCONFIG_FIXUP_CMDS ?= # FOO_KCONFIG_FILE is required - ifndef $(2)_KCONFIG_FILE $$(error Internal error: no value specified for $(2)_KCONFIG_FILE) endif # The .config file is obtained by copying it from the specified source # configuration file, after the package has been patched. - $$($(2)_DIR)/.config: $$($(2)_KCONFIG_FILE) | $(1)-patch $$(INSTALL) -m 0644 $$($(2)_KCONFIG_FILE) $$($(2)_DIR)/.config # In order to get a usable, consistent configuration, some fixup may be needed. # The exact rules are specified by the package .mk file. - $$($(2)_DIR)/.stamp_kconfig_fixup_done: $$($(2)_DIR)/.config $$($(2)_KCONFIG_FIXUP_CMDS) $$(Q)touch $$@ # Before running configure, the configuration file should be present and fixed - $$($(2)_TARGET_CONFIGURE): $$($(2)_DIR)/.stamp_kconfig_fixup_done # Configuration editors (menuconfig, ...) - $$(addprefix $(1)-,$$($(2)_KCONFIG_EDITORS)): $$($(2)_DIR)/.stamp_kconfig_fixup_done $$($(2)_MAKE_ENV) $$(MAKE) -C $$($(2)_DIR) \ $$($(2)_KCONFIG_OPT) $$(subst $(1)-,,$$@) @@ -69,7 +63,6 @@ $$(addprefix $(1)-,$$($(2)_KCONFIG_EDITORS)): $$($(2)_DIR)/.stamp_kconfig_fixup_ rm -f $$($(2)_DIR)/.stamp_{target,staging}_installed # Target to copy back the configuration to the source configuration file - $(1)-update-config: $$($(2)_DIR)/.stamp_kconfig_fixup_done cp -f $$($(2)_DIR)/.config $$($(2)_KCONFIG_FILE)