utils: update-kernel-headers: Update path to intel-ipu3.h

The intel-ipu3.h header has moved in the v5.14 kernel. Update the kernel
headers update script accordingly.

While at it, add a missing directory separator to fix a failure when the
path to the kernel tree doesn't end with a /.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2021-12-30 18:04:39 +02:00
parent 030e6f389e
commit 8cbda75a8d

View file

@ -66,8 +66,8 @@ done
# The IPU3 header is a special case, as it's stored in staging. Handle it
# manually.
(cd "${install_dir}" ; "${kernel_dir}scripts/headers_install.sh" \
"${kernel_dir}/drivers/staging/media/ipu3/include/intel-ipu3.h" \
(cd "${install_dir}" ; "${kernel_dir}/scripts/headers_install.sh" \
"${kernel_dir}/drivers/staging/media/ipu3/include/uapi/intel-ipu3.h" \
"${header_dir}/intel-ipu3.h")
# Update the README file