Biggish refactor to break cycles; my build rules were full of them. cpm builds,
which requires top and topgen.
This commit is contained in:
24
plat/cpm/build-pkg.lua
Normal file
24
plat/cpm/build-pkg.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
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",
|
||||
["$(PLATIND)/cpm/boot.o"] = "+boot"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user