Make symlink $S/$M/include -> compile/FOO/machine at kernel-depend

instead of geneassym.o.
This commit is contained in:
kato 2001-07-29 07:39:14 +00:00
parent d45178b105
commit 5a0027f1f6

View File

@ -188,12 +188,12 @@ assym.s: $S/kern/genassym.sh genassym.o
OBJFORMAT=elf sh $S/kern/genassym.sh genassym.o > ${.TARGET}
genassym.o: $S/$M/$M/genassym.c
rm -f ./machine ; ln -s $S/$M/include ./machine
${CC} -c ${CFLAGS} -elf $S/$M/$M/genassym.c
${SYSTEM_OBJS} genassym.o vers.o: opt_global.h
kernel-depend:
rm -f ./machine ; ln -s $S/$M/include ./machine
rm -f .olddep
if [ -f .depend ]; then mv .depend .olddep; fi
${MAKE} _kernel-depend