Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp399415imw; Tue, 12 Jul 2022 23:47:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vv4dZUW8SlOEImX1wxbm7Qw4++CmJoOtMkGIeKbHWL+5sFD7TJVP3aWG6hQvsxLsAvQ9fq X-Received: by 2002:a62:6d05:0:b0:528:99a2:b10 with SMTP id i5-20020a626d05000000b0052899a20b10mr1834936pfc.72.1657694877257; Tue, 12 Jul 2022 23:47:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657694877; cv=none; d=google.com; s=arc-20160816; b=FlW+tkAl/+3HTI1GNGuFmC0+9j3jFayfnADVts2JQcJDYT472erMwsvRfK7k8xhsgS F2R6j/Aw+yL+koOhbv5NWgBkEwZkb22ZZOYWmtoycZo9ahMHEY+T7Cg8AvptYjqfT1os HRBnKHd/E84BFTquL/D9s2bZbsUFqWJ9X1sdVyJu5bV10C8X7FUGLkBYVbsbKlH9xOra xiuIlw57INNR/QcfkUi8tgf2Kud/z0BHn045brMn8titn7Hstl1wi5eabgCoesXzs3aT xIuWEu+sXnyP+yEob2xkm+ETT758XTo0hkw2EdLDhtHqTaAverWovJBk5A55Klt6SFLl egig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=5KN+jrG+RX/y/7Hb33DU6uvmrU1ENXPtFSgcHHpIC1o=; b=XbrpVX9A8QAIdBbot1GEMFYdo6eg2FlvHz8YWhw/v0ey40aZJdUc/IOY36iwUl2Iv2 W/KK7/tSewGuooX/YlU6Se2wOy3Har97E2D4PoUXoExH+ptbiJWLPNuQWDYlmhCFmkAE eSpDCeSDOXBVikqNdM4oYIWC3Wbf0p1HdFfxXbiCIKa2OIyTVkVMqFgXNFiFmireXPQK g3W/H0CFQRB065bM9JIz4C6QaaS5ChDbK+v6FujTCOqwAty3nzsv/nKPhjnhBoXrqhVN NzxuflLyUbr7/GQD5lVZbNIq3chFLMjbv2mxPqQipfOC/pT3Fm+rB619E/kHH2nFIAJm oavw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ZkUIHeIv; 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 n4-20020a170902f60400b0016c786846b2si833238plg.53.2022.07.12.23.47.43; Tue, 12 Jul 2022 23:47:57 -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=ZkUIHeIv; 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 S233343AbiGMGeE (ORCPT + 99 others); Wed, 13 Jul 2022 02:34:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233744AbiGMGeA (ORCPT ); Wed, 13 Jul 2022 02:34:00 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AB026EEB6; Tue, 12 Jul 2022 23:33:59 -0700 (PDT) Received: from localhost.localdomain (86.166.5.84.rev.sfr.net [84.5.166.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 E7D3A6601A34; Wed, 13 Jul 2022 07:33:56 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1657694037; bh=Bh/K41wvIG4TPoBcy9qS5NVjHErbM3kSr7yTQO5HdGQ=; h=From:To:Cc:Subject:Date:From; b=ZkUIHeIvVE+nK75mXrZnTV8XnnkY5xN4jaBLk4AGP1ga7UIw3Gqs/lITrZzNT3NAX 8nGbdgW0hsaqMfh/+MG2hoOkjwI1dHVD6Yyc8qWSb0GdKxQiT5iFEZr3rwlHIeM6qu TDGyoVq8+SI7QUXBheDqtg8ZwH83UTfPwWuyQCVCbpS7xAgfjy3FYtMDZUWDV+XqT/ g1kTcL8FcZZHnvmDTbvgYJ8IzY2NPJz4tzrO5/tTuu0FKEMxOSzt6jQHhC2cL6epVa nsAYJws3pz829E2ZSOyDaKR+FAdGxPI7K4R1MsA/ygcXNtSAoJacJgeBZNdLkSYPT4 52TgQUTW53RFQ== From: Guillaume Tucker To: 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 Subject: [PATCH] Makefile: replace headers_install with headers for kselftest Date: Wed, 13 Jul 2022 08:33:43 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 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,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 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 -- 2.30.2