ack/plat/pc86/build.mk

39 lines
516 B
Makefile
Raw Normal View History

ARCH := i86
PLATFORM := pc86
OPTIMISATION := -O
D := plat/pc86/
platform-headers := \
ack/config.h \
unistd.h
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))
define build-pc86-boot-impl
$(call reset)
$(call ackfile, $D/boot.s)
$(call installto, $(PLATIND)/$(PLATFORM)/boot.o)
endef
$(eval $(build-pc86-boot-impl))