From patchwork Thu Dec 30 16:06:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 15233 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 54DB2BF415 for ; Thu, 30 Dec 2021 16:06:18 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A23DC608EB; Thu, 30 Dec 2021 17:06:17 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="il9TZHKy"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A2BB160115 for ; Thu, 30 Dec 2021 17:06:16 +0100 (CET) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 10F142A5; Thu, 30 Dec 2021 17:06:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1640880376; bh=rGfl5+A/pJFb+pztvdaReoEAEB9v6slt7eSu12/3QbU=; h=From:To:Cc:Subject:Date:From; b=il9TZHKyeF6uQ4PDMUs/PsbYTU/on5MIFeV6gNsY5f5YmSKA6Xmc0qablBCRqF0hA JgblkivzgouQlSbuj58TCttyIWQHCSfDaeNt2kuSbgZV3588vdGuOfNEcDr6yqDlV3 BOYVaPWR/1gvEQFrqkmzFgjGX9aaXU+fSGZjnXrI= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Thu, 30 Dec 2021 18:06:11 +0200 Message-Id: <20211230160611.22273-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] utils: update-kernel-headers: Update path to intel-ipu3.h X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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(-) base-commit: 030e6f389e2d0fa3f10a47634f3609378ccaf70e prerequisite-patch-id: 2c7bab8c8f15090cf10a19aaed62e33de1264351 prerequisite-patch-id: 10478d16a049f895236c9b7bafcbe6d3a9b69ef9 prerequisite-patch-id: f6f3784841cc8648c6b6cfdd12b7903751856f75 prerequisite-patch-id: 41c39d0df627b7c1856cc8bc4d099f408983d6cd prerequisite-patch-id: 80397d3462f248e4ca0e9f3bcb2d793178b03142 prerequisite-patch-id: 490c8f45203ef4d2281bddf2b36855ed99e1b2a4 prerequisite-patch-id: 06537d8dd2471934bca5772ddb6556a85a32ee9c prerequisite-patch-id: e1c7842e5c488f6d3790a9c45b69974d8624dce4 prerequisite-patch-id: 55a68f42975a115ab642766965a5e6c8f2c07026 prerequisite-patch-id: 8601bcfa3c7da8d9984ac08e182610b5b52cbba9 prerequisite-patch-id: 8bb54baf7b5a46c0d14606c2f1020e943633954e prerequisite-patch-id: f9b1926bdaa91bb4879b8e28f6849df8d6a9ae64 prerequisite-patch-id: 2c928f3693350ad60bff02897240e379ab8fab1a prerequisite-patch-id: 651a51e9b14eb8ea497db106f3f9bf0be5a395fe diff --git a/utils/update-kernel-headers.sh b/utils/update-kernel-headers.sh index 3c3f34c77ad7..a006452e6836 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