diff options
| author | Warner Losh <imp@FreeBSD.org> | 2008-09-01 23:59:00 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2008-09-01 23:59:00 +0000 |
| commit | 9e51595ce660d915899019d03075d8c17f3732d3 (patch) | |
| tree | f3879290a2a415b707c0fc6df509bc783d30abf6 | |
| parent | eaeb50d411b0b61ad58228701d5dea647746f678 (diff) | |
Notes
37 files changed, 65 insertions, 66 deletions
diff --git a/sys/modules/aha/Makefile b/sys/modules/aha/Makefile index 36c7359d2aa65..24d356cd8da8d 100644 --- a/sys/modules/aha/Makefile +++ b/sys/modules/aha/Makefile @@ -8,7 +8,7 @@ SRCS= aha.c aha_isa.c ahareg.h opt_cam.h device_if.h bus_if.h \ .if !defined(KERNBUILDDIR) opt_scsi.h: - echo "#define SCSI_DELAY 15000" > opt_scsi.h + echo "#define SCSI_DELAY 15000" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/ahb/Makefile b/sys/modules/ahb/Makefile index d015237b3bf41..2616226cbcc3f 100644 --- a/sys/modules/ahb/Makefile +++ b/sys/modules/ahb/Makefile @@ -3,12 +3,11 @@ .PATH: ${.CURDIR}/../../dev/ahb KMOD= ahb -SRCS= ahb.c opt_cam.h device_if.h bus_if.h \ - eisa_if.h opt_scsi.h +SRCS= ahb.c opt_cam.h device_if.h bus_if.h eisa_if.h opt_scsi.h .if !defined(KERNBUILDDIR) opt_scsi.h: - echo "#define SCSI_DELAY 15000" > opt_scsi.h + echo "#define SCSI_DELAY 15000" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/an/Makefile b/sys/modules/an/Makefile index 7b7ad7898a5b3..b22f9d1144fb7 100644 --- a/sys/modules/an/Makefile +++ b/sys/modules/an/Makefile @@ -9,7 +9,7 @@ SRCS+= pccarddevs.h .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/ar/Makefile b/sys/modules/ar/Makefile index 78fe22e758b7c..9350ac0905a0f 100644 --- a/sys/modules/ar/Makefile +++ b/sys/modules/ar/Makefile @@ -10,7 +10,7 @@ NETGRAPH?= 0 .if ${NETGRAPH} != 0 opt_netgraph.h: - echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h + echo "#define NETGRAPH ${NETGRAPH}" > ${.TARGET} .endif .endif diff --git a/sys/modules/ath_rate_amrr/Makefile b/sys/modules/ath_rate_amrr/Makefile index a3b845139d5cf..2617d1bc7fa34 100644 --- a/sys/modules/ath_rate_amrr/Makefile +++ b/sys/modules/ath_rate_amrr/Makefile @@ -61,8 +61,8 @@ opt_ah.h: ${HAL}/public/${ATH_MODULE_ARCH}-elf.opt_ah.h .if !defined(KERNBUILDDIR) opt_wlan.h: -# echo "#define IEEE80211_DEBUG 1" > opt_wlan.h - echo > opt_wlan.h +# echo "#define IEEE80211_DEBUG 1" > ${.TARGET} + echo > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/ath_rate_onoe/Makefile b/sys/modules/ath_rate_onoe/Makefile index 3f71e862fde0e..96cd38cacd5d4 100644 --- a/sys/modules/ath_rate_onoe/Makefile +++ b/sys/modules/ath_rate_onoe/Makefile @@ -61,8 +61,8 @@ opt_ah.h: ${HAL}/public/${ATH_MODULE_ARCH}-elf.opt_ah.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h -# echo > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} +# echo > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/ath_rate_sample/Makefile b/sys/modules/ath_rate_sample/Makefile index 7e5d6e1c29031..02a5acf6c855f 100644 --- a/sys/modules/ath_rate_sample/Makefile +++ b/sys/modules/ath_rate_sample/Makefile @@ -61,8 +61,8 @@ opt_ah.h: ${HAL}/public/${ATH_MODULE_ARCH}-elf.opt_ah.h .if !defined(KERNBUILDDIR) opt_wlan.h: -# echo "#define IEEE80211_DEBUG 1" > opt_wlan.h - echo > opt_wlan.h +# echo "#define IEEE80211_DEBUG 1" > ${.TARGET} + echo > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/ce/Makefile b/sys/modules/ce/Makefile index f8ac9a84734ac..a7bccff94bceb 100644 --- a/sys/modules/ce/Makefile +++ b/sys/modules/ce/Makefile @@ -16,12 +16,12 @@ CFLAGS+= ${PROTOS} .if ${NETGRAPH} != 0 opt_netgraph.h: - echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h + echo "#define NETGRAPH ${NETGRAPH}" > ${.TARGET} .endif .if ${NG_CRONYX} != 0 opt_ng_cronyx.h: - echo "#define NETGRAPH_CRONYX 1" > opt_ng_cronyx.h + echo "#define NETGRAPH_CRONYX 1" > ${.TARGET} .endif .endif diff --git a/sys/modules/cp/Makefile b/sys/modules/cp/Makefile index bb3a0ffc80d1d..56be36c556ad4 100644 --- a/sys/modules/cp/Makefile +++ b/sys/modules/cp/Makefile @@ -16,12 +16,12 @@ CFLAGS+= ${PROTOS} .if ${NETGRAPH} != 0 opt_netgraph.h: - echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h + echo "#define NETGRAPH ${NETGRAPH}" > ${.TARGET} .endif .if ${NG_CRONYX} != 0 opt_ng_cronyx.h: - echo "#define NETGRAPH_CRONYX 1" > opt_ng_cronyx.h + echo "#define NETGRAPH_CRONYX 1" > ${.TARGET} .endif .endif diff --git a/sys/modules/ctau/Makefile b/sys/modules/ctau/Makefile index 2f210f8918cbf..9d3d9c51f94d4 100644 --- a/sys/modules/ctau/Makefile +++ b/sys/modules/ctau/Makefile @@ -15,12 +15,12 @@ CFLAGS+= ${PROTOS} .if ${NETGRAPH} != 0 opt_netgraph.h: - echo "#define NETGRAPH $(NETGRAPH)" > opt_netgraph.h + echo "#define NETGRAPH $(NETGRAPH)" > ${.TARGET} .endif .if ${NG_CRONYX} != 0 opt_ng_cronyx.h: - echo "#define NETGRAPH_CRONYX 1" > opt_ng_cronyx.h + echo "#define NETGRAPH_CRONYX 1" > ${.TARGET} .endif .endif diff --git a/sys/modules/cx/Makefile b/sys/modules/cx/Makefile index 0716f9055b93e..937937075a8df 100644 --- a/sys/modules/cx/Makefile +++ b/sys/modules/cx/Makefile @@ -15,12 +15,12 @@ CFLAGS+= ${PROTOS} .if ${NETGRAPH} != 0 opt_netgraph.h: - echo "#define NETGRAPH $(NETGRAPH)" > opt_netgraph.h + echo "#define NETGRAPH $(NETGRAPH)" > ${.TARGET} .endif .if ${NG_CRONYX} != 0 opt_ng_cronyx.h: - echo "#define NETGRAPH_CRONYX 1" > opt_ng_cronyx.h + echo "#define NETGRAPH_CRONYX 1" > ${.TARGET} .endif .endif diff --git a/sys/modules/digi/digi/Makefile b/sys/modules/digi/digi/Makefile index a9bd010682c9f..3f19f01b69b45 100644 --- a/sys/modules/digi/digi/Makefile +++ b/sys/modules/digi/digi/Makefile @@ -9,8 +9,8 @@ SRCS+= opt_compat.h .if !defined(KERNBUILDDIR) opt_compat.h: - echo "#define COMPAT_43 1" > opt_compat.h - echo "#define COMPAT_FREEBSD6 1" >> opt_compat.h + echo "#define COMPAT_43 1" > ${.TARGET} + echo "#define COMPAT_FREEBSD6 1" >> ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/fatm/Makefile b/sys/modules/fatm/Makefile index c77ea7109e34e..3e0b8410fe250 100644 --- a/sys/modules/fatm/Makefile +++ b/sys/modules/fatm/Makefile @@ -11,10 +11,10 @@ SRCS= if_fatm.c device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} opt_natm.h: - echo "#define NATM 1" > opt_natm.h + echo "#define NATM 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/hatm/Makefile b/sys/modules/hatm/Makefile index 5dcf113924e6f..ec1a8788ebef3 100644 --- a/sys/modules/hatm/Makefile +++ b/sys/modules/hatm/Makefile @@ -13,10 +13,10 @@ CFLAGS+= -DENABLE_BPF .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} opt_natm.h: - echo "#define NATM 1" > opt_natm.h + echo "#define NATM 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/hifn/Makefile b/sys/modules/hifn/Makefile index 9dfd04ae0b02d..6897e348ec598 100644 --- a/sys/modules/hifn/Makefile +++ b/sys/modules/hifn/Makefile @@ -8,7 +8,7 @@ SRCS += opt_bus.h cryptodev_if.h .if !defined(KERNBUILDDIR) opt_hifn.h: - echo "#define HIFN_DEBUG 1" > opt_hifn.h + echo "#define HIFN_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/if_tap/Makefile b/sys/modules/if_tap/Makefile index c138e7105598c..b993093a29db6 100644 --- a/sys/modules/if_tap/Makefile +++ b/sys/modules/if_tap/Makefile @@ -12,7 +12,7 @@ opt_compat.h: echo "#define COMPAT_FREEBSD6 1" > ${.TARGET} opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index 58d5b11c555c1..82eb0561900dc 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -54,7 +54,7 @@ linux${SFX}_genassym.o: linux${SFX}_genassym.c linux.h @ machine .if !defined(KERNBUILDDIR) opt_inet6.h: - echo "#define INET6 1" > opt_inet6.h + echo "#define INET6 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/netgraph/sync_ar/Makefile b/sys/modules/netgraph/sync_ar/Makefile index 11136c2a3bd7d..05878969a7d69 100644 --- a/sys/modules/netgraph/sync_ar/Makefile +++ b/sys/modules/netgraph/sync_ar/Makefile @@ -1,13 +1,13 @@ # $FreeBSD$ - + .PATH: ${.CURDIR}/../../../dev/ar KMOD = ng_sync_ar SRCS = if_ar.c if_ar_isa.c if_ar_pci.c SRCS += device_if.h bus_if.h pci_if.h isa_if.h opt_netgraph.h - + .if !defined(KERNBUILDDIR) opt_netgraph.h: - echo "#define NETGRAPH" > opt_netgraph.h + echo "#define NETGRAPH" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/netgraph/sync_sr/Makefile b/sys/modules/netgraph/sync_sr/Makefile index ae49a3a40bbc6..5d35a79227309 100644 --- a/sys/modules/netgraph/sync_sr/Makefile +++ b/sys/modules/netgraph/sync_sr/Makefile @@ -1,13 +1,13 @@ # $FreeBSD$ - + .PATH: ${.CURDIR}/../../../dev/sr KMOD = ng_sync_sr SRCS = if_sr.c if_sr_isa.c if_sr_pci.c SRCS += device_if.h bus_if.h pci_if.h isa_if.h opt_netgraph.h - + .if !defined(KERNBUILDDIR) opt_netgraph.h: - echo "#define NETGRAPH" > opt_netgraph.h + echo "#define NETGRAPH" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/patm/Makefile b/sys/modules/patm/Makefile index 7e33a36c03486..5d5200e739458 100644 --- a/sys/modules/patm/Makefile +++ b/sys/modules/patm/Makefile @@ -14,10 +14,10 @@ CFLAGS+= -DENABLE_BPF .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} opt_natm.h: - echo "#define NATM 1" > opt_natm.h + echo "#define NATM 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/pf/Makefile b/sys/modules/pf/Makefile index ce674142757e8..3b07c41512b3e 100644 --- a/sys/modules/pf/Makefile +++ b/sys/modules/pf/Makefile @@ -15,20 +15,20 @@ CFLAGS+= -I${.CURDIR}/../../contrib/pf .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} .if ${MK_INET6_SUPPORT} != "no" opt_inet6.h: - echo "#define INET6 1" > opt_inet6.h + echo "#define INET6 1" > ${.TARGET} .endif opt_bpf.h: - echo "#define DEV_BPF 1" > opt_bpf.h + echo "#define DEV_BPF 1" > ${.TARGET} # pflog can be loaded as a module, have the additional checks turned on opt_pf.h: - echo "#define DEV_PF 1" > opt_pf.h - echo "#define DEF_PFLOG 1" >> opt_pf.h + echo "#define DEV_PF 1" > ${.TARGET} + echo "#define DEF_PFLOG 1" >> ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/pflog/Makefile b/sys/modules/pflog/Makefile index 12ead1287a775..2dbbd6cf65441 100644 --- a/sys/modules/pflog/Makefile +++ b/sys/modules/pflog/Makefile @@ -12,15 +12,15 @@ CFLAGS+= -I${.CURDIR}/../../contrib/pf .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} .if ${MK_INET6_SUPPORT} != "no" opt_inet6.h: - echo "#define INET6 1" > opt_inet6.h + echo "#define INET6 1" > ${.TARGET} .endif opt_bpf.h: - echo "#define DEV_BPF 1" > opt_bpf.h + echo "#define DEV_BPF 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/rp/Makefile b/sys/modules/rp/Makefile index 8c4c9d972bbc5..9326dffdae621 100644 --- a/sys/modules/rp/Makefile +++ b/sys/modules/rp/Makefile @@ -7,7 +7,7 @@ SRCS= rp.c rp_pci.c device_if.h bus_if.h pci_if.h opt_compat.h .if !defined(KERNBUILDDIR) opt_compat.h: - echo "#define COMPAT_43 1" > opt_compat.h + echo "#define COMPAT_43 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/safe/Makefile b/sys/modules/safe/Makefile index f1d1d61392ff4..6c61aa3ede33c 100644 --- a/sys/modules/safe/Makefile +++ b/sys/modules/safe/Makefile @@ -34,7 +34,7 @@ SRCS += opt_bus.h cryptodev_if.h .if !defined(KERNBUILDDIR) opt_safe.h: - echo "#define SAFE_DEBUG 1" > opt_safe.h + echo "#define SAFE_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/sppp/Makefile b/sys/modules/sppp/Makefile index 0976210a21a39..455d2f3c03b99 100644 --- a/sys/modules/sppp/Makefile +++ b/sys/modules/sppp/Makefile @@ -17,13 +17,13 @@ EXPORT_SYMS= sppp_attach \ .if !defined(KERNBUILDDIR) opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} opt_inet6.h: - echo "#define INET6 1" > opt_inet6.h + echo "#define INET6 1" > ${.TARGET} opt_ipx.h: - echo "#define IPX 1" > opt_ipx.h + echo "#define IPX 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/sr/Makefile b/sys/modules/sr/Makefile index 22bfc4bb54836..b65df093dd23a 100644 --- a/sys/modules/sr/Makefile +++ b/sys/modules/sr/Makefile @@ -10,7 +10,7 @@ NETGRAPH?= 0 .if ${NETGRAPH} != 0 opt_netgraph.h: - echo "#define NETGRAPH ${NETGRAPH}" > opt_netgraph.h + echo "#define NETGRAPH ${NETGRAPH}" > ${.TARGET} .endif .endif diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile index 92047384296cd..6229ec9224b37 100644 --- a/sys/modules/svr4/Makefile +++ b/sys/modules/svr4/Makefile @@ -26,11 +26,11 @@ svr4_genassym.o: svr4_genassym.c svr4.h @ machine .if !defined(KERNBUILDDIR) opt_compat.h: - echo "#define COMPAT_43 1" > opt_compat.h + echo "#define COMPAT_43 1" > ${.TARGET} .if defined(DEBUG) opt_svr4.h: - echo "#define DEBUG_SVR4 1" > opt_svr4.h + echo "#define DEBUG_SVR4 1" > ${.TARGET} .endif .endif diff --git a/sys/modules/trm/Makefile b/sys/modules/trm/Makefile index beb1ab474980c..48df9f5bff321 100644 --- a/sys/modules/trm/Makefile +++ b/sys/modules/trm/Makefile @@ -8,7 +8,7 @@ SRCS= trm.c trm.h opt_cam.h device_if.h bus_if.h \ .if !defined(KERNBUILDDIR) opt_scsi.h: - echo "#define SCSI_DELAY 15000" > opt_scsi.h + echo "#define SCSI_DELAY 15000" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/ubsec/Makefile b/sys/modules/ubsec/Makefile index e9611c10c5365..d7835fa0d79bf 100644 --- a/sys/modules/ubsec/Makefile +++ b/sys/modules/ubsec/Makefile @@ -8,7 +8,7 @@ SRCS += opt_bus.h cryptodev_if.h .if !defined(KERNBUILDDIR) opt_ubsec.h: - echo "#define UBSEC_DEBUG 1" > opt_ubsec.h + echo "#define UBSEC_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan/Makefile b/sys/modules/wlan/Makefile index ba8e097c3f4da..02bfefb85409c 100644 --- a/sys/modules/wlan/Makefile +++ b/sys/modules/wlan/Makefile @@ -14,14 +14,14 @@ SRCS+= bus_if.h device_if.h opt_inet.h opt_ipx.h opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h - echo "#define IEEE80211_AMDPU_AGE 1" >> opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} + echo "#define IEEE80211_AMDPU_AGE 1" >> ${.TARGET} opt_inet.h: - echo "#define INET 1" > opt_inet.h + echo "#define INET 1" > ${.TARGET} opt_ipx.h: - echo "#define IPX 1" > opt_ipx.h + echo "#define IPX 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_acl/Makefile b/sys/modules/wlan_acl/Makefile index 59228599996e8..6de7be4059655 100644 --- a/sys/modules/wlan_acl/Makefile +++ b/sys/modules/wlan_acl/Makefile @@ -8,7 +8,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_amrr/Makefile b/sys/modules/wlan_amrr/Makefile index 481d124d280ed..d4593389ac589 100644 --- a/sys/modules/wlan_amrr/Makefile +++ b/sys/modules/wlan_amrr/Makefile @@ -8,7 +8,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_ccmp/Makefile b/sys/modules/wlan_ccmp/Makefile index bbf8f6207fa4d..8655c801f6639 100644 --- a/sys/modules/wlan_ccmp/Makefile +++ b/sys/modules/wlan_ccmp/Makefile @@ -10,7 +10,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_rssadapt/Makefile b/sys/modules/wlan_rssadapt/Makefile index 2285afc34dd6e..be70989d9d851 100644 --- a/sys/modules/wlan_rssadapt/Makefile +++ b/sys/modules/wlan_rssadapt/Makefile @@ -8,7 +8,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_tkip/Makefile b/sys/modules/wlan_tkip/Makefile index 80c19f85fa05a..46a7257a915cd 100644 --- a/sys/modules/wlan_tkip/Makefile +++ b/sys/modules/wlan_tkip/Makefile @@ -8,7 +8,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_wep/Makefile b/sys/modules/wlan_wep/Makefile index 3a5c6dcb97920..89fca2fb26321 100644 --- a/sys/modules/wlan_wep/Makefile +++ b/sys/modules/wlan_wep/Makefile @@ -8,7 +8,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> diff --git a/sys/modules/wlan_xauth/Makefile b/sys/modules/wlan_xauth/Makefile index 1877fd18eb446..ccab4d3d51a09 100644 --- a/sys/modules/wlan_xauth/Makefile +++ b/sys/modules/wlan_xauth/Makefile @@ -8,7 +8,7 @@ SRCS+= opt_wlan.h .if !defined(KERNBUILDDIR) opt_wlan.h: - echo "#define IEEE80211_DEBUG 1" > opt_wlan.h + echo "#define IEEE80211_DEBUG 1" > ${.TARGET} .endif .include <bsd.kmod.mk> |
