Ninja buildsystem produces working bootloader

This commit is contained in:
Justin C. Miller
2019-02-02 18:24:58 -08:00
parent a1fe745a53
commit acdca19f59
6 changed files with 47 additions and 9 deletions

View File

@@ -2,7 +2,11 @@
{% block variables %}
{{ super() }}
cflags = $cflags $
ld = ld
cc = clang
cxx = clang++
ccflags = $ccflags $
-DKERNEL_FILENAME=L\"popcorn.elf\" $
-DGNU_EFI_USE_MS_ABI $
-DHAVE_USE_MS_ABI $
@@ -12,8 +16,8 @@ cflags = $cflags $
-fshort-wchar
ldflags = $ldflags $
-shared $
-T ${srcroot}/src/arch/x86_64/boot.ld
-T ${srcroot}/src/arch/x86_64/boot.ld $
-shared
{% endblock %}