Skip to content

Commit 663f4f2

Browse files
author
dtrg
committed
Cleaned up a bit and made work with the new platform architecture.
1 parent 78777e8 commit 663f4f2

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

mach/proto/top/pmfile

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
local d = ROOTDIR.."mach/proto/top/"
55

66
local make_tables = topgen {
7-
file (ROOTDIR.."mach/%PLATFORM%/top/table")
7+
file (ROOTDIR.."mach/%ARCH%/top/table")
88
}
99

1010
local cfile_with_tables = cfile {
@@ -17,7 +17,7 @@ local cfile_with_tables = cfile {
1717
proto_top = cprogram {
1818
CINCLUDES = {
1919
PARENT,
20-
"mach/%PLATFORM%/ncg",
20+
"mach/%ARCH%/ncg",
2121
"mach",
2222
d
2323
},
@@ -27,25 +27,6 @@ proto_top = cprogram {
2727

2828
lib_string,
2929

30-
outputs = {"%U%/%PLATFORM%-top"},
30+
outputs = {"%U%/%ARCH%-top"},
3131
install = pm.install("%BINDIR%%PLATDEP%/%PLATFORM%/top")
3232
}
33-
34-
-- Revision history
35-
-- $Log$
36-
-- Revision 1.3 2007-02-20 00:45:19 dtrg
37-
-- Done a major overhaul of the way target include files are installed and
38-
-- how platform libraries are built. The ARCH pm variable has now been
39-
-- renamed PLATFORM (which is more accurate) and a different ARCH
40-
-- variable added, which represents the CPU family rather than the
41-
-- hardware platform.
42-
--
43-
-- Revision 1.2 2006/10/15 00:28:12 dtrg
44-
-- Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
45-
--
46-
-- Revision 1.1 2006/07/22 12:31:19 dtrg
47-
-- Added support for the top target peephole optimiser.
48-
--
49-
-- Revision 1.1 2006/07/20 23:18:18 dtrg
50-
-- First version in CVS.
51-
--

0 commit comments

Comments
 (0)