2013-05-12 19:45:55 +00:00
|
|
|
ARCH := i86
|
|
|
|
PLATFORM := pc86
|
|
|
|
OPTIMISATION := -O
|
|
|
|
|
|
|
|
D := plat/pc86/
|
|
|
|
|
2013-05-12 22:51:55 +00:00
|
|
|
platform-headers := \
|
2013-05-12 19:45:55 +00:00
|
|
|
ack/config.h \
|
2013-05-12 22:51:55 +00:00
|
|
|
unistd.h
|
2013-05-12 19:45:55 +00:00
|
|
|
|
2013-05-12 22:51:55 +00:00
|
|
|
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))
|
2013-05-12 19:45:55 +00:00
|
|
|
|
2013-05-13 22:26:15 +00:00
|
|
|
define build-pc86-boot-impl
|
|
|
|
$(call reset)
|
|
|
|
$(call ackfile, $D/boot.s)
|
|
|
|
$(call installto, $(PLATIND)/$(PLATFORM)/boot.o)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(build-pc86-boot-impl))
|
2013-05-12 19:45:55 +00:00
|
|
|
|