Move machine link creation from genassym to kernel-depend, per nyan@
This commit is contained in:
parent
7b109fa404
commit
1fddc467ee
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user