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