cedit: Added to build system

Fixed installation of oberon07 compiler in ISO image

Signed-off-by: Max Logaev <maxlogaev@proton.me>
This commit is contained in:
2026-01-28 14:04:10 +03:00
parent 4658a928d4
commit e9b6cf3fc9
5 changed files with 34 additions and 5 deletions

Binary file not shown.

View File

@@ -0,0 +1,11 @@
if tup.getconfig("NO_OB07") ~= "" then return end
if tup.getconfig("HELPERDIR") == ""
then
HELPERDIR = "../../"
end
tup.include(HELPERDIR .. "/use_ob07.lua")
OB07_FLAGS = OB07_FLAGS .. "-nochk a "
build_ob07({"SRC/CEdit.ob07"}, "cedit");

6
programs/use_ob07.lua Normal file
View File

@@ -0,0 +1,6 @@
OB07 = tup.getcwd() .. "/develop/oberon07/compiler"
OB07_FLAGS = "-stk 1 "
function build_ob07(input, output)
tup.rule(input, OB07 .. " %f kosexe -out %o " .. OB07_FLAGS .. " " .. tup.getconfig("KPACK_CMD"), output)
end