diff options
author | green <green@FreeBSD.org> | 2004-12-08 03:54:32 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2004-12-08 03:54:32 +0000 |
commit | a7cdf97674cad60901b4c0370e5fe451a9c78ddf (patch) | |
tree | 155e00cdbdb7c1aaddb6252615379994e99f0844 /sys/conf | |
parent | 6224f36cad9bdcce7529bf6787b10bea8a27b78b (diff) | |
download | FreeBSD-src-a7cdf97674cad60901b4c0370e5fe451a9c78ddf.zip FreeBSD-src-a7cdf97674cad60901b4c0370e5fe451a9c78ddf.tar.gz |
Unbreak KLDs that use VFS by accounting for changes in the generation
process for the vnode header files.
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/kmod.mk | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 2d6cfd55..fcf8469 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -315,18 +315,29 @@ ${_src}: @/tools/makeobjops.awk @/${_srcsrc} .endfor # _ext .endfor # _srcsrc -.for _ext in c h -.if ${SRCS:Mvnode_if.${_ext}} != "" -CLEANFILES+= vnode_if.${_ext} +.if ${SRCS:Mvnode_if.c} != "" +CLEANFILES+= vnode_if.c .if !exists(@) -vnode_if.${_ext}: @ +vnode_if.c: @ .endif .if exists(@) -vnode_if.${_ext}: @/tools/vnode_if.awk @/kern/vnode_if.src +vnode_if.c: @/tools/vnode_if.awk @/kern/vnode_if.src .endif - ${AWK} -f @/tools/vnode_if.awk @/kern/vnode_if.src -${_ext} + ${AWK} -f @/tools/vnode_if.awk @/kern/vnode_if.src -c +.endif + +.if ${SRCS:Mvnode_if.h} != "" +CLEANFILES+= vnode_if.h +.if !exists(@) +vnode_if.h: @ +.endif +.if exists(@) +vnode_if.h: @/tools/vnode_if.awk @/kern/vnode_if.src +.endif + ${AWK} -f @/tools/vnode_if.awk @/kern/vnode_if.src -h + ${AWK} -f @/tools/vnode_if.awk @/kern/vnode_if.src -p + ${AWK} -f @/tools/vnode_if.awk @/kern/vnode_if.src -q .endif -.endfor .for _i in mii pccard usb .if ${SRCS:M${_i}devs.h} != "" |