kolibrios/programs/system/open/Tupfile.lua
eAndrew d8dd5a8fc0 Fix autobuild #2
git-svn-id: svn://kolibrios.org@5396 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-02-11 20:47:36 +00:00

4 lines
282 B
Lua

if tup.getconfig("NO_FASM") ~= "" then return end
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"})
tup.rule({"open.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "open")