diff options
author | nyan <nyan@FreeBSD.org> | 2005-04-17 10:41:59 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2005-04-17 10:41:59 +0000 |
commit | dcf4b7818ed7c707a6bdacc683c4c3a0f8db94a9 (patch) | |
tree | 5249fc862910fdd2c011ee49f6f6aea6ebc55a5f | |
parent | c6c29c44272da4cb936b6d117d5ca6b8d32f5134 (diff) | |
download | FreeBSD-src-dcf4b7818ed7c707a6bdacc683c4c3a0f8db94a9.zip FreeBSD-src-dcf4b7818ed7c707a6bdacc683c4c3a0f8db94a9.tar.gz |
Fix the apm module on pc98.
Pointed out by: Kuwamura Shinya <kuwa at lares dot dti dot ne dot jp>
MFC after: 1 day
-rw-r--r-- | sys/modules/apm/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sys/modules/apm/Makefile b/sys/modules/apm/Makefile index 6d82b90..c350353 100644 --- a/sys/modules/apm/Makefile +++ b/sys/modules/apm/Makefile @@ -1,12 +1,23 @@ # $FreeBSD$ .PATH: ${.CURDIR}/../../i386/bios +.if ${MACHINE} == "pc98" +.PATH: ${.CURDIR}/../../pc98/apm +.endif KMOD= apm -SRCS= apm.c apm.h \ - device_if.h bus_if.h +SRCS= apm.c apm.h +.if ${MACHINE} == "pc98" +SRCS+= apm_bioscall.s +.endif +SRCS+= device_if.h bus_if.h EXPORT_SYMS= apm_display \ apm_softc +.if ${MACHINE} == "pc98" +apm_bioscall.o: apm_bioscall.s + ${CC} -x assembler-with-cpp -DLOCORE ${CFLAGS} -c ${.IMPSRC} +.endif + .include <bsd.kmod.mk> |