Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bzero.S and assym.h (Re: CVS commit: syssrc/sys/lib/libkern/arch/powerpc)



In article <20011129002707.CE539B009%cvs.netbsd.org@localhost>
mjl%netbsd.org@localhost wrote:

> Module Name:  syssrc
> Committed By: mjl
> Date:         Thu Nov 29 00:27:07 UTC 2001
> 
> Modified Files:
>       syssrc/sys/lib/libkern/arch/powerpc: Makefile.inc
> Added Files:
>       syssrc/sys/lib/libkern/arch/powerpc: bzero.S ffs.S
> 
> Log Message:
> Add assembler versions of ffs, bzero and memset.

After this change, I got the following error on make depend:

---
# make depend
depending the kern library objects
mkdep -a -D_LOCORE -I../../../../../../lib/libkern/arch/powerpc \
-I../../. -I../../../../../../arch -I../../../../../.. -nostdinc \
-DLKM -DDIAGNOSTIC -DNMBCLUSTERS="0x400" -DMSGBUFSIZE="0x4000" \
-DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -Dmacppc    -traditional-cpp \
../../../../../../lib/libkern/arch/powerpc/ffs.S \
../../../../../../lib/libkern/arch/powerpc/bzero.S \
../../../../../../lib/libkern/arch/powerpc/strlen.S
../../../../../../lib/libkern/arch/powerpc/bzero.S:33: \
assym.h: No such file or directory
../../../../../../lib/libkern/arch/powerpc/bzero.S:170: \
#error Define CACHELINESHIFT for your CACHELINESIZE
mkdep: compile failed.
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/macppc/compile/LANCER/lib/kern
*** Error code 1

Stop.
---

Now lib/kern/.depend depends assym.h for libkern/arch/powerpc/bzero.S,
so I guess we have to have "dependkernlib: assym.h" rule in
arch/powerpc/conf/Makefile.powerpc.
(or sys/lib/libkern/Makefile.inc ?)
---
Izumi Tsutsui
tsutsui%ceres.dti.ne.jp@localhost



Home | Main Index | Thread Index | Old Index