Initial building of the vdso.

Not actually integrating with the kernel yet.
This commit is contained in:
Justin C. Miller
2019-10-09 22:28:56 -07:00
parent 6963304c01
commit 991b13424e
8 changed files with 140 additions and 2 deletions

View File

@@ -43,6 +43,7 @@ ccflags = $
$warnflags
asflags = $
-I${srcroot}/src/include $
-DVERSION_MAJOR={{ version_major }} $
-DVERSION_MINOR={{ version_minor }} $
-DVERSION_PATCH={{ version_patch }} $

View File

@@ -0,0 +1,9 @@
{% extends "exe.default.j2" %}
{% block variables %}
{{ super() }}
ccflags = $ccflags -fPIC -mcmodel=large
ldflags = $ldflags -shared -znotext -T ${srcroot}/src/arch/x86_64/vdso.ld
{% endblock %}
# vim: ft=ninja et ts=4 sts=4 sw=4