Browse Source

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

Manoel Trapier 11 years ago
parent
commit
45e01dcd3e
1 changed files with 6 additions and 6 deletions
  1. 6 6
      mach/proto/cg/pmfile

+ 6 - 6
mach/proto/cg/pmfile

@@ -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