Message ID | 20230127135755.79929-11-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 s9csp847077wrn; Fri, 27 Jan 2023 06:01:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXuIySr08q6wrBZHTGVZ5jylV7dbwVkwBs4YVZmNIGu5lYkWWtDffWfgep4H17o1ojFNFAyV X-Received: by 2002:a17:906:15da:b0:870:9346:ddc9 with SMTP id l26-20020a17090615da00b008709346ddc9mr40286380ejd.45.1674828060914; Fri, 27 Jan 2023 06:01:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674828060; cv=none; d=google.com; s=arc-20160816; b=Vq5MdB9CgVaRCLW/RJDVhfn8jpuv8vO2lhN16gRrzeKnmU698HXZ4VF8kt4U++E7sP GKwToLvgYsnyIYlSW9nPQ09KEnv2nS3fBa+LCooMDY4M6OJ1cN8SMV3FbmzoVgLgnVI+ 6EyOyK+tJnMNvZ+9vIWpWMqO+TtEK4/gJSsmKKLDah/dNf8wCPSGC7RPbFbM2C9qLQ7f enw0eQHrf2tYJaU8w+6zo3oKmWpDLdaGCKRRq6h+41InHWMpSf/gFjFaY0EAAcmmKUx6 j+AoxCKLeuqjqG3+zCLSB73IHo9rJ1Nl2unLgSGmCShp0Wbg+kjlNfIW4K5B9QWR6jwn CCiA== 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=byRodcm5PNwX9Gz6bNdahymP1wxCqBNOcY+Lrh0+k58=; b=VNwtICLpmUaqFoo/1KLKqAg1O359/3Qfav1VZTTfL2rV8Yix7OWB/GtWUGAbzCws4c HZxei12im3ZGIp3CPOVgrR+zwD8U26PtSvA9RvjcND3/mkiKZnPwnj/gqlBNiGP8uD85 RsHFU81u4Dp4cZDKjpQkmZDjgJMySQUuIXWqAslShyArNfQqeFvqYw5CibDRDqIn401f oAHwC0gzJcgLNlfVS20SVJS0/DHZjG6/640XUoPln5rWO27WWXXkVWITDMdoSuSvn9jo IL7JAEGRalRZxsZu1LYHMvtWPl3mChKuHp3A6+dac7VpOPdKt8PThoV73QVg9b2Ja9zI Buhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=eJNaHpwT; 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 j20-20020a170906535400b00871d0c97cc3si5510106ejo.856.2023.01.27.06.00.33; Fri, 27 Jan 2023 06:01:00 -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=eJNaHpwT; 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 S229819AbjA0N6x (ORCPT <rfc822;lekhanya01809@gmail.com> + 99 others); Fri, 27 Jan 2023 08:58:53 -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 S233570AbjA0N6K (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 7C280AD01; 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=IhXZwbH9ktv/dEf9uFv1NzjVJcdyJYqLUNMO3Hu94j4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eJNaHpwTD2oKj/vFfPBGlUJ5M/irnK9gdTk3slYxg/SYKiYE/aqKGTQnaWZ4RZbr8 LeIxJeuhsTXC89irI5RYb8WJ6+CDBZxuEvd9Emz7XDwNKNactxdinUCqGY0JVlTd1q n5F+aS0jijsojJjT6olrZyakfic3J5dRdhROK/xkG0+mHDHDpj5rOOXYAx19uD+LBp 64iriksr9ix5P6k+mmOQQM/auX9Dta3CZ+I9ns7JPvQVQEFxYo9dekJ4uu2Q0Y215J JZqz8cC9v9Llo/vGeVshORjPAXZoy0iKafK50LlQ4nipcc52xt/KyzRPrakJs2+w/R aJBSc7JTI/uyQ== Received: from localhost.localdomain (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4P3K0W1kpmzhWY; 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 10/34] selftests: gpio: Fix incorrect kernel headers search path Date: Fri, 27 Jan 2023 08:57:31 -0500 Message-Id: <20230127135755.79929-11-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?1756184508767463544?= X-GMAIL-MSGID: =?utf-8?q?1756184508767463544?= |
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/gpio/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/gpio/Makefile b/tools/testing/selftests/gpio/Makefile index 616ed4019655..e0884390447d 100644 --- a/tools/testing/selftests/gpio/Makefile +++ b/tools/testing/selftests/gpio/Makefile @@ -3,6 +3,6 @@ TEST_PROGS := gpio-mockup.sh gpio-sim.sh TEST_FILES := gpio-mockup-sysfs.sh TEST_GEN_PROGS_EXTENDED := gpio-mockup-cdev gpio-chip-info gpio-line-name -CFLAGS += -O2 -g -Wall -I../../../../usr/include/ $(KHDR_INCLUDES) +CFLAGS += -O2 -g -Wall $(KHDR_INCLUDES) include ../lib.mk