From patchwork Mon Mar 4 16:57:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arseny Maslennikov X-Patchwork-Id: 1051200 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=cs.msu.ru Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oP+E39c1"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=cs.msu.ru header.i=@cs.msu.ru header.b="nvhFwnDj"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44CmSj60Zlz9s4V for ; Tue, 5 Mar 2019 03:58:45 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=M8mcBG+ev7FS8IHccha6CQn0eO7rzJ3XSKCBDjQWrvc=; b=oP+E39c1ZYecWD 3vnWkzWwFhJHPJcnVzs/PoxpjWunYIzdpJM6BTqhBffkAebDNn4+TcPhn9DF4h6/4yLIfb1AKLBRy Y/PkAcmwuuYyf+OceUAJpWSVNTm/YhTEMe199E2rCLwezQysP42LItncwSBdoG+X9TpmTpyExZEfH v0/WRgIOoqCs3y1mrOhCQbs6NZuJq0fR3Jrs75fJ9mI2cld/CnVmxTg8pLA+oXeaUKk9VHetpoZ/8 8yuc902CJaTpvBC25IUhpQdtA/aYL3Hnea7NZjj+7uftZ8mMOUcB/UStLN+ddjLMlSHNPmeqDsEd5 sz39GFCSI2zTVfWb+8uw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0qvI-0001Hk-8d; Mon, 04 Mar 2019 16:58:40 +0000 Received: from imap.cs.msu.ru ([188.44.42.39] helo=mail.cs.msu.ru) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0qup-0000XB-N2 for linux-um@lists.infradead.org; Mon, 04 Mar 2019 16:58:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.msu.ru; s=dkim; h=Subject:Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-Id:Date:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=GW7/I+1ooMEHxbcRBe6rOsQfqs8GoPoLWmKDIsnnTrg=; b=nvhFwnDjGU10k+UibDzIqftVM3 kA+ZXAed9jDKK8PwVg3agj8hJHRZlbK5QfycHXeLIhAlgu9fRN+lC0OLCvmkG3WXOsvXzaSabynRu QZidLM0EMKQKU6MsjyDxht0gwEte6Fcz/JhqlNJEMbFsUcbc9TGTLJDiSbs6y6nURZpEvlNJaqcRw XiSK9QCZX3xBTXFMSGsawHIppxINSBvsCtVbMqJOzFWSkeOjgDc62Zk9xsShWOSboj1zJNgH0+JmC lsq+fTOKbe20Pg6928/cO5i8bV8qHT9L8VBBudXlks0tn0iDrDbKNM5cKzt68lCchYNgU4nTKYDti eENFr2ww==; Received: from [10.7.4.141] (port=59860 helo=cello.cs.msu.ru) by mail.cs.msu.ru with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91 (FreeBSD)) (envelope-from ) id 1h0quO-000JP0-KN; Mon, 04 Mar 2019 19:57:44 +0300 From: Arseny Maslennikov To: Masahiro Yamada , Michal Marek , Jeff Dike , Richard Weinberger , Anton Ivanov Date: Mon, 4 Mar 2019 19:57:31 +0300 Message-Id: <20190304165732.24043-3-ar@cs.msu.ru> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190304165732.24043-1-ar@cs.msu.ru> References: <20190304165732.24043-1-ar@cs.msu.ru> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 10.7.4.141 X-SA-Exim-Mail-From: ar@cs.msu.ru X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.cs.msu.ru X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_ALL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Subject: [PATCH 2/3] Makefile: kselftest: use KCONFIG_CONFIG X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail.cs.msu.ru) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190304_085812_376774_70825FEB X-CRM114-Status: UNSURE ( 8.58 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.4 (--) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-2.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [188.44.42.39 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arseny Maslennikov , linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org If the config file is reassigned through the KCONFIG_CONFIG makeflag/envvar, this rule still attempts to use the wrong, possibly nonexistent file. Let's fix that. Signed-off-by: Arseny Maslennikov --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d5713e7b1e50..4d8760166a47 100644 --- a/Makefile +++ b/Makefile @@ -1199,9 +1199,9 @@ kselftest-clean: PHONY += kselftest-merge kselftest-merge: - $(if $(wildcard $(objtree)/.config),, $(error No .config exists, config your kernel first!)) + $(if $(wildcard $(objtree)/$(KCONFIG_CONFIG)),, $(error No $(KCONFIG_CONFIG) exists, config your kernel first!)) $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh \ - -m $(objtree)/.config \ + -m $(objtree)/$(KCONFIG_CONFIG) \ $(srctree)/tools/testing/selftests/*/config +$(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig