| Message ID | 20260405213306.1224047-1-laurent.pinchart@ideasonboard.com |
|---|---|
| State | New |
| Headers | show |
| Series |
|
| Related | show |
diff --git a/utils/update-kernel-headers.sh b/utils/update-kernel-headers.sh index 168a0ea36e63..f9baa66d00b4 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
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 <laurent.pinchart@ideasonboard.com> --- utils/update-kernel-headers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)