summaryrefslogtreecommitdiffstats
path: root/sys/conf/kmod.mk
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2005-09-07 17:38:46 +0000
committerobrien <obrien@FreeBSD.org>2005-09-07 17:38:46 +0000
commit711c9713a35eca5172233b27e078b79e3e30b105 (patch)
tree4b4649e7ea24945af47f4b5176172dfbcd9eb2e0 /sys/conf/kmod.mk
parentba6ab73cea264da3e4f119e5b2bd7fc4c05f6410 (diff)
downloadFreeBSD-src-711c9713a35eca5172233b27e078b79e3e30b105.zip
FreeBSD-src-711c9713a35eca5172233b27e078b79e3e30b105.tar.gz
Use the more readable empty() syntax.
Diffstat (limited to 'sys/conf/kmod.mk')
-rw-r--r--sys/conf/kmod.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 2e6b7cf..87ebc62 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -331,7 +331,7 @@ ${_src}: @/tools/makeobjops.awk @/${_srcsrc}
.endfor # _ext
.endfor # _srcsrc
-.if ${SRCS:Mvnode_if.c} != ""
+.if !empty(SRCS:Mvnode_if.c)
CLEANFILES+= vnode_if.c
.if !exists(@)
vnode_if.c: @
@@ -341,7 +341,7 @@ vnode_if.c: @/tools/vnode_if.awk @/kern/vnode_if.src
${AWK} -f @/tools/vnode_if.awk @/kern/vnode_if.src -c
.endif
-.if ${SRCS:Mvnode_if.h} != ""
+.if !empty(SRCS:Mvnode_if.h)
CLEANFILES+= vnode_if.h vnode_if_newproto.h vnode_if_typedef.h
.if !exists(@)
vnode_if.h vnode_if_newproto.h vnode_if_typedef.h: @
@@ -358,7 +358,7 @@ vnode_if_typedef.h:
.endif
.for _i in mii pccard
-.if ${SRCS:M${_i}devs.h} != ""
+.if !empty(SRCS:M${_i}devs.h)
CLEANFILES+= ${_i}devs.h
.if !exists(@)
${_i}devs.h: @
@@ -369,7 +369,7 @@ ${_i}devs.h: @/tools/${_i}devs2h.awk @/dev/${_i}/${_i}devs
.endif
.endfor # _i
-.if ${SRCS:Musbdevs.h} != ""
+.if !empty(SRCS:Musbdevs.h)
CLEANFILES+= usbdevs.h
.if !exists(@)
usbdevs.h: @
@@ -379,7 +379,7 @@ usbdevs.h: @/tools/usbdevs2h.awk @/dev/usb/usbdevs
${AWK} -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -h
.endif
-.if ${SRCS:Musbdevs_data.h} != ""
+.if !empty(SRCS:Musbdevs_data.h)
CLEANFILES+= usbdevs_data.h
.if !exists(@)
usbdevs_data.h: @
@@ -389,7 +389,7 @@ usbdevs_data.h: @/tools/usbdevs2h.awk @/dev/usb/usbdevs
${AWK} -f @/tools/usbdevs2h.awk @/dev/usb/usbdevs -d
.endif
-.if ${SRCS:Macpi_quirks.h} != ""
+.if !empty(SRCS:Macpi_quirks.h)
CLEANFILES+= acpi_quirks.h
.if !exists(@)
acpi_quirks.h: @
@@ -399,7 +399,7 @@ acpi_quirks.h: @/tools/acpi_quirks2h.awk @/dev/acpica/acpi_quirks
${AWK} -f @/tools/acpi_quirks2h.awk @/dev/acpica/acpi_quirks
.endif
-.if ${SRCS:Massym.s} != ""
+.if !empty(SRCS:Massym.s)
CLEANFILES+= assym.s genassym.o
assym.s: genassym.o
.if !exists(@)
OpenPOWER on IntegriCloud