summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2021-10-06 11:44:22 -0400
committerRodrigo Vivi <rodrigo.vivi@intel.com>2021-10-07 13:03:41 -0400
commitc947b6aba56d23496acde6ee68a96d0c28a68d77 (patch)
treefb8273297ec52cc704aa670cc9f2175fff805ab9 /README.md
parentbfafbaf4870d4a8debe963b33bea6dc3ad9e7be4 (diff)
README.md: Detail the drm-uapi headers sync.
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 <petri.latvala@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files 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=<dest-dir> headers_install
+ $ rm -f <igt-dir>/include/drm-uapi/*
+ $ cp <dest-dir>/include/linux/sync_file.h <igt-dir>/include/drm-uapi/
+ $ cp <dest-dir>/include/drm/* <igt-dir>/include/drm-uapi/
+
+Then, commit with a note of which exact commit from airlied's branch
+was used to generate them.