summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-12-30 18:04:39 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-01-03 15:31:12 +0200
commit8cbda75a8d48670184a79b4e52dce9e0dd81f9d9 (patch)
tree24499e10b8fe3964e35fd3e271f892ace29c5c07
parent030e6f389e2d0fa3f10a47634f3609378ccaf70e (diff)
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>
-rwxr-xr-xutils/update-kernel-headers.sh4
1 files changed, 2 insertions, 2 deletions
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