Compiling ppc and ppbus as modules ?

Frédéric L. W. Meunier 1 at pervalidus.net
Fri Jan 30 08:59:20 PST 2004


Is it possible ? I can't find anything for ppc in /sys/modules,
and if I move ppbus to MODULES_OVERRIDE, make depend fails
with:

if [ -f .olddep ]; then mv .olddep .depend; fi
rm -f .newdep
make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES -V GEN_M_CFILES |  MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
../../../dev/ppc/ppc.c:56:22: ppbus_if.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/i386/compile/pervalidus.
*** Error code 1

Stop in /usr/src/sys/i386/compile/pervalidus.

I also can't compile sio as module, but noticed it's possible
in -CURRENT as there's no a /sys/modules/sio.

I'm using 5.2-RELEASE.

-- 
How to contact me - http://www.pervalidus.net/contact.html


More information about the freebsd-questions mailing list