diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/conf/Makefile.amd64 | 2 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 2 | ||||
-rw-r--r-- | sys/conf/kmod.mk | 14 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/conf/Makefile.amd64 b/sys/conf/Makefile.amd64 index ce37f7e69b4b..cf9456a87a4b 100644 --- a/sys/conf/Makefile.amd64 +++ b/sys/conf/Makefile.amd64 @@ -32,7 +32,7 @@ S= ../../.. .include "$S/conf/kern.pre.mk" DDB_ENABLED!= grep DDB opt_ddb.h || true -.if ${DDB_ENABLED} != "" +.if !empty(DDB_ENABLED) CFLAGS+= -fno-omit-frame-pointer .endif diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index 7b44dcd6f57b..7102ba45ec15 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -33,7 +33,7 @@ S= ../../.. CFLAGS+= -msoft-float DDB_ENABLED!= grep DDB opt_ddb.h || true -.if ${DDB_ENABLED} != "" +.if !empty(DDB_ENABLED) CFLAGS+= -fno-omit-frame-pointer .endif diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 2e6b7cf68eb9..87ebc625741d 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(@) |