From patchwork Mon Sep 26 04:05:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 76983 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp971313qgf; Sun, 25 Sep 2016 21:03:41 -0700 (PDT) X-Received: by 10.28.163.2 with SMTP id m2mr13113967wme.62.1474862621379; Sun, 25 Sep 2016 21:03:41 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id c65si6774146wmi.105.2016.09.25.21.03.41; Sun, 25 Sep 2016 21:03:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 62BD3A76C0; Mon, 26 Sep 2016 06:03:39 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j3pwvElsGmKb; Mon, 26 Sep 2016 06:03:39 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C94FCA76DE; Mon, 26 Sep 2016 06:03:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E0258A76F6 for ; Mon, 26 Sep 2016 06:03:33 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lZGpbTn2CF1d for ; Mon, 26 Sep 2016 06:03:33 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-12.nifty.com (conuserg-12.nifty.com [210.131.2.79]) by theia.denx.de (Postfix) with ESMTPS id 11A71A76C0 for ; Mon, 26 Sep 2016 06:03:29 +0200 (CEST) Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id u8Q42tmF006107; Mon, 26 Sep 2016 13:02:57 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com u8Q42tmF006107 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1474862577; bh=LrzCT/clX//fX/dMfKhXzAS385rXoIroUzm+KO9Be7A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=289O5ZZwNzKAXef7DZohff4Dq0dFS9hopLV+eqVEaHyED2MkKX8dFXY0tLsyRdoR/ v/gsS/sAzHO4oGvM+AAbruFNFjn7SnIZOAOYf0ZJM9hSjCaiPVDQzjyg3fNBogV0ZS GoWa7/2xB4OXhRxi92OcodHlChRn+Lf3MpDjoJS+Km9TTWnHuCPH+ypzOldCm0oilS GA9dpE88Hjkc7/g70c3sudNUblbu1fSODL9dye/dpcUG0/V8rmxQPlIf/ZmuKTRRxj YF/qyOJUvfk5V/enbKInZqyodwAN59gTFJFX5AFzKtUWx8QBJhnn+qz5pUlwonQtan EnOha9sZt7W3A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Mon, 26 Sep 2016 13:05:00 +0900 Message-Id: <1474862702-16580-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1474862702-16580-1-git-send-email-yamada.masahiro@socionext.com> References: <1474862702-16580-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini , Stephen Warren Subject: [U-Boot] [PATCH 3/5] kbuild: make dependencies in scripts/Makefile.autoconf more readable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" I do not remember why I wrote the code like this, but let's make it a bit more readable. Signed-off-by: Masahiro Yamada --- scripts/Makefile.autoconf | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/scripts/Makefile.autoconf b/scripts/Makefile.autoconf index 01a739d..ba674f8 100644 --- a/scripts/Makefile.autoconf +++ b/scripts/Makefile.autoconf @@ -46,7 +46,7 @@ quiet_cmd_autoconf_dep = GEN $@ -MQ include/config/auto.conf $(srctree)/include/common.h > $@ || { \ rm $@; false; \ } -include/autoconf.mk.dep: FORCE +include/autoconf.mk.dep: include/config.h FORCE $(call cmd,autoconf_dep) # We are migrating from board headers to Kconfig little by little. @@ -71,20 +71,17 @@ quiet_cmd_autoconf = GEN $@ rm $@.tmp; false; \ } -include/autoconf.mk: FORCE +include/autoconf.mk: include/config.h FORCE $(call cmd,autoconf) -spl/include/autoconf.mk: FORCE +spl/include/autoconf.mk: include/config.h FORCE $(Q)mkdir -p $(dir $@) $(call cmd,autoconf,-DCONFIG_SPL_BUILD) -tpl/include/autoconf.mk: FORCE +tpl/include/autoconf.mk: include/config.h FORCE $(Q)mkdir -p $(dir $@) $(call cmd,autoconf,-DCONFIG_SPL_BUILD -DCONFIG_TPL_BUILD) -include/autoconf.mk include/autoconf.mk.dep \ - spl/include/autoconf.mk tpl/include/autoconf.mk: include/config.h - # include/config.h # Prior to Kconfig, it was generated by mkconfig. Now it is created here. define filechk_config_h