2016-07-26 22:10:15 +00:00
|
|
|
vars.cflags = {
|
|
|
|
"-g", "-O"
|
|
|
|
}
|
2016-07-28 22:22:49 +00:00
|
|
|
vars.ackcflags = {
|
2016-08-21 20:01:19 +00:00
|
|
|
"-O6"
|
2016-07-28 22:22:49 +00:00
|
|
|
}
|
2016-07-29 22:39:22 +00:00
|
|
|
vars.plats = {
|
2016-08-13 23:39:40 +00:00
|
|
|
"cpm",
|
2016-08-14 08:37:55 +00:00
|
|
|
"linux386",
|
2016-08-14 09:34:18 +00:00
|
|
|
"linux68k",
|
2016-09-15 21:12:03 +00:00
|
|
|
"linuxppc",
|
2016-10-02 18:58:05 +00:00
|
|
|
"osx386",
|
|
|
|
"osxppc",
|
2016-11-12 18:20:58 +00:00
|
|
|
"qemuppc",
|
2016-08-14 08:37:55 +00:00
|
|
|
"pc86",
|
2016-08-20 10:40:13 +00:00
|
|
|
"rpi",
|
2016-07-29 22:39:22 +00:00
|
|
|
}
|
2016-11-13 12:37:22 +00:00
|
|
|
vars.plats_with_tests = {
|
2016-11-26 10:58:02 +00:00
|
|
|
"linux386",
|
2016-11-26 10:56:17 +00:00
|
|
|
"linuxppc",
|
2016-11-13 12:37:22 +00:00
|
|
|
"qemuppc",
|
2016-11-26 10:23:25 +00:00
|
|
|
"pc86",
|
2016-11-13 12:37:22 +00:00
|
|
|
}
|
2016-07-26 22:10:15 +00:00
|
|
|
|
2016-08-20 12:05:24 +00:00
|
|
|
local plat_packages = {}
|
2016-11-13 12:37:22 +00:00
|
|
|
local test_packages = {}
|
2016-08-20 12:05:24 +00:00
|
|
|
for _, p in ipairs(vars.plats) do
|
|
|
|
plat_packages[#plat_packages+1] = "plat/"..p.."+pkg"
|
|
|
|
end
|
2016-11-13 12:37:22 +00:00
|
|
|
for _, p in ipairs(vars.plats_with_tests) do
|
|
|
|
test_packages[#test_packages+1] = "plat/"..p.."/tests+tests"
|
|
|
|
end
|
2016-08-20 12:05:24 +00:00
|
|
|
|
2016-06-14 05:34:14 +00:00
|
|
|
installable {
|
|
|
|
name = "ack",
|
|
|
|
map = {
|
2016-08-11 22:19:51 +00:00
|
|
|
"lang/basic/src+pkg",
|
2016-08-12 22:02:21 +00:00
|
|
|
"lang/cem/cemcom.ansi+pkg",
|
|
|
|
"lang/m2/comp+pkg",
|
2016-08-13 11:03:06 +00:00
|
|
|
"lang/pc/comp+pkg",
|
2016-07-22 22:30:31 +00:00
|
|
|
"util/ack+pkg",
|
|
|
|
"util/amisc+pkg",
|
|
|
|
"util/arch+pkg",
|
2016-08-21 20:01:19 +00:00
|
|
|
"util/ego+pkg",
|
2016-08-14 12:40:01 +00:00
|
|
|
"util/led+pkg",
|
2016-07-22 22:30:31 +00:00
|
|
|
"util/misc+pkg",
|
2016-08-07 19:56:53 +00:00
|
|
|
"util/opt+pkg",
|
2016-08-20 12:05:24 +00:00
|
|
|
"examples+pkg",
|
|
|
|
plat_packages
|
2016-11-13 12:37:22 +00:00
|
|
|
},
|
2016-12-01 22:03:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
normalrule {
|
|
|
|
name = "tests",
|
|
|
|
ins = {
|
|
|
|
"first/testsummary.sh",
|
2016-11-13 12:37:22 +00:00
|
|
|
test_packages
|
2016-12-01 22:03:30 +00:00
|
|
|
},
|
|
|
|
outleaves = {
|
|
|
|
"stamp"
|
|
|
|
},
|
|
|
|
commands = {
|
|
|
|
"%{ins}"
|
2016-06-14 05:34:14 +00:00
|
|
|
}
|
|
|
|
}
|