summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-09-07 15:54:16 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-09-28 17:09:33 +0100
commitf52309ebbe024d0e8d44c34d64e2eb8ad29828fa (patch)
tree6aad4834a2da6f7a6a1dd5022c1713c50d8b5c43 /Makefile.am
parentdeb690f78db056acd054a6ac482e084a54b311c9 (diff)
automake: fix 'make commit-headers'
Not too long ago the in-kernel drm public headers were moved. Since then we could no longer fetch/update the ones in libdrm using the command. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index a9ec25bc..884841f5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -80,8 +80,8 @@ endif
copy-headers :
- cp -r $(kernel_source)/usr/include/drm $(top_srcdir)/include
+ cp -r $(kernel_source)/include/uapi/drm/*.h $(top_srcdir)/include/drm/
commit-headers : copy-headers
- git add include
+ git add include/drm/*.h
git commit -am "Copy headers from kernel $$(GIT_DIR=$(kernel_source)/.git git describe)"