2016-08-13 23:39:40 +00:00
|
|
|
include("plat/build.lua")
|
|
|
|
include("lang/build.lua")
|
|
|
|
|
|
|
|
ackfile {
|
|
|
|
name = "boot",
|
|
|
|
srcs = { "./boot.s" },
|
|
|
|
vars = { plat = "cpm" }
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|