Hack around a problem with sys/tools/usbdevs2h.awk that generates
both usbdevs.h and usbdevs_data.h. (The latter was not cleaned.)
This commit is contained in:
parent
f82195b6c6
commit
52821cb52c
@ -54,7 +54,7 @@ usbdevs.h optional usb \
|
||||
dependency "$S/tools/usbdevs2h.awk $S/dev/usb/usbdevs" \
|
||||
compile-with "${AWK} -f $S/tools/usbdevs2h.awk $S/dev/usb/usbdevs" \
|
||||
no-obj no-implicit-rule before-depend \
|
||||
clean "usbdevs.h"
|
||||
clean "usbdevs.h usbdevs_data.h"
|
||||
kern/device_if.m standard
|
||||
kern/bus_if.m standard
|
||||
kern/clock_if.m optional genclock
|
||||
|
@ -333,6 +333,10 @@ vnode_if.${_ext}: @/tools/vnode_if.awk @/kern/vnode_if.src
|
||||
.for _i in mii pccard usb
|
||||
.if ${SRCS:M${_i}devs.h} != ""
|
||||
CLEANFILES+= ${_i}devs.h
|
||||
_i= ${_i:Musb}
|
||||
.if !empty(_i)
|
||||
CLEANFILES+= ${_i}devs_data.h
|
||||
.endif
|
||||
.if !exists(@)
|
||||
${_i}devs.h: @
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user