diff options
author | ru <ru@FreeBSD.org> | 2004-10-24 08:26:48 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-10-24 08:26:48 +0000 |
commit | 7c32b1fe319a34aec844fa348b880c3f92790fe8 (patch) | |
tree | 56d0ce86c7f679c0930401f7e0be1a30864cf59e | |
parent | 2e2bd36810607aff604d0ededf8d9e3d5bcfec22 (diff) | |
download | FreeBSD-src-7c32b1fe319a34aec844fa348b880c3f92790fe8.zip FreeBSD-src-7c32b1fe319a34aec844fa348b880c3f92790fe8.tar.gz |
Hack around a problem with sys/tools/usbdevs2h.awk that generates
both usbdevs.h and usbdevs_data.h. (The latter was not cleaned.)
-rw-r--r-- | sys/conf/files | 2 | ||||
-rw-r--r-- | sys/conf/kmod.mk | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files index 2cd1512..981a3f9 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -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 diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 4703863..8cf8066 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -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 |