Message ID | 20230127135755.79929-5-mathieu.desnoyers@efficios.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp848761wrn; Fri, 27 Jan 2023 06:03:14 -0800 (PST) X-Google-Smtp-Source: AK7set/a3FjLLJzvZYg8Fa47aktwTVSutFCErwISadIMcjhzc22WHs/O1DMJhi1VZcIkHR+SoULx X-Received: by 2002:a17:906:4b01:b0:878:5f8e:26c0 with SMTP id y1-20020a1709064b0100b008785f8e26c0mr5915692eju.7.1674828194536; Fri, 27 Jan 2023 06:03:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674828194; cv=none; d=google.com; s=arc-20160816; b=Xd6F8TaEaXgvGcHKsiGVOLLI8e9vBIqGSa6M8d6wdOJOOl2U3OseOs+GNa2cvlECkK zlRDG+t542mn5LXOgfs9Qsk7Owww0dM36ngFFMpT/7RkVhRmljmRG9kgjj+uInAJURIG ob2Ku3PXsJCkU8dhOWi2lAW27MPJzAcCpaa/60VbxJ0oNkeQ1xhYuN3lRk8vmziPRueH HciESoQ1ctZWJVpgRd0Z6uXou3hsOY5sbUBZ0CfUk4eivuSkbp58hSo24tRP8ZfN1iIz fntQ9YXZUJb4gW/nxdzJCEmn7lywAgMVM8v5uvYEgtXaBi81a41ffnECP1xzKQfmdfZS CIsA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hLta7suNSq0ZDOy1aQGtvx8i9bvpEzRqhXjErgb9/eM=; b=mVBG7mB3SomYLN11UhIK36B+2L6Gh+AkrShbCzYaakycMhtHGV4a2I+idyqXnWJ2Vw H9U2Of5lBGoxuAUweTypeqXNJYDRWIKpcCtc2/oGw0RzJEoBaE9XJqQcG48TYaeP1UB1 UOpp6FnGJdS2+7B1qMbky1Dkt093FDDn2dOW8y1+XPYE3i93PQuG02VkeAQzlb2rr5xC XjS3T9UgCB/44aEw3m1QuD9wsxc5BSEVyuf8QTJKY6cpFdl+aBPFXfMx2xcnoV6RFDao kHB27v7CG6u1T2Huxy7RGxTn0qZykYsFa2FKcxQAIWEnjoA9phKDtznE/fMoNW0xrxjF zi8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b="FS/1CtiD"; 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=efficios.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 19-20020a17090600d300b0084d34979417si5852798eji.323.2023.01.27.06.02.34; Fri, 27 Jan 2023 06:03:14 -0800 (PST) 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=@efficios.com header.s=smtpout1 header.b="FS/1CtiD"; 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=efficios.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232021AbjA0N6t (ORCPT <rfc822;lekhanya01809@gmail.com> + 99 others); Fri, 27 Jan 2023 08:58:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233538AbjA0N6H (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 27 Jan 2023 08:58:07 -0500 Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CA155B8D; Fri, 27 Jan 2023 05:58:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1674827882; bh=K+vhjlywHJgIcCErv80HSw4PprVSDZXcXHTvoqMwzts=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FS/1CtiD9ZoThxVxcGeu74sgRZzAhb0dHuqe5ynvzTx9QGIiP2xCrnzOYI8em+8Vy tWptOoiXdiJzgcRbwrF+OGDiTczOJWYvRIXssRfQyho98bpSlJRyr1cK6s5fNn4p/T Xni7F0OmeixP0R1KOSLNKoAK/TAfE7OP84sM9ZGfdLK5PljJMWFm9e8+nd0Vp2MjLC fM/Np9UP25KAICDrKt5HFL7IS+t3WFhzNCWpEGHmgPK5lll+Ls4QLah+/M1qqSOd2b s0BXyCXv6QIOuPPJDMJHDKOPLJP1lJl+TeG6a0dApov0jzD8SyowRJphQTE+m0MFwp ynQOglEmPKl2w== Received: from localhost.localdomain (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4P3K0T6xF3zhWW; Fri, 27 Jan 2023 08:58:01 -0500 (EST) From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> To: Shuah Khan <shuah@kernel.org>, linux-kselftest@vger.kernel.org, Ingo Molnar <mingo@redhat.com> Cc: linux-kernel@vger.kernel.org, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, stable@vger.kernel.org Subject: [PATCH 04/34] selftests: core: Fix incorrect kernel headers search path Date: Fri, 27 Jan 2023 08:57:25 -0500 Message-Id: <20230127135755.79929-5-mathieu.desnoyers@efficios.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230127135755.79929-1-mathieu.desnoyers@efficios.com> References: <20230127135755.79929-1-mathieu.desnoyers@efficios.com> 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 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756184648846291124?= X-GMAIL-MSGID: =?utf-8?q?1756184648846291124?= |
Series |
selftests: Fix incorrect kernel headers search path
|
|
Commit Message
Mathieu Desnoyers
Jan. 27, 2023, 1:57 p.m. UTC
Use $(KHDR_INCLUDES) as lookup path for kernel headers. This prevents
building against kernel headers from the build environment in scenarios
where kernel headers are installed into a specific output directory
(O=...).
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Cc: Ingo Molnar <mingo@redhat.com>
Cc: <stable@vger.kernel.org> [5.18+]
---
tools/testing/selftests/core/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/core/Makefile b/tools/testing/selftests/core/Makefile index f6f2d6f473c6..ce262d097269 100644 --- a/tools/testing/selftests/core/Makefile +++ b/tools/testing/selftests/core/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -CFLAGS += -g -I../../../../usr/include/ +CFLAGS += -g $(KHDR_INCLUDES) TEST_GEN_PROGS := close_range_test