Biggish refactor to break cycles; my build rules were full of them. cpm builds,

which requires top and topgen.
This commit is contained in:
David Given
2016-08-14 01:39:40 +02:00
parent 10746f8b97
commit 262c5fedcf
14 changed files with 185 additions and 53 deletions

23
plat/pc86/build-pkg.lua Normal file
View File

@@ -0,0 +1,23 @@
include("plat/build.lua")
ackfile {
name = "boot",
srcs = { "./boot.s" },
vars = { plat = "pc86" }
}
build_plat_libs {
name = "libs",
arch = "i86",
plat = "pc86",
}
installable {
name = "pkg",
map = {
"+tools",
"+libs",
["$(PLATIND)/pc86/boot.o"] = "+boot"
}
}