Turns out I wasn't building the syscall libraries. Do so.

This commit is contained in:
David Given 2016-08-14 11:23:57 +02:00
parent b549980af2
commit 3df4906d52
27 changed files with 41 additions and 5 deletions

View file

@ -19,7 +19,8 @@ installable {
"+tools",
"+libs",
"./include+pkg",
["$(PLATIND)/cpm/boot.o"] = "+boot"
["$(PLATIND)/cpm/boot.o"] = "+boot",
["$(PLATIND)/cpm/libsys.a"] = "./libsys+lib",
}
}

11
plat/cpm/libsys/build.lua Normal file
View file

@ -0,0 +1,11 @@
acklibrary {
name = "lib",
srcs = {
"./*.c",
"./*.s",
},
vars = {
plat = "cpm"
}
}

View file

@ -18,7 +18,8 @@ installable {
"+tools",
"+libs",
"./include+pkg",
["$(PLATIND)/linux386/boot.o"] = "+boot"
["$(PLATIND)/linux386/boot.o"] = "+boot",
["$(PLATIND)/linux386/libsys.a"] = "./libsys+lib",
}
}

View file

@ -67,8 +67,7 @@ name led
(.ocm:{TAIL}={PLATFORMDIR}/liboccam.a) \
(.ocm.b.mod.c.p:{TAIL}={PLATFORMDIR}/libc.a) \
{FLOATS?} \
(.e:{TAIL}={PLATFORMDIR}/liblinux.a \
{PLATFORMDIR}/libem.a \
(.e:{TAIL}={PLATFORMDIR}/libem.a \
{PLATFORMDIR}/liblinux.a \
{PLATFORMDIR}/libsys.a \
{PLATFORMDIR}/libend.a)

View file

@ -0,0 +1,12 @@
acklibrary {
name = "lib",
srcs = {
"./*.s",
"plat/linux/libsys/*.c",
"plat/linux/libsys/*.s",
},
vars = {
plat = "linux386"
}
}

View file

@ -18,7 +18,8 @@ installable {
"+tools",
"+libs",
"./include+pkg",
["$(PLATIND)/pc86/boot.o"] = "+boot"
["$(PLATIND)/pc86/boot.o"] = "+boot",
["$(PLATIND)/pc86/libsys.a"] = "./libsys+lib",
}
}

View file

@ -0,0 +1,11 @@
acklibrary {
name = "lib",
srcs = {
"./*.c",
"./*.s",
},
vars = {
plat = "pc86"
}
}