From patchwork Mon Sep 26 04:04:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 76986 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp971475qgf; Sun, 25 Sep 2016 21:04:14 -0700 (PDT) X-Received: by 10.194.170.163 with SMTP id an3mr18616776wjc.73.1474862654026; Sun, 25 Sep 2016 21:04:14 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id r12si17671136wjw.290.2016.09.25.21.04.13; Sun, 25 Sep 2016 21:04:14 -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 23075A7793; Mon, 26 Sep 2016 06:04:01 +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 wDhgZe4MKB-E; Mon, 26 Sep 2016 06:04:00 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 69C22A7799; Mon, 26 Sep 2016 06:03:55 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3F1D2A775C for ; Mon, 26 Sep 2016 06:03:47 +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 TqskdqXH2yqk for ; Mon, 26 Sep 2016 06:03:47 +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 13C03A774D for ; Mon, 26 Sep 2016 06:03:40 +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 u8Q42tmE006107; Mon, 26 Sep 2016 13:02:56 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com u8Q42tmE006107 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1474862577; bh=l9fXmKVTNqTaVl/AfWMm2bTMYrnxCN+s6qq9F8FxXk0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hNDniGjeuMRlnKzcLQG4tX2B10oO+zJlAM0zHaIv9vx/w7DxTpUb0BX/3oT96psKA iSGHB+ZN+JP0CjL110/n/Yc6lH7cDGCFi8Pv48evV3rjJy7p2jywoLpnAjjoXnqZrU mfTrIl8MoluRZSqn1QLPKJ5kr12iKMdn/tLc33EIKVZW72yi3ZmoLa1pT6KFY+5e6t ReyeVUw7yhurZWdQ/9MJ9nVruASrtsCSuNu3i6DcP273dsWv0PQdq3EjDu+Ybkit46 PHh0gk2r7k5ARFEstSRTNCMihDDiO+JlHekpF5o3q8C8VmHh2BtyUj1qs7hzrNTGNH xlh9rodBae/3Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Mon, 26 Sep 2016 13:04:59 +0900 Message-Id: <1474862702-16580-3-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 , Stefan Roese Subject: [U-Boot] [PATCH 2/5] kbuild: move no_new_adhoc_configs_check to "all" target command 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 am going to move the build rule of u-boot.cfg. Before that, no_new_adhoc_configs_check must be tweaked to not depend on it. The ad-hoc option check can be done at the end of build, along with other checks. Signed-off-by: Masahiro Yamada --- Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/Makefile b/Makefile index c30f90a..2f7a52b 100644 --- a/Makefile +++ b/Makefile @@ -741,7 +741,7 @@ endif # Always append ALL so that arch config.mk's can add custom ones ALL-y += u-boot.srec u-boot.bin u-boot.sym System.map u-boot.cfg \ - binary_size_check no_new_adhoc_configs_check + binary_size_check ALL-$(CONFIG_ONENAND_U_BOOT) += u-boot-onenand.bin ifeq ($(CONFIG_SPL_FSL_PBL),y) @@ -820,6 +820,11 @@ ifeq ($(CONFIG_DM_I2C_COMPAT)$(CONFIG_SANDBOX),y) @echo "before sending patches to the mailing list." @echo "====================================================" endif + @# Check that this build does not use CONFIG options that we do not + @# know about unless they are in Kconfig. All the existing CONFIG + @# options are whitelisted, so new ones should not be added. + $(srctree)/scripts/check-config.sh u-boot.cfg \ + $(srctree)/scripts/config_whitelist.txt ${srctree} 1>&2 PHONY += dtbs dtbs: dts/dt.dtb @@ -950,13 +955,6 @@ endif u-boot.cfg: include/config.h FORCE $(call if_changed_dep,cpp_cfg) -# Check that this build does not use CONFIG options that we don't know about -# unless they are in Kconfig. All the existing CONFIG options are whitelisted, -# so new ones should not be added. -no_new_adhoc_configs_check: u-boot.cfg FORCE - $(srctree)/scripts/check-config.sh $< \ - $(srctree)/scripts/config_whitelist.txt ${srctree} 1>&2 - ifdef CONFIG_TPL SPL_PAYLOAD := tpl/u-boot-with-tpl.bin else