Move the miidevs.h build stuff to conf/files so that config(8) doesn't
clobber it each time. XXX: maybe this should be 'optional miibus' rather than 'standard'
This commit is contained in:
parent
9e8f2a17ec
commit
cb42115081
@ -30,6 +30,11 @@ aic79xx_{seq.h,reg.h,reg_print.c} optional ahd pci \
|
||||
aic79xx_reg_print.o optional ahd pci ahd_reg_pretty_print \
|
||||
compile-with "${NORMAL_C}" \
|
||||
no-implicit-rule local
|
||||
miidevs.h standard \
|
||||
dependency "$S/tools/devlist2h.awk $S/dev/mii/miidevs" \
|
||||
compile-with "${AWK} -f $S/tools/devlist2h.awk $S/dev/mii/miidevs" \
|
||||
no-obj no-implicit-rule \
|
||||
clean "miidevs.h"
|
||||
kern/device_if.m standard
|
||||
kern/bus_if.m standard
|
||||
kern/clock_if.m optional genclock
|
||||
|
@ -50,9 +50,6 @@ ${mfile:T:S/.m$/.h/}: ${mfile}
|
||||
${AWK} -f $S/tools/makeobjops.awk ${mfile} -h
|
||||
.endfor
|
||||
|
||||
miidevs.h: $S/tools/devlist2h.awk $S/dev/mii/miidevs
|
||||
${AWK} -f $S/tools/devlist2h.awk $S/dev/mii/miidevs
|
||||
|
||||
.if !exists(.depend)
|
||||
acphy.o amphy.o bmtphy.o brgphy.o dcphy.o e1000phy.o exphy.o if_bge.o if_tx.o \
|
||||
inphy.o lxtphy.o nsgphy.o nsphy.o pnaphy.o pnphy.o qsphy.o rlphy.o tdkphy.o \
|
||||
@ -62,7 +59,7 @@ tlphy.o xmphy.o: miidevs.h
|
||||
kernel-clean:
|
||||
rm -f *.o *.so *.So *.ko *.s eddep errs \
|
||||
${FULLKERNEL} ${KERNEL_KO} linterrs makelinks tags \
|
||||
miidevs.h vers.c vnode_if.c vnode_if.h \
|
||||
vers.c vnode_if.c vnode_if.h \
|
||||
${MFILES:T:S/.m$/.c/} ${MFILES:T:S/.m$/.h/} \
|
||||
${CLEAN}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user