From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A00C8C433EF for ; Tue, 19 Apr 2022 20:06:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4Ffjgfp0IMZq2bxI5WRe7ah6rCGqmTb1Kvu2B7Uwsh8=; b=40As9T5AQGSejZ xkHUq+l6JRTlFIcL8QiU0dDHszuDfYYTUK1yHqSDHTzWHdOErV86QBRGJG3OL+PXf6Mnip3LLiO4D hT9oqu3PpWbcShHNdunWcUdqB6d0r0azypDQRhinnpRphxXtf9UlivnmlKJ32Bqk7OiK2AXPlBSPZ IYmNYm2MMzpwFr34Yk5BhN0AdwfZTyTthvHLM7/YEO4HKSg2Y1l3bI7iZ7bdKGPJzb1YJe4W6BbWe Lghh9F1uAB7cqgqZ4NvSVktX+22x4pyc5yf7CFvzqyc/qciGs/5fg2MMd3uaxnaRhdpXXzwG5du/p 8ur2z4hMYlQURpvfcb2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngu5y-0062lK-Il; Tue, 19 Apr 2022 20:05:06 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ngu5n-0062hQ-Mh for linux-arm-kernel@lists.infradead.org; Tue, 19 Apr 2022 20:04:57 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 46FCA61672; Tue, 19 Apr 2022 20:04:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 205FCC385A5; Tue, 19 Apr 2022 20:04:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650398694; bh=NLOQaF8k2FehRQgK23dKs6nvS8c724u81EF3sa616l0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SRhyA5dJ5UanUisWsTQqcIqwal+akgzSvsRwWbvGdF1WlwteR/0l8QUbRYPqW6wLp Bq+ERQ1pepO3JNZIUuypKDjFkaKrUUrdB5xv4ymIry4XZy/d9BiRFOFrVMmWfgsxFX oSy583qqcNAC2vUoPEznCNrXZ75qmbfcivUV/4B8wxU36/Pl3CQKCKQQqwHdtD3SuL AfBB7YCivlvBpeONAZ5TPbJkBiNxid5LQBA7FgiMKbQ3hB9A9VGNLC/hHCdiXQyC1n bpoGetwcLNUmjSBzACy+RTD8mh0v6P/COdD65IzUeCFwT8m7YwKOCmI1Q9RiKNRTS5 UzvZeFaO/+DuA== From: Mark Brown To: Catalin Marinas , Will Deacon , Shuah Khan , Shuah Khan Cc: linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Mark Brown Subject: [PATCH v2 2/4] selftests/arm64: Define top_srcdir for the fp tests Date: Tue, 19 Apr 2022 21:04:40 +0100 Message-Id: <20220419200442.1374548-3-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220419200442.1374548-1-broonie@kernel.org> References: <20220419200442.1374548-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=900; h=from:subject; bh=NLOQaF8k2FehRQgK23dKs6nvS8c724u81EF3sa616l0=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBiXxXXtZfK/ilcHaPTFfvKfsjwxhbshKuSw/rrwZmK AN1XnfCJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYl8V1wAKCRAk1otyXVSH0DvTB/ sGoCYKdyI75HYeYOdarpJ/UJWCXyOdp8RZ8XfXngkyXPJyvnHTN01zXcPsqLB2LV+/jkCReBRO2+qq 2kufaMzpLPbwUcvdwRr8hed/by8+jBN0TK6NH+K7yE68yxiKXe81m+bIwpR2nBNT7diKxsJc5439V+ P43kf0hIjMMU68ipMxvGjtOfUdaQz3ZlkqTTcmtfkxVeGBNsGjsdygAutorMh5JpPMQYRI0x0O/y27 xwgVZ7WBeY/wNakiBdToDITpnDlf55Kdlz7SOAJ+La8O5krTtsPisLtPDMJ0Ue4M55p9fox3CopcYF wRyICCL2NB5x1YPZ0FSrg7E/mgtJp9 X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220419_130455_812250_601F281B X-CRM114-Status: GOOD ( 12.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Some of the rules in lib.mk use a top_srcdir variable to figure out where the top of the kselftest tree is, provide it. Signed-off-by: Mark Brown --- tools/testing/selftests/arm64/fp/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/arm64/fp/Makefile b/tools/testing/selftests/arm64/fp/Makefile index 774c38cee317..41b420050765 100644 --- a/tools/testing/selftests/arm64/fp/Makefile +++ b/tools/testing/selftests/arm64/fp/Makefile @@ -1,6 +1,10 @@ # SPDX-License-Identifier: GPL-2.0 -CFLAGS += -I../../../../../usr/include/ +# A proper top_srcdir is needed by KSFT(lib.mk) +top_srcdir = $(realpath ../../../../../) + +CFLAGS += -I$(top_srcdir)/usr/include/ + TEST_GEN_PROGS := sve-ptrace sve-probe-vls vec-syscfg TEST_GEN_PROGS_EXTENDED := fp-pidbench fpsimd-test \ rdvl-sve \ -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel