Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp189123imj; Thu, 14 Feb 2019 18:17:34 -0800 (PST) X-Google-Smtp-Source: AHgI3IarRI7goQ2UWKZ128OkERI4Q5L5RDd1IpPgxIHi/gb3ZxyqX2ZN6Y7sItOMHT+DR3b95FLO X-Received: by 2002:a62:bd17:: with SMTP id a23mr7227787pff.233.1550197054372; Thu, 14 Feb 2019 18:17:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550197054; cv=none; d=google.com; s=arc-20160816; b=GdcQocL7W0PbHafIVFA/OJNhi0mybcJG5Qc08lrLZuoTzVjGKXPxjf/4v5LFHj/MOY zmoWXnQTpHOnu2RJJ40wFdG6ZxBOIuI1KMAM0LNN42w4qCBIEkcpEJSoi3qe/SP7j8WM kLGtNyWNV6pyFRU3/nCL8bZH5wg9AE++xCzlKLDCZ2LNprVscW/c02w1YDn0RwvT2NP/ bOgXW+YKkhBg0Okz6xANDfVumAYrj5WpYimNLau6CvtKszNaJFtcKAqfsgsBFvrKn6TM ufRC1t9HVqyc2FuJHSUQlmhSmbzxUpVKCRy/nzq5CdQLUGcf9DXfJbPVltARiecCUUzK KI6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=h+keLiQ8UrSvEm7+wL7InKcQs/d0wg/MdPLT1U+V0Ho=; b=nEyZNi/zfw2akGIBx5qHA0v1vQLIas+ELYGJZlIZ5ojtUb3EhZrHa9BrnrSqRO3ttF qx0zaP7lijsN/rozfxV+O8ogkETK69uvM95o+qJRtiahXvdaUYlMLFk2TnkfvZtulRV2 OCugoV9wgOms4cGP4xkpGe/iw/De8ykWVOvZdszQPgPMIZSjMvbkZ9CL+AzQ8bIz7ylL 0JUjufKypRBFVHwnItdjvnlzceMvzKKbKlYIFPvAXm1lwsAgQdpkWT2FP18HEf886Vnm qi9Ed8MATgRTWsPbQu62wbfPMBGvI9BM18Fd5VyWNrNYVfF/LJ78DLp5qPjsFK9XK8Fg 7M9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=BXI2cnVY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2si4277215pla.81.2019.02.14.18.17.18; Thu, 14 Feb 2019 18:17:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=BXI2cnVY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729773AbfBNVkO (ORCPT + 99 others); Thu, 14 Feb 2019 16:40:14 -0500 Received: from mail-qk1-f201.google.com ([209.85.222.201]:32937 "EHLO mail-qk1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2503331AbfBNVio (ORCPT ); Thu, 14 Feb 2019 16:38:44 -0500 Received: by mail-qk1-f201.google.com with SMTP id n197so6442272qke.0 for ; Thu, 14 Feb 2019 13:38:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=h+keLiQ8UrSvEm7+wL7InKcQs/d0wg/MdPLT1U+V0Ho=; b=BXI2cnVYMUYwcQEU11+rgRhxE47n/thlxwGOpDjMnOxVeEQP0xokJ4nExSRcuK7SM0 QAAmlXECYYny7H4j6j51UL6iuiHYQF3g9l7aEuX2Jvz6oXm+2+CaJkevycJsRcEdkukZ AOTE+D/EYnpm5ajS1mu5g+SjJ9JXgvOFvJ5n1t49w29nl+2WdwVh2sdKeQyBUMSrPWNH fzldV7om7MT58A6bj4ylmdSIJhce8j1K2OfKJiif1T5QxSUGn4JvJ6fTMIn5/RTlHAyq be0LePsoUOPZVHvloaYd2XW+4pmC2FjvjAgvvCvI3eecIy5Y5XwruIR0CekLlogHJIyO 6aiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=h+keLiQ8UrSvEm7+wL7InKcQs/d0wg/MdPLT1U+V0Ho=; b=cy/CoLX6m1tUjpcOuiBD0GLowoQuOWHBCPPVr7Y/kYivPcr1ASRqYrzvRBz0DjEtE2 mE/F7fXDPIC8k81GFV+1jxcF/iw4pTZUNSL7KhHbOE4PdHwAY+kXTmAqLpCBPjiBVqOH 5W1GqmvGSTq/e1hY9Q2JP2IlrLEgEgl00nTpVdIFJ113kMeCo8eTwPStY1ueK4bA+iae iuSlLjsQKCwoqpVOtqP9AVktAgqK/pCJBXl1MAbmPOGiCOTdmzRxNWKHMyzQkNCKRVEZ mZw9jnlRNqI1e2lGzFdBVHTNTnPEBG4iFcmu2NsI901hhswgfAslKXqHXB9eKa2h3dk0 vB9A== X-Gm-Message-State: AHQUAuZDUArO/b3Q/H7L9U6+w9WaLStJ6WaXTOaeogkiQUyckwyOHc2N EQZuW4P4e8bQvpb78AB2uKEOBvk+o1TrXHSEiE41Yw== X-Received: by 2002:aed:22ac:: with SMTP id p41mr2368970qtc.55.1550180323042; Thu, 14 Feb 2019 13:38:43 -0800 (PST) Date: Thu, 14 Feb 2019 13:37:18 -0800 In-Reply-To: <20190214213729.21702-1-brendanhiggins@google.com> Message-Id: <20190214213729.21702-7-brendanhiggins@google.com> Mime-Version: 1.0 References: <20190214213729.21702-1-brendanhiggins@google.com> X-Mailer: git-send-email 2.21.0.rc0.258.g878e2cd30e-goog Subject: [RFC v4 06/17] kbuild: enable building KUnit From: Brendan Higgins To: keescook@google.com, mcgrof@kernel.org, shuah@kernel.org, robh@kernel.org, kieran.bingham@ideasonboard.com, frowand.list@gmail.com Cc: gregkh@linuxfoundation.org, joel@jms.id.au, mpe@ellerman.id.au, joe@perches.com, brakmo@fb.com, rostedt@goodmis.org, Tim.Bird@sony.com, khilman@baylibre.com, julia.lawall@lip6.fr, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, jdike@addtoit.com, richard@nod.at, linux-um@lists.infradead.org, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, dan.j.williams@intel.com, linux-nvdimm@lists.01.org, knut.omang@oracle.com, devicetree@vger.kernel.org, pmladek@suse.com, Alexander.Levin@microsoft.com, amir73il@gmail.com, dan.carpenter@oracle.com, wfg@linux.intel.com, Brendan Higgins Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add KUnit to root Kconfig and Makefile allowing it to actually be built. Signed-off-by: Brendan Higgins --- Changes Since Last Version - Rewrote patch description. This was previously called "[RFC v3 06/19] arch: um: enable running kunit from User Mode Linux," which was incorrect since this patch does not have any UML specific bits in it. --- Kconfig | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Kconfig b/Kconfig index 48a80beab6853..10428501edb78 100644 --- a/Kconfig +++ b/Kconfig @@ -30,3 +30,5 @@ source "crypto/Kconfig" source "lib/Kconfig" source "lib/Kconfig.debug" + +source "kunit/Kconfig" diff --git a/Makefile b/Makefile index 3142e67d03f1b..d10308eb7f214 100644 --- a/Makefile +++ b/Makefile @@ -958,7 +958,7 @@ endif PHONY += prepare0 ifeq ($(KBUILD_EXTMOD),) -core-y += kernel/ certs/ mm/ fs/ ipc/ security/ crypto/ block/ +core-y += kernel/ certs/ mm/ fs/ ipc/ security/ crypto/ block/ kunit/ vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \ $(core-y) $(core-m) $(drivers-y) $(drivers-m) \ -- 2.21.0.rc0.258.g878e2cd30e-goog