Message ID | 20230127135755.79929-17-mathieu.desnoyers@efficios.com |
---|---|
State | Accepted |
Commit | 65c68af0131bfef8e395c325735b6c40638cb931 |
Headers | show
Return-Path: <linux-kselftest-owner@vger.kernel.org> 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 059D2C54EAA for <linux-kselftest@archiver.kernel.org>; Fri, 27 Jan 2023 13:58:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234178AbjA0N6d (ORCPT <rfc822;linux-kselftest@archiver.kernel.org>); Fri, 27 Jan 2023 08:58:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233739AbjA0N6M (ORCPT <rfc822;linux-kselftest@vger.kernel.org>); Fri, 27 Jan 2023 08:58:12 -0500 Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 688582197E; Fri, 27 Jan 2023 05:58:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1674827884; bh=k3Z/Eqp3e8HyxFyohB0vGYb9ihS+11AAagQRfVUvXCQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jv0ybvBusQbcS1LsrWWsK7bbFqIGXNAoSo7I58/nh8B4SvrDZz0BpRTpgIU36akLb lHBA28sJT/rynLoy0RCC4KsdCtqAb3lBVpNN6MxdJIv214RjTBzrz38LMH4CQ5MkLF 0j1PqndXYTop1JRH8diTjjeyhSkS/CRwqMbwV8DflReQnvq50hk7aWNsDYjZTBwicn LK3T2xj71BTWuiTS1RJaa/SvfFJMhewAkpBn2fFbkdrCq5ONJM9qZvSpqNj5dE5kCS hadmPm0QrXGPmkMk6aoyhktcVAueNy9AtSsk8NbWqE17cPi1NKb7iD3Pi/5rmu52YB xKZ3lNi8w+0Pg== Received: from localhost.localdomain (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4P3K0X3v5ZzhWc; Fri, 27 Jan 2023 08:58:04 -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 16/34] selftests: move_mount_set_group: Fix incorrect kernel headers search path Date: Fri, 27 Jan 2023 08:57:37 -0500 Message-Id: <20230127135755.79929-17-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 Precedence: bulk List-ID: <linux-kselftest.vger.kernel.org> X-Mailing-List: linux-kselftest@vger.kernel.org |
Series |
selftests: Fix incorrect kernel headers search path
|
expand
|
diff --git a/tools/testing/selftests/move_mount_set_group/Makefile b/tools/testing/selftests/move_mount_set_group/Makefile index 80c2d86812b0..94235846b6f9 100644 --- a/tools/testing/selftests/move_mount_set_group/Makefile +++ b/tools/testing/selftests/move_mount_set_group/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 # Makefile for mount selftests. -CFLAGS = -g -I../../../../usr/include/ -Wall -O2 +CFLAGS = -g $(KHDR_INCLUDES) -Wall -O2 TEST_GEN_FILES += move_mount_set_group_test
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/move_mount_set_group/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)