kernel: make sure mpx.S is linked early

. for qemu multiboot detection
This commit is contained in:
Ben Gras 2012-06-01 16:58:00 +02:00
parent 8c434cf24f
commit 910a0e1093
2 changed files with 5 additions and 4 deletions

View file

@ -3,7 +3,9 @@
PROG= kernel
SRCS= clock.c cpulocals.c interrupt.c main.c proc.c start.c system.c \
.include "arch/${ARCH}/Makefile.inc"
SRCS+= clock.c cpulocals.c interrupt.c main.c proc.c start.c system.c \
table.c utility.c
DPADD+= ${LIBTIMERS} ${LIBSYS} ${LIBEXEC}
@ -29,7 +31,6 @@ BINDIR= /usr/sbin
MAN=
.include "system/Makefile.inc"
.include "arch/${ARCH}/Makefile.inc"
.ifdef CONFIG_SMP
SRCS+= smp.c

View file

@ -4,9 +4,9 @@
HERE=${.CURDIR}/arch/${ARCH}
.PATH: ${HERE}
SRCS+= arch_clock.c arch_do_vmctl.c arch_system.c \
SRCS+= mpx.S arch_clock.c arch_do_vmctl.c arch_system.c \
do_iopenable.c do_readbios.c do_sdevio.c exception.c i8259.c io_inb.S \
io_inl.S io_intr.S io_inw.S io_outb.S io_outl.S io_outw.S klib.S klib16.S memory.c mpx.S multiboot.S \
io_inl.S io_intr.S io_inw.S io_outb.S io_outl.S io_outw.S klib.S klib16.S memory.c multiboot.S \
oxpcie.c pre_init.c protect.c
.if ${USE_ACPI} != "no"