2016-08-13 23:39:40 +00:00
|
|
|
include("plat/build.lua")
|
|
|
|
include("lang/build.lua")
|
|
|
|
|
|
|
|
ackfile {
|
|
|
|
name = "boot",
|
|
|
|
srcs = { "./boot.s" },
|
2019-02-06 23:06:32 +00:00
|
|
|
vars = {
|
|
|
|
plat = "cpm",
|
|
|
|
["+ackcflags"] = "-DUSE_I80_RSTS",
|
|
|
|
}
|
2016-08-13 23:39:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build_plat_libs {
|
|
|
|
name = "libs",
|
|
|
|
arch = "i80",
|
|
|
|
plat = "cpm",
|
|
|
|
}
|
|
|
|
|
|
|
|
installable {
|
|
|
|
name = "pkg",
|
|
|
|
map = {
|
|
|
|
"+tools",
|
|
|
|
"+libs",
|
2016-08-14 09:01:36 +00:00
|
|
|
"./include+pkg",
|
2016-08-14 09:23:57 +00:00
|
|
|
["$(PLATIND)/cpm/boot.o"] = "+boot",
|
|
|
|
["$(PLATIND)/cpm/libsys.a"] = "./libsys+lib",
|
2016-08-13 23:39:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|