meso: skeleton buildsystem for kernel

This commit is contained in:
Michael Scire 2020-01-23 18:13:32 -08:00
parent 6ee305464a
commit 3982afdd6b
9 changed files with 368 additions and 8 deletions

View file

@ -0,0 +1,7 @@
%rename link old_link
*link:
%(old_link) -T %:getenv(TOPDIR /kernel.ld) -pie --gc-sections -z text -z nodynamic-undefined-weak -nostdlib -nostartfiles
*startfile:
crti%O%s crtbegin%O%s