Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4C8136EDC2 for ; Wed, 6 Oct 2021 16:20:13 +0000 (UTC) From: Rodrigo Vivi Date: Wed, 6 Oct 2021 12:14:42 -0400 Message-Id: <20211006161444.904476-7-rodrigo.vivi@intel.com> In-Reply-To: <20211006161444.904476-1-rodrigo.vivi@intel.com> References: <20211006161444.904476-1-rodrigo.vivi@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 6/8] README.md: Detail the drm-uapi headers sync. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org Cc: Rodrigo Vivi , Petri Latvala List-ID: Let's detail a bit more on how to properly get the headers properly in a cleaner way. This might help to avoid small mistakes when syncing uapi headers. Cc: Petri Latvala Signed-off-by: Rodrigo Vivi --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6d9e40f3..d71a2fa7 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,13 @@ overall structure or indexes you need to reflect the change in Imported DRM uapi headers from airlied's drm-next branch. -These should be updated all together by executing `make headers_install` from -that branch of the kernel and then copying the resulting -`./usr/include/drm/*.h` in and committing with a note of which exact commit -from airlied's branch was used to generate them. +These should be updated all together by: + + # From the kernel dir with a drm/drm-next commit checked out: + $ make INSTALL_HDR_PATH= headers_install + $ rm -f /include/drm-uapi/* + $ cp /include/linux/sync_file.h /include/drm-uapi/ + $ cp /include/drm/* /include/drm-uapi/ + +Then, commit with a note of which exact commit from airlied's branch +was used to generate them. -- 2.31.1