summaryrefslogtreecommitdiff
path: root/lib/stubs
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2018-07-24 15:20:23 -0700
committerRodrigo Vivi <rodrigo.vivi@intel.com>2018-07-25 15:48:18 -0700
commit31ea7dd5e66d8ff3acf093de79a2890a2cbec045 (patch)
tree54a684209893b998eabbe5ca2e2bc7bd310672d6 /lib/stubs
parentfe908a01012c9daafafb3410b9407725ca9d4f21 (diff)
build: provide include for missing syscalls
Add directory with README file to allow missing syscalls to be defined. The syscalls themselves will be provided in follow up patches. v2: add support to autotools Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Acked-by: Antonio Argenziano <antonio.argenziano@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'lib/stubs')
-rw-r--r--lib/stubs/syscalls/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/stubs/syscalls/README b/lib/stubs/syscalls/README
new file mode 100644
index 00000000..f05b9a6f
--- /dev/null
+++ b/lib/stubs/syscalls/README
@@ -0,0 +1,6 @@
+This directory contains stub implementations for syscalls missing from libc.
+This provides a way to build IGT on an old system, but it will not run
+correctly if the kernel is missing the functionality provided. In order to
+add a new definition, follow the same directory hierarchy as the standard
+location in which the header is defined so we don't have to clutter the
+codebase to support old systems.