summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2004-12-30 23:22:08 +0000
committerWarner Losh <imp@FreeBSD.org>2004-12-30 23:22:08 +0000
commit4e91eaf27882a4e677bade2584e56c2b67c31ad8 (patch)
treeb5ca84fe75c830a4dde4a4054a03cc7db749c23b /sys
parent2c3bc7b9f44fcc84a98a3b521a77f2ad5a797884 (diff)
downloadsrc-test2-4e91eaf27882a4e677bade2584e56c2b67c31ad8.tar.gz
src-test2-4e91eaf27882a4e677bade2584e56c2b67c31ad8.zip
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/kmod.mk26
1 files changed, 21 insertions, 5 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index ec4540707d7e..5c3ea0129768 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -340,13 +340,9 @@ vnode_if_typedef.h:
${AWK} -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
.endif
-.for _i in mii pccard usb
+.for _i in mii pccard
.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: @
.else
@@ -356,6 +352,26 @@ ${_i}devs.h: @/tools/${_i}devs2h.awk @/dev/${_i}/${_i}devs
.endif
.endfor # _i
+.if ${SRCS:Musbdevs.h} != ""
+CLEANFILES+= usbdevs.h
+.if !exists(@)
+usbdevs.h: @
+.else
+usbdevs.h: @/tools/usbdevs2h.awk @/dev/usb/usbdevs
+.endif
+ ${AWK} -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h
+.endif
+
+.if ${SRCS:Musbdevs_data.h} != ""
+CLEANFILES+= usbdevs_data.h
+.if !exists(@)
+usbdevs_data.h: @
+.else
+usbdevs_data.h: @/tools/usbdevs2h.awk @/dev/usb/usbdevs
+.endif
+ ${AWK} -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -d
+.endif
+
.if ${SRCS:Macpi_quirks.h} != ""
CLEANFILES+= acpi_quirks.h
.if !exists(@)