Made a start on building the runtimes for each platform and language; the

Linuxes all build.

--HG--
branch : dtrg-buildsystem
rename : modules/src/em_mes/build.mk => modules/src/read_em/build.mk
rename : plat/pc86/build.mk => plat/linux386/build.mk
rename : plat/pc86/build.mk => plat/linux68k/build.mk
rename : plat/pc86/build.mk => plat/linuxppc/build.mk
rename : util/ack/build.mk => util/misc/build.mk
This commit is contained in:
David Given
2013-05-12 23:51:55 +01:00
parent c1aca7dae5
commit b0c238eb5d
23 changed files with 501 additions and 92 deletions

View File

@@ -4,11 +4,28 @@ OPTIMISATION := -O
D := plat/pc86/
$(eval $(call build-platform, \
platform-headers := \
ack/config.h \
unistd.h \
))
unistd.h
include plat/pc86/libsys/build.mk
platform-libsys := \
errno.s \
_hol0.s \
_sys_rawread.s \
_sys_rawwrite.s \
open.c \
creat.c \
close.c \
read.c \
write.c \
brk.c \
getpid.c \
kill.c \
isatty.c \
lseek.c \
time.c \
signal.c
$(eval $(call build-platform))

View File

@@ -1,26 +0,0 @@
D := plat/pc86/libsys
define build-pc86-libsys-impl
$(call reset)
$(call ackfile, $D/errno.s)
$(call ackfile, $D/_hol0.s)
$(call ackfile, $D/_sys_rawread.s)
$(call ackfile, $D/_sys_rawwrite.s)
$(call ackfile, $D/open.c)
$(call ackfile, $D/creat.c)
$(call ackfile, $D/close.c)
$(call ackfile, $D/read.c)
$(call ackfile, $D/write.c)
$(call ackfile, $D/brk.c)
$(call ackfile, $D/getpid.c)
$(call ackfile, $D/kill.c)
$(call ackfile, $D/isatty.c)
$(call ackfile, $D/lseek.c)
$(call ackfile, $D/time.c)
$(call ackfile, $D/signal.c)
$(call acklibrary, $(LIBDIR)/$(PLATFORM)/libsys.a)
$(call installto, $(PLATIND)/$(PLATFORM)/libsys.a)
endef
$(eval $(build-pc86-libsys-impl))