Added cpm platform.
This commit is contained in:
49
mach/i80/libem/pmfile
Normal file
49
mach/i80/libem/pmfile
Normal file
@@ -0,0 +1,49 @@
|
||||
-- $Source$
|
||||
-- $State$
|
||||
-- $Revision$
|
||||
|
||||
local d = ROOTDIR.."mach/i80/libem/"
|
||||
|
||||
libem_i80 = acklibrary {
|
||||
outputs = {"%U%/libem-%PLATFORM%.a"},
|
||||
|
||||
ackfile (d.."aar2.s"),
|
||||
ackfile (d.."adi4.s"),
|
||||
ackfile (d.."and.s"),
|
||||
ackfile (d.."blm.s"),
|
||||
ackfile (d.."cii.s"),
|
||||
ackfile (d.."cmi4.s"),
|
||||
ackfile (d.."cms.s"),
|
||||
ackfile (d.."com.s"),
|
||||
ackfile (d.."csa.s"),
|
||||
ackfile (d.."csb.s"),
|
||||
ackfile (d.."dup.s"),
|
||||
ackfile (d.."dvi2.s"),
|
||||
ackfile (d.."exg.s"),
|
||||
ackfile (d.."flp.s"),
|
||||
ackfile (d.."inn.s"),
|
||||
ackfile (d.."ior.s"),
|
||||
ackfile (d.."lar2.s"),
|
||||
ackfile (d.."mli2.s"),
|
||||
ackfile (d.."mli4.s"),
|
||||
ackfile (d.."mlu2.s"),
|
||||
ackfile (d.."ngi4.s"),
|
||||
ackfile (d.."nop.s"),
|
||||
ackfile (d.."rol4.s"),
|
||||
ackfile (d.."ror4.s"),
|
||||
ackfile (d.."sar2.s"),
|
||||
ackfile (d.."sbi4.s"),
|
||||
ackfile (d.."set.s"),
|
||||
ackfile (d.."set2.s"),
|
||||
ackfile (d.."sli2.s"),
|
||||
ackfile (d.."sli4.s"),
|
||||
ackfile (d.."sri2.s"),
|
||||
ackfile (d.."sri4.s"),
|
||||
ackfile (d.."xor.s"),
|
||||
ackfile (d.."loi.s"),
|
||||
ackfile (d.."sti.s"),
|
||||
ackfile (d.."dvi4.s"),
|
||||
ackfile (d.."rck.s"),
|
||||
|
||||
install = pm.install("%BINDIR%lib/%PLATFORM%/libem.a"),
|
||||
}
|
||||
@@ -1,12 +1,18 @@
|
||||
! $Source$
|
||||
! $State$
|
||||
! $Revision$
|
||||
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .end ! only for declaration of _end, __end and endbss.
|
||||
.define endtext,enddata,endbss,__end
|
||||
.define endtext, endrom, enddata, endbss, __end
|
||||
|
||||
.sect .text
|
||||
endtext:
|
||||
.sect .rom
|
||||
endrom:
|
||||
.sect .data
|
||||
enddata:
|
||||
.sect .end
|
||||
|
||||
16
mach/i80/libend/pmfile
Normal file
16
mach/i80/libend/pmfile
Normal file
@@ -0,0 +1,16 @@
|
||||
-- $Source$
|
||||
-- $State$
|
||||
-- $Revision$
|
||||
|
||||
local d = ROOTDIR.."mach/i80/libend/"
|
||||
|
||||
libend_i80 = acklibrary {
|
||||
outputs = {"%U%/libend-%PLATFORM%.a"},
|
||||
|
||||
ackfile (d.."edata.s"),
|
||||
ackfile (d.."em_end.s"),
|
||||
ackfile (d.."end.s"),
|
||||
ackfile (d.."etext.s"),
|
||||
|
||||
install = pm.install("%BINDIR%lib/%PLATFORM%/libend.a"),
|
||||
}
|
||||
@@ -3,6 +3,9 @@
|
||||
|
||||
local d = ROOTDIR.."mach/i80/"
|
||||
|
||||
include (d.."libem/pmfile")
|
||||
include (d.."libend/pmfile")
|
||||
|
||||
mach_i80 = group {
|
||||
ARCH = "i80",
|
||||
|
||||
@@ -12,8 +15,10 @@ mach_i80 = group {
|
||||
install = pm.install("%ROOTDIR%/lib/%ARCH%/descr", "%BINDIR%%PLATIND%/%ARCH%/descr")
|
||||
}
|
||||
|
||||
-- Revision history
|
||||
-- $Log$
|
||||
-- Revision 1.1 2006-07-20 23:18:18 dtrg
|
||||
-- First version in CVS.
|
||||
--
|
||||
support_i80 = group {
|
||||
OPTIMISATION = "-O",
|
||||
|
||||
libem_i80,
|
||||
libend_i80,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user