From 1fddc467ee2a557b39f0ebbef5683e399d16a347 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sun, 4 Nov 2001 23:10:39 +0000 Subject: [PATCH] Move machine link creation from genassym to kernel-depend, per nyan@ --- sys/conf/Makefile.pc98 | 2 +- sys/conf/kern.post.mk | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index e92f5d571528..3c2ac5a2ee45 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -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 diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index 840a497d2eb8..b0d44daa123f 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -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