Correct mach cg pmfile that incorrectly reference PLATFORM where it should reference ARCH

This commit is contained in:
Manoel Trapier
2013-03-04 19:01:58 +01:00
committed by Manoël Trapier
parent 45121f6d87
commit 00ea871e8e

View File

@@ -4,15 +4,15 @@
local d = ROOTDIR.."mach/proto/cg/" local d = ROOTDIR.."mach/proto/cg/"
local make_tables = cgg { local make_tables = cgg {
CGGINCLUDEDIR = (ROOTDIR.."mach/%PLATFORM%/cg/"), CGGINCLUDEDIR = (ROOTDIR.."mach/%ARCH%/cg/"),
file (ROOTDIR.."mach/%PLATFORM%/cg/table") file (ROOTDIR.."mach/%ARCH%/cg/table")
} }
local cfile_with_tables = cfile { local cfile_with_tables = cfile {
class = "cfile_with_tables", class = "cfile_with_tables",
dynamicheaders = { dynamicheaders = {
make_tables, make_tables,
file (ROOTDIR.."mach/%PLATFORM%/cg/"), file (ROOTDIR.."mach/%ARCH%/cg/"),
file (ROOTDIR.."mach/") file (ROOTDIR.."mach/")
} }
} }
@@ -39,7 +39,7 @@ proto_cg = cprogram {
cfile { cfile {
ith { make_tables, i = 1 }, ith { make_tables, i = 1 },
dynamicheaders = { dynamicheaders = {
file (ROOTDIR.."mach/%PLATFORM%/cg/"), file (ROOTDIR.."mach/%ARCH%/cg/"),
file (d) file (d)
} }
}, },
@@ -47,8 +47,8 @@ proto_cg = cprogram {
lib_em_data, lib_em_data,
lib_flt_arith, lib_flt_arith,
outputs = {"%U%/%PLATFORM%-cg"}, outputs = {"%U%/%ARCH%-cg"},
install = pm.install("%BINDIR%%PLATDEP%/%PLATFORM%/cg") install = pm.install("%BINDIR%%PLATDEP%/%ARCH%/cg")
} }
-- Revision history -- Revision history