Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6603464yba; Wed, 1 May 2019 16:05:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxqsrZ6uPrB4nhzTytZlUMgA1+++QdYKgYkwjG0w0Vm4p1TmQjsGXQ9TNtclXIAGd/pKOB X-Received: by 2002:a63:1359:: with SMTP id 25mr595359pgt.92.1556751920087; Wed, 01 May 2019 16:05:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556751920; cv=none; d=google.com; s=arc-20160816; b=vmDjV6TSRbJtaORqFTZmG2Sa4e0ubRO5Y6iFpDNbZo8HLqK7p+V1Jzmy5cQ0FBkSaA 4XLZeelL3ewESnd9cUcyL0/+a/JCmEiRD5MX1Q0pP6PZ6ahYFdfDpIJOMRg5I43DuaN6 K//UVcUFsQEwQ/uATbCVyQgsg9YWJ6SrKJTRDAD6caMtQqIHGo0mzRXsoe0ZXSZ6h9xw QUOkKNsVRtqkYM7HoBO8vabvzon6+0pCYRgy74lfRWb+4Ow9mbyjTRqCI++O/686NqFq TVPjrlhJillWo+H4J/MnOjxiKtMLvEqyKJCv7rqPdzJPJj+xcQEBH0igANMlwn3j6m7w Xf6Q== 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=D2ed1P31yZM+QgJhlTzUd+8uEk27FFwdOzf2d998Bjo=; b=wAsTkCBzP0EEG5U8IyQiKeGXWLG48YN8UwjmcCgnxfXofMZAGFt4Gq1a3EkTeThhPQ pHvbqiZFKMYStBSPKRoeQijT2DBMBOCz8phUSzQFPOONMjv6EJHUxDLyULPo12C7vHOz RTsYoQd44pXHSLzUg1CNOyJUTNAgbL0ybu8H0wuCg/WOzCPCoe9Ny1ahzqiuG7z32Cu8 H4wYbEUGbSqyRKlrBWuNSvFsb9sWgL9HXSLlv7kpXfnIDebnsljdHf5uwucTJ5ugcGIU sErFipMaBAuJNGrNPWrmGdLBqTtLYASQG70R361pOM90q172PmDwDoG2JCMknVcp0285 2bEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=m4vpSF6h; 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 62si10230458pld.143.2019.05.01.16.05.05; Wed, 01 May 2019 16:05:20 -0700 (PDT) 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=m4vpSF6h; 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 S1726418AbfEAXDx (ORCPT + 99 others); Wed, 1 May 2019 19:03:53 -0400 Received: from mail-yw1-f73.google.com ([209.85.161.73]:45329 "EHLO mail-yw1-f73.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726407AbfEAXDw (ORCPT ); Wed, 1 May 2019 19:03:52 -0400 Received: by mail-yw1-f73.google.com with SMTP id 11so1119729ywt.12 for ; Wed, 01 May 2019 16:03:51 -0700 (PDT) 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=D2ed1P31yZM+QgJhlTzUd+8uEk27FFwdOzf2d998Bjo=; b=m4vpSF6hFQAvyyKEfmi7ffOWm5Cf8YCWIkxIT3+iDVpIWfsS1ULEGwFu6Ost8hat7u rnhVAV5Vv9xJT6lOo63I/DHxpQiJpkpLAZN5u2XWO0V9OZ52Ydehqa5w7vEuBON6+gXZ 3STK4kvqQOndMzEtqqLGS2SsTTQyPWssIWHMj8ElJqdMrQ0MviI+sSHecTz/rzS/tJ10 CF6G0RJyeUDcEjoGw8kICUMbi8yNT0pIJerdnIVD9Od+WW+ixwtgrJBY3UFTTqTO2Fw3 Zh8c7NNZ6oqBIahVmM/STUzcD/MOIBXoqKt5JLGq4l8hekE/mIoIfmXWjCZu/3iEiU9+ WUKg== 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=D2ed1P31yZM+QgJhlTzUd+8uEk27FFwdOzf2d998Bjo=; b=HYo+w8jKBIzSqBSvMo7MLc2DsjoFLtfXWSUQ86PxDVJtWNFzRI4+33ynjQQBMy7yf7 UFBjTkx5uficEWwffQ4SuYi9bHiYN7VfawwvsPbWnw/YRGfjmhjVRd0jNrGaZmsw058K avLvoCTjTEViva0TLMi+G6Gj0UVFk92+nf/G1es8NLbm2FcLK9vTgSHHY5OE7ZEhl9ZW C6wlNfSRabO5EsXUBMGoig5mPuS0TRMlwGM+jr/6RsiScep8AvUh4lWytmqfHa+QHkX0 YzzjAIwSDUbmqYichALP9f4aaziqRaupJ/Arxo4/QkXbRNlFehwvAErzXFVtl/sEWvF5 +efA== X-Gm-Message-State: APjAAAWWT14RohYx5DxjLWYTkySXQjp8wTMypSrkqpoXvciRXG9w1m0w YNo4tdvkbKBsnOslgVouNd92GXvcOEXNk3UvM0rhpA== X-Received: by 2002:a25:6649:: with SMTP id z9mr362486ybm.25.1556751830941; Wed, 01 May 2019 16:03:50 -0700 (PDT) Date: Wed, 1 May 2019 16:01:15 -0700 In-Reply-To: <20190501230126.229218-1-brendanhiggins@google.com> Message-Id: <20190501230126.229218-7-brendanhiggins@google.com> Mime-Version: 1.0 References: <20190501230126.229218-1-brendanhiggins@google.com> X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog Subject: [PATCH v2 06/17] kbuild: enable building KUnit From: Brendan Higgins To: frowand.list@gmail.com, gregkh@linuxfoundation.org, keescook@google.com, kieran.bingham@ideasonboard.com, mcgrof@kernel.org, robh@kernel.org, sboyd@kernel.org, shuah@kernel.org, Masahiro Yamada Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-um@lists.infradead.org, Alexander.Levin@microsoft.com, Tim.Bird@sony.com, amir73il@gmail.com, dan.carpenter@oracle.com, dan.j.williams@intel.com, daniel@ffwll.ch, jdike@addtoit.com, joel@jms.id.au, julia.lawall@lip6.fr, khilman@baylibre.com, knut.omang@oracle.com, logang@deltatee.com, mpe@ellerman.id.au, pmladek@suse.com, richard@nod.at, rientjes@google.com, rostedt@goodmis.org, 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 --- 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 2b99679148dc7..77368f498d84c 100644 --- a/Makefile +++ b/Makefile @@ -969,7 +969,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.593.g511ec345e18-goog