From 6c40aa5a203fa9c7b5464baca61ef89ec8289305 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 4 Apr 2026 02:52:23 +0300 Subject: [PATCH] utils: update-kernel-headers: Fix destination path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The update-kernel-headers.sh script copies all headers to include/linux/ without creating subdirectories. This behaviour was correct until the addition of linux/media/v4l2-isp.h, which should be copied to include/linux/media/v4l2-isp.h, not include/linux/v4l2-isp.h. Fix it. Fixes: ee8f88fc64d4 ("include: linux: Add v4l2-isp.h") Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Reviewed-by: Barnabás Pőcze --- utils/update-kernel-headers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/update-kernel-headers.sh b/utils/update-kernel-headers.sh index 168a0ea3..f9baa66d 100755 --- a/utils/update-kernel-headers.sh +++ b/utils/update-kernel-headers.sh @@ -64,7 +64,7 @@ headers=" " for header in $headers ; do - name=$(basename "${header}") + name="${header#*/}" cp "${install_dir}/usr/include/${header}" "${header_dir}/${name}" done