Move machine link creation from genassym to kernel-depend, per nyan@

This commit is contained in:
Warner Losh 2001-11-04 23:10:39 +00:00
parent 7b109fa404
commit 1fddc467ee
2 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ S= ../../..
.endif
.include "$S/conf/kern.pre.mk"
EXTRA_GENASSYM=rm -f ./machine ; ln -s $S/$M/include ./machine
EXTRA_KERNELDEP=rm -f ./machine ; ln -s $S/$M/include ./machine
MKMODULESENV+= MACHINE=pc98
%BEFORE_DEPEND

View File

@ -74,14 +74,14 @@ assym.s: $S/kern/genassym.sh genassym.o
NM=${NM} OBJFORMAT=elf sh $S/kern/genassym.sh genassym.o > ${.TARGET}
genassym.o: $S/$M/$M/genassym.c
.if defined(EXTRA_GENASSYM)
${EXTRA_GENASSYM}
.endif
${CC} -c ${CFLAGS} $S/$M/$M/genassym.c
${SYSTEM_OBJS} genassym.o vers.o: opt_global.h
kernel-depend:
.if defined(EXTRA_KERNELDEP)
${EXTRA_KERNELDEP}
.endif
rm -f .olddep
if [ -f .depend ]; then mv .depend .olddep; fi
${MAKE} _kernel-depend