diff options
author | ru <ru@FreeBSD.org> | 2004-09-04 06:37:58 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-09-04 06:37:58 +0000 |
commit | 1391946a6f37f27f2846b3a310ecd5b6957e1ef1 (patch) | |
tree | 3d43c3f3019174f031714a4f281d9739ed37c091 /sys/modules | |
parent | 8ec6e44b75987c14571bd380fbcfe78e22624940 (diff) | |
download | FreeBSD-src-1391946a6f37f27f2846b3a310ecd5b6957e1ef1.zip FreeBSD-src-1391946a6f37f27f2846b3a310ecd5b6957e1ef1.tar.gz |
Let kmod.mk touch opt_*.h files as needed.
Inspired by: imp's email
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/fdc/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/linprocfs/Makefile | 3 | ||||
-rw-r--r-- | sys/modules/msdosfs/Makefile | 3 | ||||
-rw-r--r-- | sys/modules/nfs4client/Makefile | 3 | ||||
-rw-r--r-- | sys/modules/nfsclient/Makefile | 3 | ||||
-rw-r--r-- | sys/modules/owi/Makefile | 3 | ||||
-rw-r--r-- | sys/modules/smbfs/Makefile | 6 |
7 files changed, 4 insertions, 19 deletions
diff --git a/sys/modules/fdc/Makefile b/sys/modules/fdc/Makefile index a7f53ee..de92183 100644 --- a/sys/modules/fdc/Makefile +++ b/sys/modules/fdc/Makefile @@ -20,8 +20,6 @@ SRCS+= opt_fdc.h bus_if.h card_if.h device_if.h \ FDC_DEBUG?= 0 # 0/1 -opt_fdc.h: - touch ${.TARGET} .if ${FDC_DEBUG} > 0 echo "#define FDC_DEBUG 1" >> ${.TARGET} .endif diff --git a/sys/modules/linprocfs/Makefile b/sys/modules/linprocfs/Makefile index b31f9cb..98f9fcb 100644 --- a/sys/modules/linprocfs/Makefile +++ b/sys/modules/linprocfs/Makefile @@ -7,7 +7,4 @@ SRCS= vnode_if.h \ linprocfs.c \ opt_compat.h -opt_compat.h: - touch ${.TARGET} - .include <bsd.kmod.mk> diff --git a/sys/modules/msdosfs/Makefile b/sys/modules/msdosfs/Makefile index 9ee8451..cca7fa6 100644 --- a/sys/modules/msdosfs/Makefile +++ b/sys/modules/msdosfs/Makefile @@ -8,7 +8,4 @@ SRCS= opt_msdosfs.h vnode_if.h \ msdosfs_vfsops.c msdosfs_vnops.c EXPORT_SYMS= msdosfs_iconv -opt_msdosfs.h: - touch ${.TARGET} - .include <bsd.kmod.mk> diff --git a/sys/modules/nfs4client/Makefile b/sys/modules/nfs4client/Makefile index 723f571..5d6a695 100644 --- a/sys/modules/nfs4client/Makefile +++ b/sys/modules/nfs4client/Makefile @@ -21,9 +21,8 @@ SRCS+= rpcclnt.c # USE THE NEW IDMAPPER CFLAGS+= -DUSE_NEW_IDMAPPER -opt_inet.h: - touch ${.TARGET} .if ${NFS_INET} > 0 +opt_inet.h: echo "#define INET 1" > ${.TARGET} .endif diff --git a/sys/modules/nfsclient/Makefile b/sys/modules/nfsclient/Makefile index 11b83eb..1d7565e 100644 --- a/sys/modules/nfsclient/Makefile +++ b/sys/modules/nfsclient/Makefile @@ -22,9 +22,8 @@ SRCS+= rpcclnt.c # USE THE NEW IDMAPPER CFLAGS+= -DUSE_NEW_IDMAPPER -opt_inet.h: - touch ${.TARGET} .if ${NFS_INET} > 0 +opt_inet.h: echo "#define INET 1" > ${.TARGET} .endif diff --git a/sys/modules/owi/Makefile b/sys/modules/owi/Makefile index 85f5c71..e3aef24 100644 --- a/sys/modules/owi/Makefile +++ b/sys/modules/owi/Makefile @@ -6,7 +6,4 @@ KMOD= if_owi SRCS= opt_wi.h if_owi.c if_owi_pccard.c \ card_if.h device_if.h bus_if.h pci_if.h pccarddevs.h -opt_wi.h: - touch ${.TARGET} - .include <bsd.kmod.mk> diff --git a/sys/modules/smbfs/Makefile b/sys/modules/smbfs/Makefile index 44a6a9e..0c2b297 100644 --- a/sys/modules/smbfs/Makefile +++ b/sys/modules/smbfs/Makefile @@ -42,15 +42,13 @@ CFLAGS+= ${KDEBUG} CFLAGS+= -DVNPRINT .endif -opt_inet.h: - touch ${.TARGET} .if ${SMB_INET} > 0 +opt_inet.h: echo "#define INET 1" > ${.TARGET} .endif -opt_ipx.h: - touch ${.TARGET} .if ${SMB_IPX} > 0 +opt_ipx.h: echo "#define IPX 1" > ${.TARGET} .endif |