Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4729764imw; Tue, 19 Jul 2022 12:05:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sLKKDvAkkKy24W1KvTmqemPLYIpf8AYnz4dz7cOIWmxJSxWD+wg4QOd+Q89QWULsTn2VBL X-Received: by 2002:a63:a55b:0:b0:419:e9df:7495 with SMTP id r27-20020a63a55b000000b00419e9df7495mr19685747pgu.457.1658257544840; Tue, 19 Jul 2022 12:05:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658257544; cv=none; d=google.com; s=arc-20160816; b=0Kg1JFKE6LH4EPCl7jGJpDtTsL9L8oevOuxhQkelRGs94u6k0Tbu48ic1le1ta/wrh Nj1Sy96V18vEOcBDWWiDFRcOpaBnr7A44t2PdjeMANheEDJS2MA9LI0dA9ZA+Pmrgg2Q 8jW2hPGB/9dg13XAlQTXI3dAzLKcWDCDfuBHqsulLlaqbS81awx5aWgTdyFTE/ftLEf0 1ZNitMwetKL2I2VIH/AoiIYopuS/Oj/G64u+HYYT3dhNpyfZsvGBpg+6ocyE1gFjWQTE 37XC1PsZauU4RVtg8PZVJ8hIDRDHyG3ZTfcJtfOoV3FJDhn3CkvdeK8f+Av7uSPQfgY9 x/sg== 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=ZPY4ckHz4IOLMZ7+lDUQuFTD+PbuDPN6VuvecSv8g3s=; b=mpOeifIn11A3EfMcnN10MvfK0t4ho4fSBI6IebIgg3V7tohIUaMWIZHx2o79EXlroT 1QNWAv6x2cuI8gdsH/19XlHGWPS+zvr6qCc/MOqPTQq4P9JSyZuYE9MqHey/Ur7lUyM8 OWGck0aXkFQwmK/fheLJgwm/IbhYCQPA+HOq3wX6k+SQim2psKmNAyMJy3hmw3ywnilP vRHxF1HE1OSDQ9BhZSjldNWH8ZkESvmUrBRLtYFU4UfkPOpUFMZN1sAs+P4eUKrjofa/ eGL6OMQ+5Cx5JBK4wkAn99DP9luW1PwdbAMc5cdcq70RERJhorC3wVy0vU+xZuxU6ZCH Ts7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=XMqXepdP; 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 y27-20020a63495b000000b0040d3fd7ddcesi19287065pgk.370.2022.07.19.12.05.28; Tue, 19 Jul 2022 12:05:44 -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=XMqXepdP; 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 S239218AbiGSRbz (ORCPT + 99 others); Tue, 19 Jul 2022 13:31:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239577AbiGSRbu (ORCPT ); Tue, 19 Jul 2022 13:31:50 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 984DA5A885; Tue, 19 Jul 2022 10:31:49 -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 329456601955; Tue, 19 Jul 2022 18:31:47 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1658251907; bh=jIA5oD7gpTgXWAfR2Mm2w19/e/vskjL1LF249/HQPKo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=XMqXepdPgkUEe+ogPiW5sOOGjTJFuh6/M+BipmxwVp3FCwN7dpsUWnWnAUEhR18Pr IEJGPkx05XNPQW+iy+mj455M9z2dBSwFX7gb7RdXIoMZFq4I5/GF4iOpO+NA/pTRvg dTgUg+EpRKJVBVj2vfB1PsUzsaIWrAXOvvNx4yFCwnks9erHHkRtGjXCl+RZHcNRE2 3wZcbfqg4rK1pm26yBuaXP5Mvb4HNbHc1R2xR5n/RHUFUXh8NxRj87oCpkfHf8Kum+ YCTY/Imwu0T0nLGfwQpxznP8WyhtB1glBCo6LeW3/vkRDwUGYjH2JQPxhWfV3kTrH5 RBZhOR6FRgaNg== Message-ID: <81241d70-7952-2f55-9181-d18679068998@collabora.com> Date: Tue, 19 Jul 2022 19:31:46 +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: Masahiro Yamada , Shuah Khan Cc: Michal Marek , Nick Desaulniers , Shuah Khan , Kees Cook , Anders Roxell , Tim Bird , kernel@collabora.com, Linux Kbuild mailing list , Linux Kernel Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" References: <8fc9d169-78ff-0fe4-67c0-784097861f12@collabora.com> From: Guillaume Tucker In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 19/07/2022 17:06, Masahiro Yamada wrote: > On Tue, Jul 19, 2022 at 9:37 PM Guillaume Tucker > wrote: >> >> 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? > > > No. > > This is a fix-up patch on top of the previous one [1], > which was applied to the kselftest tree. > > This cannot apply to the kbuild tree. OK thank you for confirming. Shuah, I guess you're happy to apply it to the kselftest tree instead then? Guillaume > [1]: https://lore.kernel.org/linux-kbuild/168ede35-12e0-c535-9d94-23b65a1beb28@collabora.com/T/#mb8ec7004f7c9b89fbb50c19022760e19701af7f6 > > > > > > >> Best wishes, >> Guillaume >> >>> Acked-by: Shuah Khan >>> >>> thanks, >>> -- Shuah >>> > > >