Message ID | 20230127135755.79929-12-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 s9csp847206wrn; Fri, 27 Jan 2023 06:01:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXtxnY5caCQIdQ7z1BMdqmFsT1FDBGQNoBYKw+I2lTXOAgLXrtSbmH25hs4YDPUc79A3QZ9o X-Received: by 2002:a05:6402:f20:b0:468:58d4:a0f2 with SMTP id i32-20020a0564020f2000b0046858d4a0f2mr49647760eda.23.1674828071201; Fri, 27 Jan 2023 06:01:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674828071; cv=none; d=google.com; s=arc-20160816; b=C1wuDVka2d/Vge5j30UjiGewigv8lXryqolERZW0rEfTG84fEHX9oa/hQUs2kr+WTM GvClVp9EOz+J0ZNaggCaAfNVEDDTHKIYMObsmKcmEtbUDhjpN4UVgKHoGJyBt58GvRqA nMloJnkRHkpXnZZSeXvfKSDEO5wWdvaQV2UXAzU+AfCwgyZt+VJszqJTeI7BMTUpJ7wd hg4YWxE4ciPeUYmMHbwQ2BRtxzVpTwI3iMErcWphrKWlfRD6VNmkrTq5yBx7novHK1Wx lMADXbZF4bxnDQ87Jebu0mbtdiq2hxabQPJekp4dIELGJKj8BZV1pCJltfjggJxbmlby I4Tw== 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=jSm2bx/9TizBFIU0FEbAXhLpaX4+9+GRDgESiKJE0mY=; b=L1j2ASUbW3GGNLmQLA9RQxTl0+QcpzyAfTxyAgEyNzkOvm0uX08rDmqBUs0/u0lp1h VUrlVrlY6pdK3EAYyPkACBR32oWYkD0WFEBJo7dQZ22f+4Paql1tY7OYWHFG+dSjbWkN iD5PcKszGESk5B+D1qgWDOw2VTTHADTibb2mPjPqgBrT28mVD4Lzpgly2hH63c41Bx7t 2vYgh2H1wXJzWlLaBxfUCcWUFiFr7B2jBM81ew0mgDT60L4XX71fTYZkq9FzbYYZNJMV cYooaBeoSLFc9oGaK8apM6+gtr+K2eT5H9NhFlUa0Y83kTKdHHzm4dTiHJb77ItFUIdC 1T5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b="vSk4/jSk"; 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 v18-20020aa7dbd2000000b0049deaf9d2absi4914451edt.126.2023.01.27.06.00.40; Fri, 27 Jan 2023 06:01:11 -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="vSk4/jSk"; 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 S234207AbjA0N6f (ORCPT <rfc822;lekhanya01809@gmail.com> + 99 others); Fri, 27 Jan 2023 08:58:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233656AbjA0N6K (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 27 Jan 2023 08:58:10 -0500 Received: from smtpout.efficios.com (unknown [IPv6:2607:5300:203:b2ee::31e5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7A313C2B; Fri, 27 Jan 2023 05:58:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1674827883; bh=7etrW8iE023GQxiA3Q3KlSxXSNyXYwYwDLENTzRvr34=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vSk4/jSkUPe0tq1mFNG1JdvtfPkyBFssFtI+OjcZs0M0yPOeor8aInfgmMElEW7NK D9Zi6yfX1MykyPhi3dxnOM038eaKPCL5qgr4KxKEs8lwVqvdw3YaSjnDg8ZhjNTd5P Wgq3UPtJFTyJVMDrwS3yCRkBerX1SXMJCt9GmnB0yibcL4bRzC/h8fhz+wdYRpfU65 VOyq2qwhIUn2QuePv3F6n4ocFvHtiPsSImBEKsRr5LGZ6DM9oBs0PjKQ5D2fEHF3QV IqtiKFM6/UdDvjkD4kLxfJpRK0WLpTiCOpGDY2R7/COv/cFt3KAoI6XUEUjxqmjBjd +ZJL3QKTPSRKA== Received: from localhost.localdomain (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4P3K0W3LfTzhxR; Fri, 27 Jan 2023 08:58:03 -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 11/34] selftests: ipc: Fix incorrect kernel headers search path Date: Fri, 27 Jan 2023 08:57:32 -0500 Message-Id: <20230127135755.79929-12-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=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RDNS_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no 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?1756184519600906555?= X-GMAIL-MSGID: =?utf-8?q?1756184519600906555?= |
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/ipc/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/ipc/Makefile b/tools/testing/selftests/ipc/Makefile index 1c4448a843a4..50e9c299fc4a 100644 --- a/tools/testing/selftests/ipc/Makefile +++ b/tools/testing/selftests/ipc/Makefile @@ -10,7 +10,7 @@ ifeq ($(ARCH),x86_64) CFLAGS := -DCONFIG_X86_64 -D__x86_64__ endif -CFLAGS += -I../../../../usr/include/ +CFLAGS += $(KHDR_INCLUDES) TEST_GEN_PROGS := msgque