Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1644579yba; Thu, 4 Apr 2019 15:13:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzK9qqnR+FzqqPSxDC7D8S5oRvGrFBE7llhrGxOa0NHIXlupO5C5ECe7AP2TUHKZ114+MXE X-Received: by 2002:a17:902:e7:: with SMTP id a94mr9051488pla.114.1554415999977; Thu, 04 Apr 2019 15:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554415999; cv=none; d=google.com; s=arc-20160816; b=lhDUa7B/s87Ip3tOcGvbQTnKWNacbzfGLsi4EIrB66FsVjSR7qD7rL6FxauJhipNYr LCjlS4Qg12uG5QpBHt6KNVFDhwCjaLfvV4pEgW/3nSZnGW0TuY7oxInp3r0mfu8dghog BpSX9OHJuCxegUzwezINVLf9iX54gOeDnsYgH3LwD3Jb9GuaZv6ZWEXZGnM0oNZvFKHJ 8Ebn+3KiAASHOg6kfjzXgrM3wMuKV5X9ir39EG6S9neIcduXXh8QV1EkXGhyihYhIEC4 ERxqIVYL7jyDe4Z9Zb48QFALfHbSWto/ybpsEOSWIjUroUf2z7fbyZDcdxNkuJdQ80i3 C8sw== 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=U91xdzHZlZ3sGyz1Z20ZQCMaKP+1OzYt3YQwfxc8mqk=; b=tCdmI5jrMnFdcZwTnOpghe9BQokJvxL0zqNG7+0Flo/78A+ATH+3QehQqg2y7AzDNi Dw6j9W2ZV39wGUpu0zRNCNP2ZsmM5W+r8bc1K1d176m6hxnTCRdh6VeVAGEKlsiHMT/H SoDWVRYJ1hMjK7Kq1SWVGBKa2l9Of+Dwd9iwWA2nw1p85nfFcvtuYjPKKt4wHWbArPSl u2syXam8r7RZ1i39D3jBKHXTIYfT00kSOpzOu6MIzw8FY0iES812wWbIDP9R/Q+ITqTb 1aUifwBMOUTlRZsjdqdovllAjJwJ1QIciZco/lWyC56GEKwhLD8yOrLYNigf1cPvh9c2 GMqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=crx3AgMX; 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 f185si17372837pgc.182.2019.04.04.15.13.04; Thu, 04 Apr 2019 15:13:19 -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=crx3AgMX; 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 S1730775AbfDDWKW (ORCPT + 99 others); Thu, 4 Apr 2019 18:10:22 -0400 Received: from mail-pl1-f201.google.com ([209.85.214.201]:37487 "EHLO mail-pl1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730692AbfDDWKR (ORCPT ); Thu, 4 Apr 2019 18:10:17 -0400 Received: by mail-pl1-f201.google.com with SMTP id v5so2672721plo.4 for ; Thu, 04 Apr 2019 15:10:16 -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=U91xdzHZlZ3sGyz1Z20ZQCMaKP+1OzYt3YQwfxc8mqk=; b=crx3AgMX10zKqVbwSopuqy+wifGFV09vQT9j23Dao28NGYIhSmvtmECrOs2bWqONh/ YJXQ7MRmwYjlHWRg4i7E4lKiCQh6WHQJIVRhSb4UAkuBeyfXD/BwTDd7/srp2cSoVnS/ pQ1U6mMjcpdxjYoBuLD5USSu8WoCdRfaGUxmuVOl7DUMmGCAKJJQc54LTgo5TiyWm7yO rJn8BZ0qYXXofOhUKxArh5dw3es8T7zlO2K53jt14X1LjIOJRgJ/Kw9aIQ+JY+SbeZts slfCit8O8rudAy2x+d0vOtpxXAFJEdEAYW8P23CBeeyEIcUnk9BvPqpniVbgmkYcjGi/ Lecw== 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=U91xdzHZlZ3sGyz1Z20ZQCMaKP+1OzYt3YQwfxc8mqk=; b=YX7JE+4SWM0n+7rA2MwtE/pUhN37wgYQtQKRGY4XtY2b8czwvt+JcjYJwPsJS7+GBh CfnUSYzhYAiAzyLs1mImHeU0cAW9ftIxfkOVceoTu+v1JUBFRFc4QedlqVkh54jkn5in WlzP9Vw6x0MZKV6Ykzuc9aNtuXP1gTIWYkJ2TCljYrPS9Hyq8EKGAgWiRuNornmcGYry cy6AsDlX+LkCzZG50EBKSHjRS4HKmE8ulrfdq70p+YhjwLSk/49kApoWo21oT/47jsRQ hfF3zwO/W/81NrxzL3ssp9cqZ/6xSHEziUFS1WANXmJgi+3jgMHWlO/t9mOUI7Qfyvru R7AA== X-Gm-Message-State: APjAAAU86Ygx+y1mTnUBoQZRfy35+lno5oXUIgaT7sxMCfCDWKn+Jjz+ F9ierhuFNTVLpK6xZJ3VXTNoSLDwtxuDoy/Bmhv/lQ== X-Received: by 2002:a63:4544:: with SMTP id u4mr229417pgk.149.1554415816144; Thu, 04 Apr 2019 15:10:16 -0700 (PDT) Date: Thu, 4 Apr 2019 15:06:41 -0700 In-Reply-To: <20190404220652.19765-1-brendanhiggins@google.com> Message-Id: <20190404220652.19765-7-brendanhiggins@google.com> Mime-Version: 1.0 References: <20190404220652.19765-1-brendanhiggins@google.com> X-Mailer: git-send-email 2.21.0.392.gf8f6787159e-goog Subject: [PATCH v1 06/17] kbuild: enable building KUnit From: Brendan Higgins To: corbet@lwn.net, frowand.list@gmail.com, keescook@google.com, kieran.bingham@ideasonboard.com, mcgrof@kernel.org, robh@kernel.org, shuah@kernel.org, yamada.masahiro@socionext.com 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, gregkh@linuxfoundation.org, jdike@addtoit.com, joel@jms.id.au, julia.lawall@lip6.fr, khilman@baylibre.com, knut.omang@oracle.com, mpe@ellerman.id.au, pmladek@suse.com, richard@nod.at, 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 c0a34064c5744..639d353f98ca9 100644 --- a/Makefile +++ b/Makefile @@ -964,7 +964,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.392.gf8f6787159e-goog