2016-08-13 23:39:40 +00:00
|
|
|
include("plat/build.lua")
|
|
|
|
|
|
|
|
build_as {
|
|
|
|
name = "as",
|
|
|
|
arch = "i80",
|
|
|
|
}
|
|
|
|
|
|
|
|
build_ncg {
|
|
|
|
name = "ncg",
|
|
|
|
arch = "i80",
|
2019-02-06 23:06:32 +00:00
|
|
|
vars = {
|
|
|
|
["+cflags"] = "-DUSE_I80_RSTS"
|
|
|
|
}
|
2016-08-13 23:39:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build_top {
|
|
|
|
name = "top",
|
|
|
|
arch = "i80",
|
|
|
|
}
|
|
|
|
|
|
|
|
return installable {
|
|
|
|
name = "tools",
|
|
|
|
map = {
|
|
|
|
["$(PLATDEP)/cpm/as"] = "+as",
|
|
|
|
["$(PLATDEP)/cpm/ncg"] = "+ncg",
|
|
|
|
["$(PLATDEP)/cpm/top"] = "+top",
|
|
|
|
["$(PLATIND)/descr/cpm"] = "./descr",
|
|
|
|
"util/opt+pkg",
|
|
|
|
}
|
|
|
|
}
|