[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <53ec38e9-5ba2-4a5e-9bfb-ba43e411be7f@linuxfoundation.org>
Date: Thu, 18 Sep 2025 12:06:56 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Thomas Weißschuh <thomas.weissschuh@...utronix.de>,
Shuah Khan <shuah@...nel.org>, Thomas Gleixner <tglx@...utronix.de>,
Vincenzo Frascino <vincenzo.frascino@....com>
Cc: linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
Jason Gunthorpe <jgg@...pe.ca>, Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH] selftests: always install UAPI headers to the correct
directory
On 9/18/25 03:56, Thomas Weißschuh wrote:
> Currently the UAPI headers are always installed into the source directory.
> When building out-of-tree this doesn't work, as the include path will be
> wrong and it dirties the source tree, leading to complains by kbuild.
>
> Make sure the 'headers' target installs the UAPI headers in the correctly.
>
> The real target directory can come from multiple places. To handle them all
> extract the target directory from KHDR_INCLUDES.
>
> Reported-by: Jason Gunthorpe <jgg@...dia.com>
> Closes: https://lore.kernel.org/lkml/20250917153209.GA2023406@nvidia.com/
> Fixes: 1a59f5d31569 ("selftests: Add headers target")
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
> Reviewed-by: Jason Gunthorpe <jgg@...dia.com>
> ---
> tools/testing/selftests/lib.mk | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
Applied to linux-kselftest next branch for Linux 6.18-rc1
thanks,
-- Shuah
Powered by blists - more mailing lists