Cleaned up a bit and made work with the new platform architecture.
This commit is contained in:
parent
78777e802b
commit
663f4f2fb5
1 changed files with 3 additions and 22 deletions
|
@ -4,7 +4,7 @@
|
||||||
local d = ROOTDIR.."mach/proto/top/"
|
local d = ROOTDIR.."mach/proto/top/"
|
||||||
|
|
||||||
local make_tables = topgen {
|
local make_tables = topgen {
|
||||||
file (ROOTDIR.."mach/%PLATFORM%/top/table")
|
file (ROOTDIR.."mach/%ARCH%/top/table")
|
||||||
}
|
}
|
||||||
|
|
||||||
local cfile_with_tables = cfile {
|
local cfile_with_tables = cfile {
|
||||||
|
@ -17,7 +17,7 @@ local cfile_with_tables = cfile {
|
||||||
proto_top = cprogram {
|
proto_top = cprogram {
|
||||||
CINCLUDES = {
|
CINCLUDES = {
|
||||||
PARENT,
|
PARENT,
|
||||||
"mach/%PLATFORM%/ncg",
|
"mach/%ARCH%/ncg",
|
||||||
"mach",
|
"mach",
|
||||||
d
|
d
|
||||||
},
|
},
|
||||||
|
@ -27,25 +27,6 @@ proto_top = cprogram {
|
||||||
|
|
||||||
lib_string,
|
lib_string,
|
||||||
|
|
||||||
outputs = {"%U%/%PLATFORM%-top"},
|
outputs = {"%U%/%ARCH%-top"},
|
||||||
install = pm.install("%BINDIR%%PLATDEP%/%PLATFORM%/top")
|
install = pm.install("%BINDIR%%PLATDEP%/%PLATFORM%/top")
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Revision history
|
|
||||||
-- $Log$
|
|
||||||
-- Revision 1.3 2007-02-20 00:45:19 dtrg
|
|
||||||
-- Done a major overhaul of the way target include files are installed and
|
|
||||||
-- how platform libraries are built. The ARCH pm variable has now been
|
|
||||||
-- renamed PLATFORM (which is more accurate) and a different ARCH
|
|
||||||
-- variable added, which represents the CPU family rather than the
|
|
||||||
-- hardware platform.
|
|
||||||
--
|
|
||||||
-- Revision 1.2 2006/10/15 00:28:12 dtrg
|
|
||||||
-- Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
|
|
||||||
--
|
|
||||||
-- Revision 1.1 2006/07/22 12:31:19 dtrg
|
|
||||||
-- Added support for the top target peephole optimiser.
|
|
||||||
--
|
|
||||||
-- Revision 1.1 2006/07/20 23:18:18 dtrg
|
|
||||||
-- First version in CVS.
|
|
||||||
--
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue