Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4505469imw; Tue, 19 Jul 2022 07:53:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v1r+MZQ2VHmOLiCnTRvE5ZNIk75p8LRnTzRkm6KwNJ67yyDR1IG+7goNl94iIml1SOoAZD X-Received: by 2002:a05:6870:a191:b0:10b:f366:8d1b with SMTP id a17-20020a056870a19100b0010bf3668d1bmr17211367oaf.2.1658242406620; Tue, 19 Jul 2022 07:53:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658242406; cv=none; d=google.com; s=arc-20160816; b=KVUCmXBbIIsfGy9rsSZHNe8AUtXtVBvVn+u1kzUeGJuXWw1V1wczY5PBT2Q2P+Fp2H ilyoH+DTokOylSZhq4M9cDkI9w2bIxDF0zIaIxo71Vw5RKgaes5W81LjEw4LKgk2Z1y1 o90CKDuLUAIbk1rH1oMl/4Ij2uV7xw66NZTkSNZxXWW7m7DN/eRIJ1FDgzJ/2r5fDfCY mMA5Ya8AHHcfRkVIdr7e5vIJD8qGOipMcjaFdnWf2KCCHZ8ks0nVwQbmFYhu+r1i70lJ 4javYo+3gx7xceca0VHKz+zvmVn7z9N5aF9UPenuYM0jx7a4UwX4aRTh/1F3Gf0UCy6S Ld6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=gWYkt9EPGt0lJbNQ7M9O13qz8hq02NUZzF2OaWN1EDE=; b=YaoU+oLN8yw3h4kPbDJVnOOEx3q0OcQeO5vEckJ30kbJ1VtVA2sTJDOGvGSSJM+FPD VkuOsAUGGKuZxR8oOVfkjYg8suAWkky2jWux01+1gMLcxmF6PEiU4LKjn6uallgptVrR zLEkwZyztCwZZkD8Se0IJVuuKf7DLnkY8MrYlBqaeI6dwA5WBwhMLuU37O7gtR7577D9 HYMK210yllNMv0Xsfwm/+UIau/h/4X5KcHe1nO94cvrkkJ6D02I5ZVkFnwEPtCK6PRaY ggEySsRzO7PCcK09iiTe1OF57Ao5mg8LieX7gDMsnIXLU8S9xQBvkF+bz9AlcJE/sF1k PG8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=YfR11FBp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u10-20020aca600a000000b00339fd79d565si12831801oib.279.2022.07.19.07.53.14; Tue, 19 Jul 2022 07:53:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=YfR11FBp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240869AbiGSNV1 (ORCPT + 99 others); Tue, 19 Jul 2022 09:21:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234089AbiGSNVL (ORCPT ); Tue, 19 Jul 2022 09:21:11 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A05E5A160; Tue, 19 Jul 2022 05:37:22 -0700 (PDT) Received: from [192.168.1.72] (136.203.115.78.rev.sfr.net [78.115.203.136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: gtucker) by madras.collabora.co.uk (Postfix) with ESMTPSA id 82A216601A38; Tue, 19 Jul 2022 13:37:19 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1658234240; bh=wWppogLD5zvn424zVkczPstVmt7AHw1XWt3/QUo8fcs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=YfR11FBpG+V4i8kKp3fXf+IFG0HHjy2q54moSk2syuggQPp6vlROFGrbrDyrm9pS5 bj6+44CcyVsvWl26P6y+h/05hIXG/+Hw5DOv14dH9lcBUlnO85tEnDQuZ8GYPA1OxO BnIviNip25/4X3aIZoq8wSvPebv/quZQ1uKjxAx+KqHfA1z6mVIxA05NVHjHkCcl0a AiFZqbodH5pIU0Hwymd4F5KiGsJMWE6NcLTd3IiYO7DwQAFRIOl/cg1inNmHgvZTno 96fPbiNXfMo6agx1KoJAKCxdPtHJce8QanLcVu1lINgdwF//KaJPrrwRs9dHY9ZTol QBz+CK0zkD93Q== Message-ID: <8fc9d169-78ff-0fe4-67c0-784097861f12@collabora.com> Date: Tue, 19 Jul 2022 14:37:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] Makefile: replace headers_install with headers for kselftest Content-Language: en-US To: Shuah Khan , Masahiro Yamada , Michal Marek , Nick Desaulniers , Shuah Khan , Kees Cook Cc: Anders Roxell , Tim.Bird@sony.com, kernel@collabora.com, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org References: From: Guillaume Tucker In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/07/2022 22:45, Shuah Khan wrote: > On 7/13/22 12:33 AM, Guillaume Tucker wrote: >> Replace headers_install with headers as kselftest uses the header >> files from within the kernel tree rather than from a system-wide >> installation. >> >> We can still run this directly: >> >>    $ make O=build kselftest-all >> >> and when building from the selftests directory: >> >>    $ make O=build headers >>    $ make O=build -C tools/testing/selftests all >> >> Signed-off-by: Guillaume Tucker >> Reported-by: Masahiro Yamada >> --- >>   Makefile | 4 ++-- >>   1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/Makefile b/Makefile >> index fb2f3bb53a6b..5c934d16664c 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -1347,10 +1347,10 @@ tools/%: FORCE >>   # Kernel selftest >>     PHONY += kselftest >> -kselftest: headers_install >> +kselftest: headers >>       $(Q)$(MAKE) -C $(srctree)/tools/testing/selftests run_tests >>   -kselftest-%: headers_install FORCE >> +kselftest-%: headers FORCE >>       $(Q)$(MAKE) -C $(srctree)/tools/testing/selftests $* >>     PHONY += kselftest-merge >> > > Thank you for taking care of this. This will go through kbuild? You're welcome. Masahiro-san, A you OK with applying this in the kbuild tree ahead of the upcoming merge window? Best wishes, Guillaume > Acked-by: Shuah Khan > > thanks, > -- Shuah >