Biggish refactor to break cycles; my build rules were full of them. cpm builds,
which requires top and topgen.
This commit is contained in:
27
plat/cpm/build-tools.lua
Normal file
27
plat/cpm/build-tools.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
include("plat/build.lua")
|
||||
|
||||
build_as {
|
||||
name = "as",
|
||||
arch = "i80",
|
||||
}
|
||||
|
||||
build_ncg {
|
||||
name = "ncg",
|
||||
arch = "i80",
|
||||
}
|
||||
|
||||
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",
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user