ack/plat/cpm/build-pkg.lua
2019-02-07 00:06:32 +01:00

30 lines
424 B
Lua

include("plat/build.lua")
include("lang/build.lua")
ackfile {
name = "boot",
srcs = { "./boot.s" },
vars = {
plat = "cpm",
["+ackcflags"] = "-DUSE_I80_RSTS",
}
}
build_plat_libs {
name = "libs",
arch = "i80",
plat = "cpm",
}
installable {
name = "pkg",
map = {
"+tools",
"+libs",
"./include+pkg",
["$(PLATIND)/cpm/boot.o"] = "+boot",
["$(PLATIND)/cpm/libsys.a"] = "./libsys+lib",
}
}