diff options
| author | Dmitry V. Levin <ldv@altlinux.org> | 2013-06-03 16:24:53 +0000 |
|---|---|---|
| committer | Dmitry V. Levin <ldv@altlinux.org> | 2013-06-03 16:24:53 +0000 |
| commit | 1cd3f5f844d58b1ced8d3f6dc431688ed94d008e (patch) | |
| tree | 55812ac1ded9bebbd2a30561c3a633f452818b69 /Makefile.am | |
| parent | d845411e8c0b315c754d5d45df3103a12f5e876e (diff) | |
| download | strace-4.8.tar.gz strace-4.8.tar.bz2 strace-4.8.tar.xz | |
ioctlent: add UAPI supportv4.8
* Makefile.am (IOCTLSORT_INCLUDEDIR): Define.
(ioctlsort): Use it.
* linux/ioctlent.sh (lookup_ioctls): Look into uapi directory tree.
Strip "uapi/" prefix from output path names.
* linux/ioctlent.h.in: Regenerate from v3.9 headers.
* NEWS: Mention it.
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 209d63c..9d611f3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -253,6 +253,7 @@ export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner --mode=go-w,go+rX IOCTLDIR = /usr/include IOCTLASM = asm +IOCTLSORT_INCLUDEDIR = $(IOCTLDIR) ioctlent_h_in = linux/ioctlent.h.in @@ -261,7 +262,8 @@ BUILT_SOURCES += $(ioctlent_h_in) $(srcdir)/$(ioctlent_h_in): ioctlsort $(<D)/$(<F) > $@ ioctlsort: $(srcdir)/linux/ioctlsort.c ioctls.h ioctldefs.h - $(filter-out -I%,$(LINK.c)) -I. -I$(IOCTLDIR) $(filter -I%,$(LINK.c)) \ + $(filter-out -I%,$(LINK.c)) -I. -I$(IOCTLSORT_INCLUDEDIR) \ + $(filter -I%,$(LINK.c)) \ -o $@ $< ioctls.h: $(srcdir)/linux/ioctlent.sh $(SHELL) $< $(IOCTLDIR) $(IOCTLASM) |
