2010-07-23 16:24:34 +02:00
|
|
|
|
2010-04-02 00:22:33 +02:00
|
|
|
# Makefile for arch-dependent kernel code
|
2010-06-25 20:29:09 +02:00
|
|
|
.include <bsd.own.mk>
|
2010-04-02 00:22:33 +02:00
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/arch/${ARCH}
|
|
|
|
SRCS+= arch_do_vmctl.c \
|
|
|
|
arch_clock.c \
|
|
|
|
do_int86.c \
|
|
|
|
do_iopenable.c \
|
|
|
|
do_readbios.c \
|
|
|
|
do_sdevio.c \
|
|
|
|
exception.c \
|
|
|
|
i8259.c \
|
2010-07-23 09:12:47 +02:00
|
|
|
io_inb.S \
|
|
|
|
io_inl.S \
|
|
|
|
io_intr.S \
|
|
|
|
io_inw.S \
|
|
|
|
io_outb.S \
|
|
|
|
io_outl.S \
|
|
|
|
io_outw.S \
|
2010-04-02 00:22:33 +02:00
|
|
|
klib.S \
|
2010-07-23 16:24:34 +02:00
|
|
|
klib16.S \
|
|
|
|
multiboot.S \
|
2010-04-02 00:22:33 +02:00
|
|
|
memory.c \
|
2010-05-19 12:00:02 +02:00
|
|
|
oxpcie.c \
|
2010-04-02 00:22:33 +02:00
|
|
|
protect.c \
|
|
|
|
arch_system.c \
|
2011-07-31 16:20:34 +02:00
|
|
|
pre_init.c
|
2010-07-23 16:24:34 +02:00
|
|
|
|
2010-09-15 16:09:52 +02:00
|
|
|
.ifdef CONFIG_SMP
|
|
|
|
SRCS += arch_smp.c trampoline.S
|
|
|
|
.endif
|
|
|
|
|
|
|
|
|
2010-08-06 14:46:44 +02:00
|
|
|
.if ${COMPILER_TYPE} == "ack"
|
2010-07-23 16:24:34 +02:00
|
|
|
I86CPPFLAGS = -mi86
|
|
|
|
I86LDFLAGS = -mi86
|
|
|
|
|
|
|
|
CPPFLAGS.klib16.S = ${I86CPPFLAGS}
|
|
|
|
LDFLAGS.klib16.S = ${I86LDFLAGS}
|
2010-09-15 16:09:52 +02:00
|
|
|
|
|
|
|
CPPFLAGS.trampoline.S = ${I86CPPFLAGS}
|
|
|
|
LDFLAGS.trampoline.S = ${I86LDFLAGS}
|
2010-08-06 14:46:44 +02:00
|
|
|
.endif
|