From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19A19C43334 for ; Thu, 14 Jul 2022 20:45:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240604AbiGNUpZ (ORCPT ); Thu, 14 Jul 2022 16:45:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240614AbiGNUpW (ORCPT ); Thu, 14 Jul 2022 16:45:22 -0400 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 448D15464C for ; Thu, 14 Jul 2022 13:45:21 -0700 (PDT) Received: by mail-il1-x132.google.com with SMTP id b12so1589573ilh.4 for ; Thu, 14 Jul 2022 13:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=l5kqjDQxPDfnO/p1iTyqBq5xMARQy02hbfQd6S9DIxo=; b=AqJOSaWTPWW4l7m2eAwfo/OBadcln3Rf8X/B99A4tzqg31Qcnc5bc22CJit/vgjfth W2FwUX2BxbbaDgU0hCy05bI62PAzNPis1M/PjZunq0MA/frWB5cZ4l6/BwJNQgneT931 +38C0bEI9HaZTFnT5FFoBjVKvVyIFYxfNcE08= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=l5kqjDQxPDfnO/p1iTyqBq5xMARQy02hbfQd6S9DIxo=; b=vos/NR1rJBel3aD9CjYPo1V10hZQBvSWOSDXdHOsqmKOk9hdpVQpOUjdnCm1Q3KrBa q9UCqxdTMYwq8sJTBr+lMWJ/ZUn5/ihmp3t81GUwr10Omm1g0G2SCWfLyLliXINKxPl7 BZKHW/m8TM3s5hSEl3zWinwDrk0GVwqPDO/9XvybrSW0P1P5dFtQHR1RA7PSsQjYCQ/L Dn1/Szlh69eglz6JWCZh1eTq2NoHu6NoUfaugQCXmxHAB3c0W2bNklo47mSXI+jNGSo/ xW9YYkDa00M3lw9HfjOz6CCF+ldKo1qg8ze1ALw+fjre+ORAiFdy9hUPtU6oL4P4QhnA tFQg== X-Gm-Message-State: AJIora/CD1vHd9XBl3cbpPQsgbXISzpJLEOMkohxK2sppNNbV51pi1FX 4RLSAt9TfS0xCasG6UbOHMHi3Q== X-Google-Smtp-Source: AGRyM1twniS5ciAxaVqt5XzCd3NVKOLc6Y2l/ntXh54cUObh6jEh5CbFwC0S90S0IeqfssIWMGSveg== X-Received: by 2002:a05:6e02:1a45:b0:2dc:27a6:7651 with SMTP id u5-20020a056e021a4500b002dc27a67651mr5508056ilv.102.1657831520566; Thu, 14 Jul 2022 13:45:20 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id p123-20020a022981000000b0033eb2f2ccfasm1147979jap.43.2022.07.14.13.45.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Jul 2022 13:45:19 -0700 (PDT) Subject: Re: [PATCH] Makefile: replace headers_install with headers for kselftest To: Guillaume Tucker , 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, Shuah Khan References: From: Shuah Khan Message-ID: Date: Thu, 14 Jul 2022 14:45:18 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Acked-by: Shuah Khan thanks, -- Shuah