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")