From patchwork Tue Sep 18 03:58:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 970916 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=none (p=none dis=none) header.from=socionext.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FVedOuM2"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="t387fXDm"; 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 42Dq4Y3hr9z9sCR for ; Tue, 18 Sep 2018 13:59:25 +1000 (AEST) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=v571Vb39zy6+YPMWTApt+KtSe+bXippob2ZFRtA8XS8=; b=FVe dOuM2d8lPcmI3mcZMBmhKzIxzPvcXJl3hgAxrQ4r3+DZGY/jGLOjzS30p9yYnoZElpQAYCTxlhgKz rAVpMAZugbhe7DHS3SR6kCfeZoDFU9F6PBCJl+02r/glsMaKKD5Y/coulN5tYg5rLrmK7o0ZsEu++ 1+hSAOBQWUSka9nJupwi4ukAEKjrRmsTNmviud+FYxJ4tA0qAJToutFCsNRDwHx5KUDxUJDU8mHUq bmQeXRXXlrq2AKR7yCd4t3t7UxlU/OjwtSN9AOcd0ZgeESZnoLd7V8uXIp0LcgU9Eaej0g5wlmj9U 5HC9ajL92uvcb3U9+G+dHJhAeiqp6XQ==; 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 1g27AS-0005Bb-5T; Tue, 18 Sep 2018 03:59:16 +0000 Received: from conuserg-09.nifty.com ([210.131.2.76]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g27AP-0005AU-MD for linux-um@lists.infradead.org; Tue, 18 Sep 2018 03:59:15 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id w8I3wa79011632; Tue, 18 Sep 2018 12:58:36 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com w8I3wa79011632 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1537243117; bh=0GikBV1boSu4LBO9XSS9Q0Txn8pjxfM2Z9dgnIB1h6o=; h=From:To:Cc:Subject:Date:From; b=t387fXDmKNcY0mnPMgorqrrUlvqP8UTplmVvf1y5oEAT1p49UAPTuiJWNcJfDMlPa 5WBXcEGSgkuS+zLPDQugioZbxnbvit9AgpQh/FVKKW94mLtRab+lHloIvwgHg1Ii83 CKc0Pf60QETfSWmrQ5OJBjL6h+yGScon/XgNk5PGsjQ4OteW4ha5llnvPT4vYCROze jFRnbMceFR2hiCUklmdNXlr2y+RJR3J8bFSvzGijims5MoFQyLynVidI+GTvqLeeLt cER+MXVGxD7JZw3Qio4VYvtIzYftDY+EcjSI92qqy9YhMBvvs7HRWCMWChY145GDyU k0/NDYyCi6T2A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Subject: [PATCH] samples: disable CONFIG_SAMPLES for UML Date: Tue, 18 Sep 2018 12:58:33 +0900 Message-Id: <1537243113-1710-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180917_205913_946498_42343A0F X-CRM114-Status: UNSURE ( 7.20 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.0 (+) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (1.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [210.131.2.76 listed in list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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: Arnd Bergmann , Richard Weinberger , Jeff Dike , linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, Bjorn Andersson , David Howells , Masahiro Yamada , Alex Williamson , Gerd Hoffmann , Andy Gross MIME-Version: 1.0 Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Some samples require headers installation, so commit 3fca1700c4c3 ("kbuild: make samples really depend on headers_install") added such dependency in the top Makefile. However, UML fails to build with CONFIG_SAMPLES=y because UML does not support headers_install. Fixes: 3fca1700c4c3 ("kbuild: make samples really depend on headers_install") Reported-by: Kees Cook Cc: David Howells Signed-off-by: Masahiro Yamada --- samples/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/Kconfig b/samples/Kconfig index bd133ef..ad1ec701 100644 --- a/samples/Kconfig +++ b/samples/Kconfig @@ -1,5 +1,6 @@ menuconfig SAMPLES bool "Sample kernel code" + depends on !UML help You can build and test sample kernel code here.