From 8cbda75a8d48670184a79b4e52dce9e0dd81f9d9 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 30 Dec 2021 18:04:39 +0200 Subject: 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 Reviewed-by: Umang Jain Reviewed-by: Kieran Bingham --- utils/update-kernel-headers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/update-kernel-headers.sh b/utils/update-kernel-headers.sh index 3c3f34c7..a006452e 100755 --- a/utils/update-kernel-headers.sh +++ b/utils/update-kernel-headers.sh @@ -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 -- cgit v1.2.1