From 64deb8c4ae711841d860d711d94895879c29d5af Mon Sep 17 00:00:00 2001 From: Serhii Sakhno Date: Tue, 8 Dec 2020 22:47:40 +0000 Subject: [PATCH] avra: add to autobuild git-svn-id: svn://kolibrios.org@8348 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/toolchain/avra/src/Tupfile.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 contrib/toolchain/avra/src/Tupfile.lua diff --git a/contrib/toolchain/avra/src/Tupfile.lua b/contrib/toolchain/avra/src/Tupfile.lua new file mode 100644 index 0000000000..e599d0b9ab --- /dev/null +++ b/contrib/toolchain/avra/src/Tupfile.lua @@ -0,0 +1,7 @@ +if tup.getconfig("NO_GCC") ~= "" then return end +HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../programs" or tup.getconfig("HELPERDIR") +tup.include(HELPERDIR .. "/use_gcc.lua") +tup.include(HELPERDIR .. "/use_newlib.lua") + +compile_gcc{"args.c", "avra.c", "coff.c", "device.c", "directiv.c", "expr.c", "file.c", "macro.c", "map.c", "mnemonic.c", "parser.c", "stdextra.c"} +link_gcc("avra")