2007-02-20 00:25:12 +00:00
|
|
|
-- $Source$
|
|
|
|
-- $State$
|
2007-02-20 00:31:54 +00:00
|
|
|
-- $Revision$
|
2007-02-20 00:25:12 +00:00
|
|
|
|
|
|
|
local d = ROOTDIR.."plat/pc86/"
|
|
|
|
|
|
|
|
include (d.."libsys/pmfile")
|
|
|
|
|
|
|
|
local bootsector = ackfile {
|
|
|
|
file (d.."boot.s"),
|
|
|
|
install = pm.install("%BINDIR%lib/pc86/boot.o"),
|
|
|
|
}
|
|
|
|
|
|
|
|
local descr = group {
|
|
|
|
install = pm.install(d.."descr", "%BINDIR%%PLATIND%/%PLATFORM%/descr")
|
|
|
|
}
|
|
|
|
|
2007-04-21 22:59:42 +00:00
|
|
|
local headers = group {
|
|
|
|
install = {
|
|
|
|
pm.install(d.."include/ack/config.h", "%BINDIR%%PLATIND%/%PLATFORM%/include/ack/config.h"),
|
|
|
|
pm.install(d.."include/unistd.h", "%BINDIR%%PLATIND%/%PLATFORM%/include/unistd.h"),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2007-02-20 00:25:12 +00:00
|
|
|
platform_pc86 = group {
|
|
|
|
ARCH = "i86",
|
|
|
|
PLATFORM = "pc86",
|
2007-04-29 23:02:23 +00:00
|
|
|
OPTIMISATION = "-O",
|
2007-02-20 00:25:12 +00:00
|
|
|
|
2007-04-21 22:59:42 +00:00
|
|
|
-- Ensure the descr and headers are installed first because we'll need
|
|
|
|
-- them to build the libraries.
|
2007-02-20 00:25:12 +00:00
|
|
|
|
|
|
|
descr,
|
2007-04-21 22:59:42 +00:00
|
|
|
headers,
|
2007-02-20 00:25:12 +00:00
|
|
|
|
|
|
|
-- Build the back-end support.
|
|
|
|
|
|
|
|
mach_i86,
|
|
|
|
support_i86,
|
|
|
|
lang_runtimes,
|
|
|
|
|
|
|
|
-- Build the PC standalone syscall library.
|
|
|
|
|
|
|
|
libsys_pc86,
|
|
|
|
bootsector,
|
|
|
|
}
|