2013-05-12 19:45:55 +00:00
|
|
|
ARCH := i80
|
|
|
|
PLATFORM := cpm
|
|
|
|
OPTIMISATION := -O
|
|
|
|
|
|
|
|
D := plat/cpm
|
|
|
|
|
2013-05-12 22:51:55 +00:00
|
|
|
platform-headers := \
|
2013-05-12 19:45:55 +00:00
|
|
|
ack/config.h \
|
|
|
|
cpm.h \
|
2013-05-12 22:51:55 +00:00
|
|
|
unistd.h
|
|
|
|
|
|
|
|
platform-libsys := \
|
|
|
|
_bdos.s \
|
|
|
|
_hol0.s \
|
|
|
|
_inn2.s \
|
|
|
|
_trap.s \
|
|
|
|
brk.c \
|
|
|
|
close.c \
|
|
|
|
creat.c \
|
|
|
|
errno.s \
|
|
|
|
getpid.c \
|
|
|
|
isatty.c \
|
|
|
|
kill.c \
|
|
|
|
lseek.c \
|
|
|
|
open.c \
|
|
|
|
read.c \
|
|
|
|
signal.c \
|
|
|
|
time.c \
|
|
|
|
write.c
|
|
|
|
|
|
|
|
$(eval $(call build-platform))
|
|
|
|
|
2013-05-13 22:26:15 +00:00
|
|
|
define build-cpm-boot-impl
|
|
|
|
$(call reset)
|
|
|
|
$(call ackfile, $D/boot.s)
|
|
|
|
$(call installto, $(PLATIND)/$(PLATFORM)/boot.o)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(build-cpm-boot-impl))
|
|
|
|
|
2013-05-12 19:45:55 +00:00
|
|
|
|
|
|
|
|