ack/plat/linux386/pmfile

47 lines
911 B
Plaintext
Raw Normal View History

2007-04-21 23:02:11 +00:00
-- $Source$
-- $State$
-- $Revision$
local d = ROOTDIR.."plat/linux386/"
include (d.."libsys/pmfile")
local bootsector = ackfile {
file (d.."boot.s"),
install = pm.install("%BINDIR%lib/linux386/boot.o"),
}
local descr = group {
install = pm.install(d.."descr", "%BINDIR%%PLATIND%/%PLATFORM%/descr")
}
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"),
}
}
platform_linux386 = group {
ARCH = "i386",
PLATFORM = "linux386",
OPTIMISATION = "-O",
2007-04-21 23:02:11 +00:00
-- Ensure the descr and headers are installed first because we'll need it
-- to build the libraries.
descr,
headers,
-- Build the back-end support.
mach_i386,
support_i386,
lang_runtimes,
-- Build the PC standalone syscall library.
libsys_linux386,
bootsector,
}