2016-07-26 22:10:15 +00:00
|
|
|
vars.cflags = {
|
2018-06-02 19:48:18 +00:00
|
|
|
"$(CFLAGS)"
|
2016-07-26 22:10:15 +00:00
|
|
|
}
|
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
|
|
|
}
|
2018-04-28 17:18:27 +00:00
|
|
|
vars.ackldflags = {}
|
2016-07-29 22:39:22 +00:00
|
|
|
vars.plats = {
|
2016-08-13 23:39:40 +00:00
|
|
|
"cpm",
|
2018-06-23 10:13:33 +00:00
|
|
|
"linux386",
|
2018-06-23 10:35:17 +00:00
|
|
|
"linux68k",
|
2018-06-23 10:41:54 +00:00
|
|
|
"linuxppc",
|
2018-09-01 17:35:31 +00:00
|
|
|
"linuxmips",
|
2018-06-23 10:55:59 +00:00
|
|
|
"osx386",
|
|
|
|
"osxppc",
|
2018-06-23 09:46:55 +00:00
|
|
|
-- --"qemuppc",
|
2018-06-23 10:59:40 +00:00
|
|
|
"pc86",
|
2018-06-23 11:05:27 +00:00
|
|
|
"rpi",
|
2018-06-23 13:18:26 +00:00
|
|
|
"pdpv7",
|
2018-06-23 13:57:57 +00:00
|
|
|
"em22",
|
2016-07-29 22:39:22 +00:00
|
|
|
}
|
2016-11-13 12:37:22 +00:00
|
|
|
vars.plats_with_tests = {
|
2018-06-23 10:35:17 +00:00
|
|
|
"linux68k",
|
2018-06-23 10:13:33 +00:00
|
|
|
"linux386",
|
2018-06-23 10:41:54 +00:00
|
|
|
"linuxppc",
|
2018-06-23 09:46:55 +00:00
|
|
|
-- --"qemuppc",
|
2018-06-23 10:59:40 +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-11-27 10:58:59 +00:00
|
|
|
"lang/b/compiler+pkg",
|
2016-07-22 22:30:31 +00:00
|
|
|
"util/ack+pkg",
|
|
|
|
"util/amisc+pkg",
|
|
|
|
"util/arch+pkg",
|
2018-06-09 05:10:45 +00:00
|
|
|
"util/ass+pkg",
|
2016-08-21 20:01:19 +00:00
|
|
|
"util/ego+pkg",
|
2018-06-09 12:13:31 +00:00
|
|
|
"util/int+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
|
|
|
}
|
|
|
|
}
|