diff options
author | ngie <ngie@FreeBSD.org> | 2017-05-30 04:11:12 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-05-30 04:11:12 +0000 |
commit | 96dc1cf1ed7b32083e3c2518b615049a51e28805 (patch) | |
tree | cc073c28e12eab20ba91fc4b06400c1131b8d67d /sys/modules | |
parent | 61642a6713ab173381f65410feaddc6c99f97b54 (diff) | |
download | FreeBSD-src-96dc1cf1ed7b32083e3c2518b615049a51e28805.zip FreeBSD-src-96dc1cf1ed7b32083e3c2518b615049a51e28805.tar.gz |
MFC r314651,r318439,r318440:
r314651:
sys/modules: normalize .CURDIR-relative paths to SRCTOP
This simplifies make output/logic
Tested with: `cd sys/modules; make ALL_MODULES=` on amd64
r318439:
Normalize .PATH on SRCTOP
This will help Jenkins dedupe 9 warnings between the static build and
the module build of ipsec(4).
Missed in SRCTOP conversion in r314651.
MFC with: r314651
r318440:
Normalize SYSDIR on SRCTOP instead of .CURDIR
This is being done to simplify pathing for CFLAGS and source files.
Diffstat (limited to 'sys/modules')
785 files changed, 987 insertions, 994 deletions
diff --git a/sys/modules/3dfx/Makefile b/sys/modules/3dfx/Makefile index 67f1831..05f57cb 100644 --- a/sys/modules/3dfx/Makefile +++ b/sys/modules/3dfx/Makefile @@ -1,11 +1,10 @@ # $FreeBSD$ -.PATH: $(.CURDIR)/../../dev/tdfx +.PATH: ${SRCTOP}/sys/dev/tdfx KMOD= 3dfx SRCS= bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\ tdfx_vars.h tdfx_pci.c -INCSRC= ../../sys # Uncomment this for debugging messages #CFLAGS+= -DDEBUG diff --git a/sys/modules/3dfx_linux/Makefile b/sys/modules/3dfx_linux/Makefile index 8376037..609f5b3 100644 --- a/sys/modules/3dfx_linux/Makefile +++ b/sys/modules/3dfx_linux/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/tdfx +.PATH: ${SRCTOP}/sys/dev/tdfx KMOD= 3dfx_linux SRCS= tdfx_linux.c diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 22f4974..e95566b 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" SUBDIR_PARALLEL= @@ -436,7 +436,7 @@ SUBDIR+= opensolaris .endif .if ${MK_CRYPT} != "no" || defined(ALL_MODULES) -.if exists(${.CURDIR}/../opencrypto) +.if exists(${SRCTOP}/sys/opencrypto) _crypto= crypto _cryptodev= cryptodev _random_fortuna=random_fortuna diff --git a/sys/modules/aac/Makefile b/sys/modules/aac/Makefile index 5b6525f..1a5b433 100644 --- a/sys/modules/aac/Makefile +++ b/sys/modules/aac/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/aac +.PATH: ${SRCTOP}/sys/dev/aac .if ${MACHINE_CPUARCH} == "i386" SUBDIR= aac_linux diff --git a/sys/modules/aac/aac_linux/Makefile b/sys/modules/aac/aac_linux/Makefile index 4247a22..88861bf 100644 --- a/sys/modules/aac/aac_linux/Makefile +++ b/sys/modules/aac/aac_linux/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/aac +.PATH: ${SRCTOP}/sys/dev/aac KMOD= aac_linux SRCS= aac_linux.c diff --git a/sys/modules/aacraid/Makefile b/sys/modules/aacraid/Makefile index d0da1c2..8852d47 100644 --- a/sys/modules/aacraid/Makefile +++ b/sys/modules/aacraid/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/aacraid +.PATH: ${SRCTOP}/sys/dev/aacraid .if ${MACHINE_CPUARCH} == "i386" SUBDIR= aacraid_linux diff --git a/sys/modules/aacraid/aacraid_linux/Makefile b/sys/modules/aacraid/aacraid_linux/Makefile index 7a8b416..426f9d8 100644 --- a/sys/modules/aacraid/aacraid_linux/Makefile +++ b/sys/modules/aacraid/aacraid_linux/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/aacraid +.PATH: ${SRCTOP}/sys/dev/aacraid KMOD= aacraid_linux SRCS= aacraid_linux.c diff --git a/sys/modules/accf_data/Makefile b/sys/modules/accf_data/Makefile index 6c5216c..3cd8139 100644 --- a/sys/modules/accf_data/Makefile +++ b/sys/modules/accf_data/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet +.PATH: ${SRCTOP}/sys/netinet KMOD= accf_data SRCS= accf_data.c diff --git a/sys/modules/accf_dns/Makefile b/sys/modules/accf_dns/Makefile index 49012e2..ba65502 100644 --- a/sys/modules/accf_dns/Makefile +++ b/sys/modules/accf_dns/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet +.PATH: ${SRCTOP}/sys/netinet KMOD= accf_dns SRCS= accf_dns.c diff --git a/sys/modules/accf_http/Makefile b/sys/modules/accf_http/Makefile index b942d3e..6444703 100644 --- a/sys/modules/accf_http/Makefile +++ b/sys/modules/accf_http/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet +.PATH: ${SRCTOP}/sys/netinet KMOD= accf_http SRCS= accf_http.c diff --git a/sys/modules/acl_nfs4/Makefile b/sys/modules/acl_nfs4/Makefile index baff941..2a6dee6 100644 --- a/sys/modules/acl_nfs4/Makefile +++ b/sys/modules/acl_nfs4/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../kern +.PATH: ${SRCTOP}/sys/kern KMOD= acl_nfs4 SRCS= vnode_if.h subr_acl_nfs4.c diff --git a/sys/modules/acl_posix1e/Makefile b/sys/modules/acl_posix1e/Makefile index cb0c6e9..70d1b9d 100644 --- a/sys/modules/acl_posix1e/Makefile +++ b/sys/modules/acl_posix1e/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../kern +.PATH: ${SRCTOP}/sys/kern KMOD= acl_posix1e SRCS= vnode_if.h subr_acl_posix1e.c diff --git a/sys/modules/acpi/acpi_asus/Makefile b/sys/modules/acpi/acpi_asus/Makefile index 83672d7..3d5ec77 100644 --- a/sys/modules/acpi/acpi_asus/Makefile +++ b/sys/modules/acpi/acpi_asus/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/acpi_support +.PATH: ${SRCTOP}/sys/dev/acpi_support KMOD= acpi_asus SRCS= acpi_asus.c opt_acpi.h acpi_if.h bus_if.h device_if.h diff --git a/sys/modules/acpi/acpi_asus_wmi/Makefile b/sys/modules/acpi/acpi_asus_wmi/Makefile index a5ff32a..d9fa647 100644 --- a/sys/modules/acpi/acpi_asus_wmi/Makefile +++ b/sys/modules/acpi/acpi_asus_wmi/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/acpi_support +.PATH: ${SRCTOP}/sys/dev/acpi_support KMOD= acpi_asus_wmi -CFLAGS+=-I${.CURDIR}/../../../dev/acpi_support +CFLAGS+=-I${SRCTOP}/sys/dev/acpi_support SRCS= acpi_asus_wmi.c opt_acpi.h acpi_if.h acpi_wmi_if.h device_if.h bus_if.h .include <bsd.kmod.mk> diff --git a/sys/modules/acpi/acpi_dock/Makefile b/sys/modules/acpi/acpi_dock/Makefile index efbb973..7bda6b9 100644 --- a/sys/modules/acpi/acpi_dock/Makefile +++ b/sys/modules/acpi/acpi_dock/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/acpica +.PATH: ${SRCTOP}/sys/dev/acpica KMOD= acpi_dock SRCS= acpi_dock.c opt_acpi.h device_if.h bus_if.h acpi_if.h SRCS+= opt_ddb.h diff --git a/sys/modules/acpi/acpi_fujitsu/Makefile b/sys/modules/acpi/acpi_fujitsu/Makefile index b77a225..9c21c4b 100644 --- a/sys/modules/acpi/acpi_fujitsu/Makefile +++ b/sys/modules/acpi/acpi_fujitsu/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/acpi_support +.PATH: ${SRCTOP}/sys/dev/acpi_support KMOD= acpi_fujitsu -CFLAGS+=-I${.CURDIR}/../../../dev/acpi_support +CFLAGS+=-I${SRCTOP}/sys/dev/acpi_support SRCS= acpi_fujitsu.c opt_acpi.h acpi_if.h device_if.h bus_if.h .include <bsd.kmod.mk> diff --git a/sys/modules/acpi/acpi_hp/Makefile b/sys/modules/acpi/acpi_hp/Makefile index 306bebe..e927b92 100644 --- a/sys/modules/acpi/acpi_hp/Makefile +++ b/sys/modules/acpi/acpi_hp/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/acpi_support +.PATH: ${SRCTOP}/sys/dev/acpi_support KMOD= acpi_hp -CFLAGS+=-I${.CURDIR}/../../../dev/acpi_support +CFLAGS+=-I${SRCTOP}/sys/dev/acpi_support SRCS= acpi_hp.c opt_acpi.h acpi_if.h acpi_wmi_if.h device_if.h bus_if.h .include <bsd.kmod.mk> diff --git a/sys/modules/acpi/acpi_ibm/Makefile b/sys/modules/acpi/acpi_ibm/Makefile index caf0c2b..d653024 100644 --- a/sys/modules/acpi/acpi_ibm/Makefile +++ b/sys/modules/acpi/acpi_ibm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/acpi_support +.PATH: ${SRCTOP}/sys/dev/acpi_support KMOD= acpi_ibm SRCS= acpi_ibm.c opt_acpi.h device_if.h bus_if.h acpi_if.h SRCS+= opt_ddb.h diff --git a/sys/modules/acpi/acpi_panasonic/Makefile b/sys/modules/acpi/acpi_panasonic/Makefile index 36f8d77..e13a43c 100644 --- a/sys/modules/acpi/acpi_panasonic/Makefile +++ b/sys/modules/acpi/acpi_panasonic/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/acpi_support +.PATH: ${SRCTOP}/sys/dev/acpi_support KMOD= acpi_panasonic SRCS= acpi_panasonic.c opt_acpi.h acpi_if.h bus_if.h device_if.h diff --git a/sys/modules/acpi/acpi_rapidstart/Makefile b/sys/modules/acpi/acpi_rapidstart/Makefile index 1619625..30e373b 100644 --- a/sys/modules/acpi/acpi_rapidstart/Makefile +++ b/sys/modules/acpi/acpi_rapidstart/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/acpi_support +.PATH: ${SRCTOP}/sys/dev/acpi_support KMOD= acpi_rapidstart SRCS= acpi_rapidstart.c opt_acpi.h device_if.h bus_if.h acpi_if.h diff --git a/sys/modules/acpi/acpi_sony/Makefile b/sys/modules/acpi/acpi_sony/Makefile index 027afef..94bd85d 100644 --- a/sys/modules/acpi/acpi_sony/Makefile +++ b/sys/modules/acpi/acpi_sony/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/acpi_support +.PATH: ${SRCTOP}/sys/dev/acpi_support KMOD= acpi_sony SRCS= acpi_sony.c opt_acpi.h device_if.h bus_if.h acpi_if.h diff --git a/sys/modules/acpi/acpi_toshiba/Makefile b/sys/modules/acpi/acpi_toshiba/Makefile index 1207015..7d65767 100644 --- a/sys/modules/acpi/acpi_toshiba/Makefile +++ b/sys/modules/acpi/acpi_toshiba/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/acpi_support +.PATH: ${SRCTOP}/sys/dev/acpi_support KMOD= acpi_toshiba SRCS= acpi_toshiba.c opt_acpi.h acpi_if.h bus_if.h device_if.h diff --git a/sys/modules/acpi/acpi_video/Makefile b/sys/modules/acpi/acpi_video/Makefile index 67d3f08..8035981 100644 --- a/sys/modules/acpi/acpi_video/Makefile +++ b/sys/modules/acpi/acpi_video/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/acpica +.PATH: ${SRCTOP}/sys/dev/acpica KMOD= acpi_video SRCS= acpi_video.c diff --git a/sys/modules/acpi/acpi_wmi/Makefile b/sys/modules/acpi/acpi_wmi/Makefile index bdeefe3..0c03ffb 100644 --- a/sys/modules/acpi/acpi_wmi/Makefile +++ b/sys/modules/acpi/acpi_wmi/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/acpi_support +.PATH: ${SRCTOP}/sys/dev/acpi_support KMOD= acpi_wmi -CFLAGS+=-I${.CURDIR}/../../../dev/acpi_support +CFLAGS+=-I${SRCTOP}/sys/dev/acpi_support SRCS= acpi_wmi.c opt_acpi.h acpi_if.h acpi_wmi_if.h device_if.h bus_if.h .include <bsd.kmod.mk> diff --git a/sys/modules/acpi/aibs/Makefile b/sys/modules/acpi/aibs/Makefile index 5894fa8..dec7f39 100644 --- a/sys/modules/acpi/aibs/Makefile +++ b/sys/modules/acpi/aibs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/acpi_support +.PATH: ${SRCTOP}/sys/dev/acpi_support KMOD= aibs SRCS= atk0110.c diff --git a/sys/modules/ae/Makefile b/sys/modules/ae/Makefile index 4cd97a1..38ee90e 100644 --- a/sys/modules/ae/Makefile +++ b/sys/modules/ae/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ae +.PATH: ${SRCTOP}/sys/dev/ae KMOD= if_ae SRCS= if_ae.c device_if.h bus_if.h pci_if.h miibus_if.h diff --git a/sys/modules/aesni/Makefile b/sys/modules/aesni/Makefile index 97cbc5d..82f6d11 100644 --- a/sys/modules/aesni/Makefile +++ b/sys/modules/aesni/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../crypto/aesni +.PATH: ${SRCTOP}/sys/crypto/aesni KMOD= aesni SRCS= aesni.c diff --git a/sys/modules/age/Makefile b/sys/modules/age/Makefile index cfbf9cd..477b5b7 100644 --- a/sys/modules/age/Makefile +++ b/sys/modules/age/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/age +.PATH: ${SRCTOP}/sys/dev/age KMOD= if_age SRCS= if_age.c device_if.h bus_if.h pci_if.h miibus_if.h diff --git a/sys/modules/agp/Makefile b/sys/modules/agp/Makefile index bed6c29..383788f 100644 --- a/sys/modules/agp/Makefile +++ b/sys/modules/agp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/agp +.PATH: ${SRCTOP}/sys/dev/agp KMOD= agp SRCS= agp.c agp_if.c diff --git a/sys/modules/aha/Makefile b/sys/modules/aha/Makefile index 28bef14..2f1e175 100644 --- a/sys/modules/aha/Makefile +++ b/sys/modules/aha/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/aha +.PATH: ${SRCTOP}/sys/dev/aha KMOD= aha SRCS= aha.c aha_isa.c ahareg.h opt_cam.h device_if.h bus_if.h \ diff --git a/sys/modules/ahci/Makefile b/sys/modules/ahci/Makefile index 5666870..ff919f5 100644 --- a/sys/modules/ahci/Makefile +++ b/sys/modules/ahci/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ahci +.PATH: ${SRCTOP}/sys/dev/ahci KMOD= ahci SRCS= ahci.c ahci_pci.c ahciem.c ahci.h device_if.h bus_if.h pci_if.h opt_cam.h diff --git a/sys/modules/aic/Makefile b/sys/modules/aic/Makefile index 860d9a8..1d186f5 100644 --- a/sys/modules/aic/Makefile +++ b/sys/modules/aic/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/aic +.PATH: ${SRCTOP}/sys/dev/aic KMOD= aic SRCS= aic.c aic_pccard.c diff --git a/sys/modules/aic7xxx/ahc/Makefile b/sys/modules/aic7xxx/ahc/Makefile index 432d3c0..1402ea5 100644 --- a/sys/modules/aic7xxx/ahc/Makefile +++ b/sys/modules/aic7xxx/ahc/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" .PATH: ${SYSDIR}/dev/aic7xxx diff --git a/sys/modules/aic7xxx/ahc/ahc_isa/Makefile b/sys/modules/aic7xxx/ahc/ahc_isa/Makefile index f479a15..301e095 100644 --- a/sys/modules/aic7xxx/ahc/ahc_isa/Makefile +++ b/sys/modules/aic7xxx/ahc/ahc_isa/Makefile @@ -1,13 +1,13 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/aic7xxx +.PATH: ${SRCTOP}/sys/dev/aic7xxx KMOD= ahc_isa SRCS= ahc_isa.c SRCS+= device_if.h bus_if.h pci_if.h isa_if.h SRCS+= opt_scsi.h opt_cam.h opt_aic7xxx.h -CFLAGS+= -I${.CURDIR}/../../../../dev/aic7xxx -I.. +CFLAGS+= -I${SRCTOP}/sys/dev/aic7xxx -I.. .include <bsd.kmod.mk> diff --git a/sys/modules/aic7xxx/ahc/ahc_pci/Makefile b/sys/modules/aic7xxx/ahc/ahc_pci/Makefile index 729b566..7d59c86 100644 --- a/sys/modules/aic7xxx/ahc/ahc_pci/Makefile +++ b/sys/modules/aic7xxx/ahc/ahc_pci/Makefile @@ -1,14 +1,14 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/aic7xxx +.PATH: ${SRCTOP}/sys/dev/aic7xxx KMOD= ahc_pci SRCS= ahc_pci.c aic7xxx_pci.c SRCS+= device_if.h bus_if.h pci_if.h SRCS+= opt_scsi.h opt_cam.h opt_aic7xxx.h -CFLAGS+= -I${.CURDIR}/../../../../dev/aic7xxx -I.. +CFLAGS+= -I${SRCTOP}/sys/dev/aic7xxx -I.. .include <bsd.kmod.mk> diff --git a/sys/modules/aic7xxx/ahd/Makefile b/sys/modules/aic7xxx/ahd/Makefile index 44392a9..20da514 100644 --- a/sys/modules/aic7xxx/ahd/Makefile +++ b/sys/modules/aic7xxx/ahd/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/aic7xxx +.PATH: ${SRCTOP}/sys/dev/aic7xxx KMOD= ahd GENSRCS= aic79xx_seq.h aic79xx_reg.h @@ -17,14 +17,14 @@ BEFORE_DEPEND= ${GENSRCS} .if make(ahdfirmware) ahdfirmware: ${GENSRCS} ${GENSRCS}: \ - ${.CURDIR}/../../../dev/aic7xxx/aic79xx.{reg,seq} \ - ${.CURDIR}/../../../cam/scsi/scsi_message.h - aicasm ${INCLUDES} -I${.CURDIR}/../../../cam/scsi \ - -I${.CURDIR}/../../../dev/aic7xxx \ + ${SRCTOP}/sys/dev/aic7xxx/aic79xx.{reg,seq} \ + ${SRCTOP}/sys/cam/scsi/scsi_message.h + aicasm ${INCLUDES} -I${SRCTOP}/sys/cam/scsi \ + -I${SRCTOP}/sys/dev/aic7xxx \ -o aic79xx_seq.h -r aic79xx_reg.h \ ${REG_PRINT_OPT} \ - -i ${.CURDIR}/../../../dev/aic7xxx/aic79xx_osm.h \ - ${.CURDIR}/../../../dev/aic7xxx/aic79xx.seq + -i ${SRCTOP}/sys/dev/aic7xxx/aic79xx_osm.h \ + ${SRCTOP}/sys/dev/aic7xxx/aic79xx.seq .else ${GENSRCS}: .NOMETA @echo "Error: ${.TARGET} is missing. Run 'make ahdfirmware'." diff --git a/sys/modules/aic7xxx/aicasm/Makefile b/sys/modules/aic7xxx/aicasm/Makefile index b1b2cf7..c5a7fc1 100644 --- a/sys/modules/aic7xxx/aicasm/Makefile +++ b/sys/modules/aic7xxx/aicasm/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -MAKESRCPATH= ${.CURDIR}/../../../dev/aic7xxx/aicasm +MAKESRCPATH= ${SRCTOP}/sys/dev/aic7xxx/aicasm install: -.include "${.CURDIR}/../../../dev/aic7xxx/aicasm/Makefile" +.include "${SRCTOP}/sys/dev/aic7xxx/aicasm/Makefile" build-tools: ${PROG} diff --git a/sys/modules/alc/Makefile b/sys/modules/alc/Makefile index 9f6d6fc..439788f 100644 --- a/sys/modules/alc/Makefile +++ b/sys/modules/alc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/alc +.PATH: ${SRCTOP}/sys/dev/alc KMOD= if_alc SRCS= if_alc.c device_if.h bus_if.h pci_if.h miibus_if.h diff --git a/sys/modules/ale/Makefile b/sys/modules/ale/Makefile index a647972..a7bacf4 100644 --- a/sys/modules/ale/Makefile +++ b/sys/modules/ale/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ale +.PATH: ${SRCTOP}/sys/dev/ale KMOD= if_ale SRCS= if_ale.c device_if.h bus_if.h pci_if.h miibus_if.h diff --git a/sys/modules/alq/Makefile b/sys/modules/alq/Makefile index 782c370..911eeca 100644 --- a/sys/modules/alq/Makefile +++ b/sys/modules/alq/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../kern +.PATH: ${SRCTOP}/sys/kern KMOD= alq SRCS= opt_mac.h vnode_if.h kern_alq.c diff --git a/sys/modules/am335x_dmtpps/Makefile b/sys/modules/am335x_dmtpps/Makefile index 3ca4945..607f88d 100644 --- a/sys/modules/am335x_dmtpps/Makefile +++ b/sys/modules/am335x_dmtpps/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../arm/ti/am335x +.PATH: ${SRCTOP}/sys/arm/ti/am335x KMOD= am335x_dmtpps SRCS= am335x_dmtpps.c diff --git a/sys/modules/amd_ecc_inject/Makefile b/sys/modules/amd_ecc_inject/Makefile index 56000ca..1e17eb3 100644 --- a/sys/modules/amd_ecc_inject/Makefile +++ b/sys/modules/amd_ecc_inject/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/amd_ecc_inject +.PATH: ${SRCTOP}/sys/dev/amd_ecc_inject KMOD= amd_ecc_inject SRCS= ecc_inject.c bus_if.h device_if.h pci_if.h diff --git a/sys/modules/amdsbwd/Makefile b/sys/modules/amdsbwd/Makefile index 56f9ab7..cf69fd0 100644 --- a/sys/modules/amdsbwd/Makefile +++ b/sys/modules/amdsbwd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/amdsbwd +.PATH: ${SRCTOP}/sys/dev/amdsbwd KMOD = amdsbwd SRCS = amdsbwd.c SRCS += device_if.h bus_if.h pci_if.h isa_if.h diff --git a/sys/modules/amdtemp/Makefile b/sys/modules/amdtemp/Makefile index 1f7cff5..f7e5ac6 100644 --- a/sys/modules/amdtemp/Makefile +++ b/sys/modules/amdtemp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/amdtemp +.PATH: ${SRCTOP}/sys/dev/amdtemp KMOD= amdtemp SRCS= amdtemp.c bus_if.h device_if.h pci_if.h diff --git a/sys/modules/amr/Makefile b/sys/modules/amr/Makefile index 02de047..1ee2ece 100644 --- a/sys/modules/amr/Makefile +++ b/sys/modules/amr/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/amr +.PATH: ${SRCTOP}/sys/dev/amr SUBDIR= amr_cam .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" diff --git a/sys/modules/amr/amr_cam/Makefile b/sys/modules/amr/amr_cam/Makefile index b7aaee8..ab7da0a 100644 --- a/sys/modules/amr/amr_cam/Makefile +++ b/sys/modules/amr/amr_cam/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/amr +.PATH: ${SRCTOP}/sys/dev/amr KMOD= amr_cam SRCS= amr_cam.c device_if.h bus_if.h diff --git a/sys/modules/amr/amr_linux/Makefile b/sys/modules/amr/amr_linux/Makefile index 3df7eed5..b5cf493 100644 --- a/sys/modules/amr/amr_linux/Makefile +++ b/sys/modules/amr/amr_linux/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/amr +.PATH: ${SRCTOP}/sys/dev/amr KMOD= amr_linux SRCS= amr_linux.c device_if.h bus_if.h diff --git a/sys/modules/an/Makefile b/sys/modules/an/Makefile index 82c4421..41c7b2f 100644 --- a/sys/modules/an/Makefile +++ b/sys/modules/an/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/an +.PATH: ${SRCTOP}/sys/dev/an KMOD= if_an SRCS= if_an.c if_an_pccard.c if_an_pci.c if_an_isa.c diff --git a/sys/modules/aout/Makefile b/sys/modules/aout/Makefile index 203d9cf..3eb57c1 100644 --- a/sys/modules/aout/Makefile +++ b/sys/modules/aout/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../kern +.PATH: ${SRCTOP}/sys/kern KMOD= aout SRCS= imgact_aout.c \ diff --git a/sys/modules/apm/Makefile b/sys/modules/apm/Makefile index 96703b1..0e29639 100644 --- a/sys/modules/apm/Makefile +++ b/sys/modules/apm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../i386/bios +.PATH: ${SRCTOP}/sys/i386/bios .if ${MACHINE} == "pc98" .PATH: ${.CURDIR}/../../pc98/apm .endif diff --git a/sys/modules/ar71xx/ar71xx_ehci/Makefile b/sys/modules/ar71xx/ar71xx_ehci/Makefile index 96f3261..b99e24e 100644 --- a/sys/modules/ar71xx/ar71xx_ehci/Makefile +++ b/sys/modules/ar71xx/ar71xx_ehci/Makefile @@ -29,15 +29,15 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../mips/atheros/ +.PATH: ${SRCTOP}/sys/mips/atheros/ KMOD= ar71xx_ehci SRCS= ar71xx_ehci.c SRCS+= device_if.h bus_if.h usb_if.h opt_usb.h opt_bus.h -.PATH: ${.CURDIR}/../../../dev/usb/controller/ +.PATH: ${SRCTOP}/sys/dev/usb/controller/ SRCS+= ehci.c -CFLAGS+= -I. -I${.CURDIR}/../../../mips/atheros +CFLAGS+= -I. -I${SRCTOP}/sys/mips/atheros .include <bsd.kmod.mk> diff --git a/sys/modules/ar71xx/ar71xx_ohci/Makefile b/sys/modules/ar71xx/ar71xx_ohci/Makefile index 6fcee34..df30771 100644 --- a/sys/modules/ar71xx/ar71xx_ohci/Makefile +++ b/sys/modules/ar71xx/ar71xx_ohci/Makefile @@ -29,15 +29,15 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../mips/atheros/ +.PATH: ${SRCTOP}/sys/mips/atheros/ KMOD= ar71xx_ohci SRCS= ar71xx_ohci.c SRCS+= device_if.h bus_if.h usb_if.h opt_usb.h opt_bus.h -CFLAGS+= -I. -I${.CURDIR}/../../../mips/atheros +CFLAGS+= -I. -I${SRCTOP}/sys/mips/atheros -.PATH: ${.CURDIR}/../../../dev/usb/controller/ +.PATH: ${SRCTOP}/sys/dev/usb/controller/ SRCS+= ohci.c .include <bsd.kmod.mk> diff --git a/sys/modules/arcmsr/Makefile b/sys/modules/arcmsr/Makefile index 0a186f8..015adbb 100644 --- a/sys/modules/arcmsr/Makefile +++ b/sys/modules/arcmsr/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/arcmsr +.PATH: ${SRCTOP}/sys/dev/arcmsr KMOD= arcmsr SRCS= arcmsr.c diff --git a/sys/modules/arcnet/Makefile b/sys/modules/arcnet/Makefile index 2b2b465..1f62e63 100644 --- a/sys/modules/arcnet/Makefile +++ b/sys/modules/arcnet/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= arcnet SRCS= if_arcsubr.c diff --git a/sys/modules/asmc/Makefile b/sys/modules/asmc/Makefile index 0561fd5..36ab7c1 100644 --- a/sys/modules/asmc/Makefile +++ b/sys/modules/asmc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/asmc +.PATH: ${SRCTOP}/sys/dev/asmc KMOD= asmc SRCS= asmc.c opt_acpi.h opt_intr_filter.h acpi_if.h bus_if.h device_if.h diff --git a/sys/modules/ata/atacard/Makefile b/sys/modules/ata/atacard/Makefile index 412a164..2b58e37 100644 --- a/sys/modules/ata/atacard/Makefile +++ b/sys/modules/ata/atacard/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ata +.PATH: ${SRCTOP}/sys/dev/ata KMOD= atacard SRCS= ata-card.c diff --git a/sys/modules/ata/atacore/Makefile b/sys/modules/ata/atacore/Makefile index 4ee16cf..9ecd03e 100644 --- a/sys/modules/ata/atacore/Makefile +++ b/sys/modules/ata/atacore/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ata +.PATH: ${SRCTOP}/sys/dev/ata KMOD= ata SRCS= ata-all.c ata_if.c ata-lowlevel.c diff --git a/sys/modules/ata/ataisa/Makefile b/sys/modules/ata/ataisa/Makefile index 5c951c0..38b7828 100644 --- a/sys/modules/ata/ataisa/Makefile +++ b/sys/modules/ata/ataisa/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ata +.PATH: ${SRCTOP}/sys/dev/ata KMOD= ataisa SRCS= ata-isa.c diff --git a/sys/modules/ata/atapci/Makefile b/sys/modules/ata/atapci/Makefile index 0addeb3..5aaa265 100644 --- a/sys/modules/ata/atapci/Makefile +++ b/sys/modules/ata/atapci/Makefile @@ -2,7 +2,7 @@ SUBDIR += chipsets -.PATH: ${.CURDIR}/../../../dev/ata +.PATH: ${SRCTOP}/sys/dev/ata KMOD= atapci SRCS= ata-pci.c ata-dma.c ata-sata.c diff --git a/sys/modules/ata/atapci/chipsets/ataacard/Makefile b/sys/modules/ata/atapci/chipsets/ataacard/Makefile index a0e0389..99c4c36 100644 --- a/sys/modules/ata/atapci/chipsets/ataacard/Makefile +++ b/sys/modules/ata/atapci/chipsets/ataacard/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= ataacard SRCS= ata-acard.c diff --git a/sys/modules/ata/atapci/chipsets/ataacerlabs/Makefile b/sys/modules/ata/atapci/chipsets/ataacerlabs/Makefile index 6712f53..8684293 100644 --- a/sys/modules/ata/atapci/chipsets/ataacerlabs/Makefile +++ b/sys/modules/ata/atapci/chipsets/ataacerlabs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= ataacerlabs SRCS= ata-acerlabs.c diff --git a/sys/modules/ata/atapci/chipsets/ataamd/Makefile b/sys/modules/ata/atapci/chipsets/ataamd/Makefile index d6dedd5..96ed09d 100644 --- a/sys/modules/ata/atapci/chipsets/ataamd/Makefile +++ b/sys/modules/ata/atapci/chipsets/ataamd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= ataamd SRCS= ata-amd.c diff --git a/sys/modules/ata/atapci/chipsets/ataati/Makefile b/sys/modules/ata/atapci/chipsets/ataati/Makefile index 2f59398..f7d524b 100644 --- a/sys/modules/ata/atapci/chipsets/ataati/Makefile +++ b/sys/modules/ata/atapci/chipsets/ataati/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= ataati SRCS= ata-ati.c diff --git a/sys/modules/ata/atapci/chipsets/atacenatek/Makefile b/sys/modules/ata/atapci/chipsets/atacenatek/Makefile index 5986465..3360527 100644 --- a/sys/modules/ata/atapci/chipsets/atacenatek/Makefile +++ b/sys/modules/ata/atapci/chipsets/atacenatek/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atacenatek SRCS= ata-cenatek.c diff --git a/sys/modules/ata/atapci/chipsets/atacypress/Makefile b/sys/modules/ata/atapci/chipsets/atacypress/Makefile index c3fe346..284b6fb 100644 --- a/sys/modules/ata/atapci/chipsets/atacypress/Makefile +++ b/sys/modules/ata/atapci/chipsets/atacypress/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atacypress SRCS= ata-cypress.c diff --git a/sys/modules/ata/atapci/chipsets/atacyrix/Makefile b/sys/modules/ata/atapci/chipsets/atacyrix/Makefile index 92df121..fe9296e 100644 --- a/sys/modules/ata/atapci/chipsets/atacyrix/Makefile +++ b/sys/modules/ata/atapci/chipsets/atacyrix/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atacyrix SRCS= ata-cyrix.c diff --git a/sys/modules/ata/atapci/chipsets/atahighpoint/Makefile b/sys/modules/ata/atapci/chipsets/atahighpoint/Makefile index 89a7d05..2ef5eab 100644 --- a/sys/modules/ata/atapci/chipsets/atahighpoint/Makefile +++ b/sys/modules/ata/atapci/chipsets/atahighpoint/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atahighpoint SRCS= ata-highpoint.c diff --git a/sys/modules/ata/atapci/chipsets/ataintel/Makefile b/sys/modules/ata/atapci/chipsets/ataintel/Makefile index 93845d1..8ec8a91 100644 --- a/sys/modules/ata/atapci/chipsets/ataintel/Makefile +++ b/sys/modules/ata/atapci/chipsets/ataintel/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= ataintel SRCS= ata-intel.c diff --git a/sys/modules/ata/atapci/chipsets/ataite/Makefile b/sys/modules/ata/atapci/chipsets/ataite/Makefile index f8e596b..eabb064 100644 --- a/sys/modules/ata/atapci/chipsets/ataite/Makefile +++ b/sys/modules/ata/atapci/chipsets/ataite/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= ataite SRCS= ata-ite.c diff --git a/sys/modules/ata/atapci/chipsets/atajmicron/Makefile b/sys/modules/ata/atapci/chipsets/atajmicron/Makefile index 2f74305..ddc7529 100644 --- a/sys/modules/ata/atapci/chipsets/atajmicron/Makefile +++ b/sys/modules/ata/atapci/chipsets/atajmicron/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atajmicron SRCS= ata-jmicron.c diff --git a/sys/modules/ata/atapci/chipsets/atamarvell/Makefile b/sys/modules/ata/atapci/chipsets/atamarvell/Makefile index 6d644493..0d77b3f 100644 --- a/sys/modules/ata/atapci/chipsets/atamarvell/Makefile +++ b/sys/modules/ata/atapci/chipsets/atamarvell/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atamarvell SRCS= ata-marvell.c diff --git a/sys/modules/ata/atapci/chipsets/atamicron/Makefile b/sys/modules/ata/atapci/chipsets/atamicron/Makefile index 820cf91..2952a51 100644 --- a/sys/modules/ata/atapci/chipsets/atamicron/Makefile +++ b/sys/modules/ata/atapci/chipsets/atamicron/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atamicron SRCS= ata-micron.c diff --git a/sys/modules/ata/atapci/chipsets/atanational/Makefile b/sys/modules/ata/atapci/chipsets/atanational/Makefile index 62a2dd6..a7a1ec8 100644 --- a/sys/modules/ata/atapci/chipsets/atanational/Makefile +++ b/sys/modules/ata/atapci/chipsets/atanational/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atanational SRCS= ata-national.c diff --git a/sys/modules/ata/atapci/chipsets/atanetcell/Makefile b/sys/modules/ata/atapci/chipsets/atanetcell/Makefile index 357e4d5..64bd650 100644 --- a/sys/modules/ata/atapci/chipsets/atanetcell/Makefile +++ b/sys/modules/ata/atapci/chipsets/atanetcell/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atanetcell SRCS= ata-netcell.c diff --git a/sys/modules/ata/atapci/chipsets/atanvidia/Makefile b/sys/modules/ata/atapci/chipsets/atanvidia/Makefile index f4b7b6f..4fd4437 100644 --- a/sys/modules/ata/atapci/chipsets/atanvidia/Makefile +++ b/sys/modules/ata/atapci/chipsets/atanvidia/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atanvidia SRCS= ata-nvidia.c diff --git a/sys/modules/ata/atapci/chipsets/atapromise/Makefile b/sys/modules/ata/atapci/chipsets/atapromise/Makefile index d232725..a53ddba 100644 --- a/sys/modules/ata/atapci/chipsets/atapromise/Makefile +++ b/sys/modules/ata/atapci/chipsets/atapromise/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atapromise SRCS= ata-promise.c diff --git a/sys/modules/ata/atapci/chipsets/ataserverworks/Makefile b/sys/modules/ata/atapci/chipsets/ataserverworks/Makefile index 19d7557..1f731ff 100644 --- a/sys/modules/ata/atapci/chipsets/ataserverworks/Makefile +++ b/sys/modules/ata/atapci/chipsets/ataserverworks/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= ataserverworks SRCS= ata-serverworks.c diff --git a/sys/modules/ata/atapci/chipsets/atasiliconimage/Makefile b/sys/modules/ata/atapci/chipsets/atasiliconimage/Makefile index 04c44cf..7e44778 100644 --- a/sys/modules/ata/atapci/chipsets/atasiliconimage/Makefile +++ b/sys/modules/ata/atapci/chipsets/atasiliconimage/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atasiliconimage SRCS= ata-siliconimage.c diff --git a/sys/modules/ata/atapci/chipsets/atasis/Makefile b/sys/modules/ata/atapci/chipsets/atasis/Makefile index 65d7fa4..8e6b1cb 100644 --- a/sys/modules/ata/atapci/chipsets/atasis/Makefile +++ b/sys/modules/ata/atapci/chipsets/atasis/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atasis SRCS= ata-sis.c diff --git a/sys/modules/ata/atapci/chipsets/atavia/Makefile b/sys/modules/ata/atapci/chipsets/atavia/Makefile index 271f2fb..75a1640 100644 --- a/sys/modules/ata/atapci/chipsets/atavia/Makefile +++ b/sys/modules/ata/atapci/chipsets/atavia/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../../dev/ata/chipsets +.PATH: ${SRCTOP}/sys/dev/ata/chipsets KMOD= atavia SRCS= ata-via.c diff --git a/sys/modules/ath_ahb/Makefile b/sys/modules/ath_ahb/Makefile index 9d31841..ad3316d 100644 --- a/sys/modules/ath_ahb/Makefile +++ b/sys/modules/ath_ahb/Makefile @@ -29,13 +29,13 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../dev/ath -.PATH: ${.CURDIR}/../../dev/ath/ath_hal +.PATH: ${SRCTOP}/sys/dev/ath +.PATH: ${SRCTOP}/sys/dev/ath/ath_hal KMOD= if_ath_ahb SRCS= if_ath_ahb.c SRCS+= device_if.h bus_if.h opt_wlan.h opt_ath.h opt_ah.h -CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal +CFLAGS+= -I. -I${SRCTOP}/sys/dev/ath -I${SRCTOP}/sys/dev/ath/ath_hal .include <bsd.kmod.mk> diff --git a/sys/modules/ath_pci/Makefile b/sys/modules/ath_pci/Makefile index 5f9e0a1..516d14e 100644 --- a/sys/modules/ath_pci/Makefile +++ b/sys/modules/ath_pci/Makefile @@ -29,13 +29,13 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../dev/ath -.PATH: ${.CURDIR}/../../dev/ath/ath_hal +.PATH: ${SRCTOP}/sys/dev/ath +.PATH: ${SRCTOP}/sys/dev/ath/ath_hal KMOD= if_ath_pci SRCS= if_ath_pci.c SRCS+= device_if.h bus_if.h pci_if.h opt_wlan.h opt_ath.h opt_ah.h -CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal +CFLAGS+= -I. -I${SRCTOP}/sys/dev/ath -I${SRCTOP}/sys/dev/ath/ath_hal .include <bsd.kmod.mk> diff --git a/sys/modules/autofs/Makefile b/sys/modules/autofs/Makefile index 5aaa892..e6e9353 100644 --- a/sys/modules/autofs/Makefile +++ b/sys/modules/autofs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/autofs +.PATH: ${SRCTOP}/sys/fs/autofs KMOD= autofs SRCS= vnode_if.h \ diff --git a/sys/modules/auxio/Makefile b/sys/modules/auxio/Makefile index ead878c..f46f438 100644 --- a/sys/modules/auxio/Makefile +++ b/sys/modules/auxio/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/auxio +.PATH: ${SRCTOP}/sys/dev/auxio KMOD= auxio diff --git a/sys/modules/bce/Makefile b/sys/modules/bce/Makefile index 1be2a3f..81940f2 100644 --- a/sys/modules/bce/Makefile +++ b/sys/modules/bce/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/bce +.PATH: ${SRCTOP}/sys/dev/bce KMOD= if_bce SRCS= opt_bce.h if_bce.c miibus_if.h miidevs.h device_if.h bus_if.h pci_if.h diff --git a/sys/modules/bfe/Makefile b/sys/modules/bfe/Makefile index 19413f7..a5748f3 100644 --- a/sys/modules/bfe/Makefile +++ b/sys/modules/bfe/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/bfe +.PATH: ${SRCTOP}/sys/dev/bfe KMOD= if_bfe SRCS= if_bfe.c miibus_if.h miidevs.h device_if.h bus_if.h pci_if.h diff --git a/sys/modules/bge/Makefile b/sys/modules/bge/Makefile index 9742e6b..53e3364 100644 --- a/sys/modules/bge/Makefile +++ b/sys/modules/bge/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/bge +.PATH: ${SRCTOP}/sys/dev/bge KMOD= if_bge SRCS= if_bge.c miibus_if.h miidevs.h device_if.h bus_if.h pci_if.h diff --git a/sys/modules/bhnd/Makefile b/sys/modules/bhnd/Makefile index b9678cbe..89d0a0a 100644 --- a/sys/modules/bhnd/Makefile +++ b/sys/modules/bhnd/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/bhnd -.PATH: ${.CURDIR}/../../dev/bhnd/nvram +.PATH: ${SRCTOP}/sys/dev/bhnd +.PATH: ${SRCTOP}/sys/dev/bhnd/nvram KMOD= bhnd SRCS= bhnd.c bhnd_subr.c \ diff --git a/sys/modules/bhnd/bcma/Makefile b/sys/modules/bhnd/bcma/Makefile index 7071d85..ec08cfbf 100644 --- a/sys/modules/bhnd/bcma/Makefile +++ b/sys/modules/bhnd/bcma/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/bhnd/bcma +.PATH: ${SRCTOP}/sys/dev/bhnd/bcma KMOD= bcma SRCS= bcma.c bcma_subr.c bcma_erom.c diff --git a/sys/modules/bhnd/bcma_bhndb/Makefile b/sys/modules/bhnd/bcma_bhndb/Makefile index 372a7ed..1731128 100644 --- a/sys/modules/bhnd/bcma_bhndb/Makefile +++ b/sys/modules/bhnd/bcma_bhndb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/bhnd/bcma +.PATH: ${SRCTOP}/sys/dev/bhnd/bcma KMOD= bcma_bhndb SRCS= bcma_bhndb.c diff --git a/sys/modules/bhnd/bhndb/Makefile b/sys/modules/bhnd/bhndb/Makefile index 0535864..366a77d 100644 --- a/sys/modules/bhnd/bhndb/Makefile +++ b/sys/modules/bhnd/bhndb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/bhnd/bhndb +.PATH: ${SRCTOP}/sys/dev/bhnd/bhndb KMOD= bhndb SRCS= bhndb.c bhndb_subr.c bhndb_hwdata.c \ diff --git a/sys/modules/bhnd/bhndb_pci/Makefile b/sys/modules/bhnd/bhndb_pci/Makefile index f10845a..9e4f181 100644 --- a/sys/modules/bhnd/bhndb_pci/Makefile +++ b/sys/modules/bhnd/bhndb_pci/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/bhnd/bhndb +.PATH: ${SRCTOP}/sys/dev/bhnd/bhndb KMOD= bhndb_pci SRCS= bhndb_pci.c bhndb_pci_hwdata.c \ diff --git a/sys/modules/bhnd/cores/bhnd_pci/Makefile b/sys/modules/bhnd/cores/bhnd_pci/Makefile index fb6ce43..62bf96b 100644 --- a/sys/modules/bhnd/cores/bhnd_pci/Makefile +++ b/sys/modules/bhnd/cores/bhnd_pci/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/bhnd/cores/pci -.PATH: ${.CURDIR}/../../../../dev/bhnd/cores/pcie2 +.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pci +.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pcie2 KMOD= bhnd_pci SRCS= bhnd_pci.c bhnd_pcie2.c diff --git a/sys/modules/bhnd/cores/bhnd_pci_hostb/Makefile b/sys/modules/bhnd/cores/bhnd_pci_hostb/Makefile index bbfa7b2..03f20f6 100644 --- a/sys/modules/bhnd/cores/bhnd_pci_hostb/Makefile +++ b/sys/modules/bhnd/cores/bhnd_pci_hostb/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/bhnd/cores/pci -.PATH: ${.CURDIR}/../../../../dev/bhnd/cores/pcie2 +.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pci +.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pcie2 KMOD= bhnd_pci_hostb SRCS= bhnd_pci_hostb.c bhnd_pcie2_hostb.c diff --git a/sys/modules/bhnd/cores/bhnd_pcib/Makefile b/sys/modules/bhnd/cores/bhnd_pcib/Makefile index c9bb61d..be7b219 100644 --- a/sys/modules/bhnd/cores/bhnd_pcib/Makefile +++ b/sys/modules/bhnd/cores/bhnd_pcib/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/bhnd/cores/pci -.PATH: ${.CURDIR}/../../../../dev/bhnd/cores/pcie2 +.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pci +.PATH: ${SRCTOP}/sys/dev/bhnd/cores/pcie2 KMOD= bhnd_pcib SRCS= bhnd_pcib.c bhnd_pcie2b.c diff --git a/sys/modules/bhnd/siba/Makefile b/sys/modules/bhnd/siba/Makefile index 8ace993..b58bc78 100644 --- a/sys/modules/bhnd/siba/Makefile +++ b/sys/modules/bhnd/siba/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/bhnd/siba +.PATH: ${SRCTOP}/sys/dev/bhnd/siba KMOD= siba SRCS= siba.c siba_subr.c diff --git a/sys/modules/bhnd/siba_bhndb/Makefile b/sys/modules/bhnd/siba_bhndb/Makefile index ba46a7f..33199fb 100644 --- a/sys/modules/bhnd/siba_bhndb/Makefile +++ b/sys/modules/bhnd/siba_bhndb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/bhnd/siba +.PATH: ${SRCTOP}/sys/dev/bhnd/siba KMOD= siba_bhndb SRCS= siba_bhndb.c diff --git a/sys/modules/bios/smapi/Makefile b/sys/modules/bios/smapi/Makefile index f55ab5a..c488491 100644 --- a/sys/modules/bios/smapi/Makefile +++ b/sys/modules/bios/smapi/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../i386/bios +.PATH: ${SRCTOP}/sys/i386/bios KMOD= smapi SRCS= smapi.c smapi_bios.S \ diff --git a/sys/modules/bios/smbios/Makefile b/sys/modules/bios/smbios/Makefile index b7bdf48..ff8d22b 100644 --- a/sys/modules/bios/smbios/Makefile +++ b/sys/modules/bios/smbios/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../x86/bios +.PATH: ${SRCTOP}/sys/x86/bios KMOD= smbios SRCS= smbios.c \ diff --git a/sys/modules/bios/vpd/Makefile b/sys/modules/bios/vpd/Makefile index 093ac81..86b9719 100644 --- a/sys/modules/bios/vpd/Makefile +++ b/sys/modules/bios/vpd/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../x86/bios +.PATH: ${SRCTOP}/sys/x86/bios KMOD= vpd SRCS= vpd.c \ diff --git a/sys/modules/bktr/bktr/Makefile b/sys/modules/bktr/bktr/Makefile index 60e4a7c..4345abe 100644 --- a/sys/modules/bktr/bktr/Makefile +++ b/sys/modules/bktr/bktr/Makefile @@ -2,7 +2,7 @@ # Makefile for the bktr Brooktree Bt848/Bt878 PCI video capture device -.PATH: ${.CURDIR}/../../../dev/bktr +.PATH: ${SRCTOP}/sys/dev/bktr KMOD= bktr SRCS= bktr_core.c bktr_os.c bktr_audio.c bktr_tuner.c bktr_card.c msp34xx.c \ diff --git a/sys/modules/bktr/bktr_mem/Makefile b/sys/modules/bktr/bktr_mem/Makefile index d5f6190..12c9cbd 100644 --- a/sys/modules/bktr/bktr_mem/Makefile +++ b/sys/modules/bktr/bktr_mem/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/bktr +.PATH: ${SRCTOP}/sys/dev/bktr KMOD= bktr_mem SRCS= bktr_mem.c diff --git a/sys/modules/bm/Makefile b/sys/modules/bm/Makefile index 30c5e86..65ac2ed 100644 --- a/sys/modules/bm/Makefile +++ b/sys/modules/bm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/bm +.PATH: ${SRCTOP}/sys/dev/bm KMOD= if_bm SRCS= if_bm.c diff --git a/sys/modules/bnxt/Makefile b/sys/modules/bnxt/Makefile index 1d478d1..861a0b4 100644 --- a/sys/modules/bnxt/Makefile +++ b/sys/modules/bnxt/Makefile @@ -1,6 +1,6 @@ #$FreeBSD$ -.PATH: ${.CURDIR}/../../dev/bnxt +.PATH: ${SRCTOP}/sys/dev/bnxt KMOD = if_bnxt SRCS = device_if.h bus_if.h pci_if.h pci_iov_if.h ifdi_if.h diff --git a/sys/modules/bridgestp/Makefile b/sys/modules/bridgestp/Makefile index 3cfc6e3..0bfd0ca 100644 --- a/sys/modules/bridgestp/Makefile +++ b/sys/modules/bridgestp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= bridgestp SRCS= bridgestp.c diff --git a/sys/modules/bwi/Makefile b/sys/modules/bwi/Makefile index 25f0022..c956f64 100644 --- a/sys/modules/bwi/Makefile +++ b/sys/modules/bwi/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/bwi +.PATH: ${SRCTOP}/sys/dev/bwi KMOD = if_bwi diff --git a/sys/modules/bwn/Makefile b/sys/modules/bwn/Makefile index 16e0f4f..3aa36ff 100644 --- a/sys/modules/bwn/Makefile +++ b/sys/modules/bwn/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/bwn +.PATH: ${SRCTOP}/sys/dev/bwn KMOD= if_bwn SRCS= if_bwn.c if_bwnreg.h if_bwnvar.h @@ -18,7 +18,7 @@ SRCS+= device_if.h bus_if.h pci_if.h opt_bwn.h opt_wlan.h # module be built with BWN_GPL_PHY set in the kernel # configuration. -#.PATH: ${.CURDIR}/../../gnu/dev/bwn/phy_n +#.PATH: ${SRCTOP}/sys/gnu/dev/bwn/phy_n #SRCS+= if_bwn_radio_2055.c #SRCS+= if_bwn_radio_2056.c #SRCS+= if_bwn_radio_2057.c diff --git a/sys/modules/bwn_pci/Makefile b/sys/modules/bwn_pci/Makefile index 15b9ded..cfdfda3 100644 --- a/sys/modules/bwn_pci/Makefile +++ b/sys/modules/bwn_pci/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/bwn +.PATH: ${SRCTOP}/sys/dev/bwn KMOD= if_bwn_pci SRCS= if_bwn_pci.c bwn_mac.c diff --git a/sys/modules/bxe/Makefile b/sys/modules/bxe/Makefile index b2e32f7..3470571 100644 --- a/sys/modules/bxe/Makefile +++ b/sys/modules/bxe/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR ?= ${.CURDIR}/../.. +SYSDIR ?= ${SRCTOP}/sys BXE = ${SYSDIR}/dev/bxe .PATH: ${BXE} diff --git a/sys/modules/bytgpio/Makefile b/sys/modules/bytgpio/Makefile index 069241e..4a46f61 100644 --- a/sys/modules/bytgpio/Makefile +++ b/sys/modules/bytgpio/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/gpio +.PATH: ${SRCTOP}/sys/dev/gpio KMOD= bytgpio SRCS= bytgpio.c SRCS+= acpi_if.h device_if.h bus_if.h gpio_if.h opt_acpi.h opt_platform.h diff --git a/sys/modules/cam/Makefile b/sys/modules/cam/Makefile index 577c710..4e04a93 100644 --- a/sys/modules/cam/Makefile +++ b/sys/modules/cam/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -S= ${.CURDIR}/../.. +S= ${SRCTOP}/sys .PATH: $S/cam $S/cam/scsi $S/cam/ata $S/${MACHINE}/${MACHINE} diff --git a/sys/modules/cardbus/Makefile b/sys/modules/cardbus/Makefile index ee65d3a..16c2659 100644 --- a/sys/modules/cardbus/Makefile +++ b/sys/modules/cardbus/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/cardbus +.PATH: ${SRCTOP}/sys/dev/cardbus KMOD= cardbus SRCS= cardbus.c cardbus_cis.c cardbus_device.c \ diff --git a/sys/modules/carp/Makefile b/sys/modules/carp/Makefile index e1890d4..0526873 100644 --- a/sys/modules/carp/Makefile +++ b/sys/modules/carp/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet -.PATH: ${.CURDIR}/../../crypto +.PATH: ${SRCTOP}/sys/netinet +.PATH: ${SRCTOP}/sys/crypto KMOD= carp SRCS= ip_carp.c sha1.c diff --git a/sys/modules/cas/Makefile b/sys/modules/cas/Makefile index 0877c6c..2e6fcfb 100644 --- a/sys/modules/cas/Makefile +++ b/sys/modules/cas/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/cas +.PATH: ${SRCTOP}/sys/dev/cas KMOD= if_cas SRCS= bus_if.h device_if.h if_cas.c miibus_if.h pci_if.h ${ofw_bus_if} diff --git a/sys/modules/cbb/Makefile b/sys/modules/cbb/Makefile index 8b9e954..aa706e8 100644 --- a/sys/modules/cbb/Makefile +++ b/sys/modules/cbb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/pccbb +.PATH: ${SRCTOP}/sys/dev/pccbb KMOD= cbb SRCS= pccbb.c pccbb_isa.c pccbb_pci.c \ diff --git a/sys/modules/cc/cc_cdg/Makefile b/sys/modules/cc/cc_cdg/Makefile index f61cb61..83a4887 100644 --- a/sys/modules/cc/cc_cdg/Makefile +++ b/sys/modules/cc/cc_cdg/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../netinet/cc +.PATH: ${SRCTOP}/sys/netinet/cc KMOD= cc_cdg SRCS= cc_cdg.c diff --git a/sys/modules/cc/cc_chd/Makefile b/sys/modules/cc/cc_chd/Makefile index b3881b8..db7e350 100644 --- a/sys/modules/cc/cc_chd/Makefile +++ b/sys/modules/cc/cc_chd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../netinet/cc +.PATH: ${SRCTOP}/sys/netinet/cc KMOD= cc_chd SRCS= cc_chd.c diff --git a/sys/modules/cc/cc_cubic/Makefile b/sys/modules/cc/cc_cubic/Makefile index e22d902..e56848c 100644 --- a/sys/modules/cc/cc_cubic/Makefile +++ b/sys/modules/cc/cc_cubic/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../netinet/cc +.PATH: ${SRCTOP}/sys/netinet/cc KMOD= cc_cubic SRCS= cc_cubic.c diff --git a/sys/modules/cc/cc_dctcp/Makefile b/sys/modules/cc/cc_dctcp/Makefile index 7ba6cf1..cb6cb06 100644 --- a/sys/modules/cc/cc_dctcp/Makefile +++ b/sys/modules/cc/cc_dctcp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../netinet/cc +.PATH: ${SRCTOP}/sys/netinet/cc KMOD= cc_dctcp SRCS= cc_dctcp.c diff --git a/sys/modules/cc/cc_hd/Makefile b/sys/modules/cc/cc_hd/Makefile index 3a2b041..49c0dfc 100644 --- a/sys/modules/cc/cc_hd/Makefile +++ b/sys/modules/cc/cc_hd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../netinet/cc +.PATH: ${SRCTOP}/sys/netinet/cc KMOD= cc_hd SRCS= cc_hd.c diff --git a/sys/modules/cc/cc_htcp/Makefile b/sys/modules/cc/cc_htcp/Makefile index 787a709..99f3f8f 100644 --- a/sys/modules/cc/cc_htcp/Makefile +++ b/sys/modules/cc/cc_htcp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../netinet/cc +.PATH: ${SRCTOP}/sys/netinet/cc KMOD= cc_htcp SRCS= cc_htcp.c diff --git a/sys/modules/cc/cc_vegas/Makefile b/sys/modules/cc/cc_vegas/Makefile index 731a80f..eda8ee6 100644 --- a/sys/modules/cc/cc_vegas/Makefile +++ b/sys/modules/cc/cc_vegas/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../netinet/cc +.PATH: ${SRCTOP}/sys/netinet/cc KMOD= cc_vegas SRCS= cc_vegas.c diff --git a/sys/modules/cd9660/Makefile b/sys/modules/cd9660/Makefile index 5fbc1b7..5036ef0 100644 --- a/sys/modules/cd9660/Makefile +++ b/sys/modules/cd9660/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/cd9660 +.PATH: ${SRCTOP}/sys/fs/cd9660 KMOD= cd9660 SRCS= vnode_if.h \ diff --git a/sys/modules/cd9660_iconv/Makefile b/sys/modules/cd9660_iconv/Makefile index 48ddb56..54c6f91 100644 --- a/sys/modules/cd9660_iconv/Makefile +++ b/sys/modules/cd9660_iconv/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/cd9660 +.PATH: ${SRCTOP}/sys/fs/cd9660 KMOD= cd9660_iconv SRCS= cd9660_iconv.c diff --git a/sys/modules/ce/Makefile b/sys/modules/ce/Makefile index 87d06b0..05dd0bc 100644 --- a/sys/modules/ce/Makefile +++ b/sys/modules/ce/Makefile @@ -1,7 +1,7 @@ # $Cronyx: sys.modules.ce.Makefile,v 1.2 2005/04/23 20:10:22 rik Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ce +.PATH: ${SRCTOP}/sys/dev/ce KMOD = if_ce SRCS = if_ce.c ceddk.c tau32-ddk.c SRCS += opt_bpf.h opt_netgraph.h opt_ng_cronyx.h device_if.h bus_if.h \ diff --git a/sys/modules/cfi/Makefile b/sys/modules/cfi/Makefile index bb3fa5d..59ec4d6 100644 --- a/sys/modules/cfi/Makefile +++ b/sys/modules/cfi/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/cfi +.PATH: ${SRCTOP}/sys/dev/cfi KMOD= cfi SRCS= ${_cfi_bus} cfi_core.c cfi_dev.c diff --git a/sys/modules/chromebook_platform/Makefile b/sys/modules/chromebook_platform/Makefile index 640c536..f21f202 100644 --- a/sys/modules/chromebook_platform/Makefile +++ b/sys/modules/chromebook_platform/Makefile @@ -1,7 +1,7 @@ #$FreeBSD$ -.PATH: ${.CURDIR}/../../dev/chromebook_platform -KMOD = chromebook_platform -SRCS = chromebook_platform.c bus_if.h device_if.h pci_if.h +.PATH: ${SRCTOP}/sys/dev/chromebook_platform +KMOD= chromebook_platform +SRCS= chromebook_platform.c bus_if.h device_if.h pci_if.h .include <bsd.kmod.mk> diff --git a/sys/modules/ciss/Makefile b/sys/modules/ciss/Makefile index 2ea619c..9ab3276 100644 --- a/sys/modules/ciss/Makefile +++ b/sys/modules/ciss/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ KMOD = ciss -.PATH: ${.CURDIR}/../../dev/${KMOD} +.PATH: ${SRCTOP}/sys/dev/${KMOD} SRCS = ciss.c SRCS += opt_scsi.h opt_cam.h SRCS += device_if.h bus_if.h pci_if.h diff --git a/sys/modules/cloudabi/Makefile b/sys/modules/cloudabi/Makefile index c608580..c32b7ba 100644 --- a/sys/modules/cloudabi/Makefile +++ b/sys/modules/cloudabi/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../compat/cloudabi +.PATH: ${SRCTOP}/sys/compat/cloudabi KMOD= cloudabi SRCS= cloudabi_clock.c cloudabi_errno.c cloudabi_fd.c cloudabi_file.c \ diff --git a/sys/modules/cloudabi32/Makefile b/sys/modules/cloudabi32/Makefile index 61e5142..42482e7 100644 --- a/sys/modules/cloudabi32/Makefile +++ b/sys/modules/cloudabi32/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .PATH: ${SYSDIR}/compat/cloudabi32 .PATH: ${SYSDIR}/${MACHINE_CPUARCH}/cloudabi32 diff --git a/sys/modules/cloudabi64/Makefile b/sys/modules/cloudabi64/Makefile index 1769854..4e23f0b 100644 --- a/sys/modules/cloudabi64/Makefile +++ b/sys/modules/cloudabi64/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .PATH: ${SYSDIR}/compat/cloudabi64 .PATH: ${SYSDIR}/${MACHINE_CPUARCH}/cloudabi64 diff --git a/sys/modules/cm/Makefile b/sys/modules/cm/Makefile index 3f2067b..911e71f 100644 --- a/sys/modules/cm/Makefile +++ b/sys/modules/cm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/cm +.PATH: ${SRCTOP}/sys/dev/cm KMOD= if_cm SRCS= smc90cx6.c if_cm_isa.c diff --git a/sys/modules/cmx/Makefile b/sys/modules/cmx/Makefile index 779a830..eea6658 100644 --- a/sys/modules/cmx/Makefile +++ b/sys/modules/cmx/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../dev/cmx +.PATH: ${SRCTOP}/sys/dev/cmx KMOD= cmx SRCS= cmx.c cmxvar.h cmxreg.h \ diff --git a/sys/modules/coff/Makefile b/sys/modules/coff/Makefile index 95956e5..5325a96 100644 --- a/sys/modules/coff/Makefile +++ b/sys/modules/coff/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../i386/ibcs2 +.PATH: ${SRCTOP}/sys/i386/ibcs2 KMOD= ibcs2_coff SRCS= imgact_coff.c vnode_if.h diff --git a/sys/modules/coretemp/Makefile b/sys/modules/coretemp/Makefile index dd540ba..504ece3 100644 --- a/sys/modules/coretemp/Makefile +++ b/sys/modules/coretemp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/coretemp +.PATH: ${SRCTOP}/sys/dev/coretemp KMOD= coretemp SRCS= coretemp.c bus_if.h device_if.h diff --git a/sys/modules/cp/Makefile b/sys/modules/cp/Makefile index 56be36c..5a83f10 100644 --- a/sys/modules/cp/Makefile +++ b/sys/modules/cp/Makefile @@ -1,7 +1,7 @@ # $Cronyx: sys.modules.cp.Makefile,v 1.1.2.3 2004/04/28 16:17:57 rik Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/cp +.PATH: ${SRCTOP}/sys/dev/cp KMOD = if_cp SRCS = if_cp.c cpddk.c SRCS += opt_netgraph.h opt_ng_cronyx.h device_if.h bus_if.h \ diff --git a/sys/modules/cpsw/Makefile b/sys/modules/cpsw/Makefile index 508fb03..130a659 100644 --- a/sys/modules/cpsw/Makefile +++ b/sys/modules/cpsw/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../arm/ti/cpsw +.PATH: ${SRCTOP}/sys/arm/ti/cpsw KMOD= if_cpsw SRCS= if_cpsw.c device_if.h bus_if.h ofw_bus_if.h miibus_if.h diff --git a/sys/modules/cpuctl/Makefile b/sys/modules/cpuctl/Makefile index 74c76b9..d7f7e05 100644 --- a/sys/modules/cpuctl/Makefile +++ b/sys/modules/cpuctl/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/cpuctl +.PATH: ${SRCTOP}/sys/dev/cpuctl KMOD= cpuctl SRCS= cpuctl.c diff --git a/sys/modules/cpufreq/Makefile b/sys/modules/cpufreq/Makefile index 26fea83..e9fae04 100644 --- a/sys/modules/cpufreq/Makefile +++ b/sys/modules/cpufreq/Makefile @@ -1,14 +1,14 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/cpufreq \ - ${.CURDIR}/../../${MACHINE_CPUARCH}/cpufreq +.PATH: ${SRCTOP}/sys/dev/cpufreq \ + ${SRCTOP}/sys/${MACHINE_CPUARCH}/cpufreq KMOD= cpufreq SRCS= ichss.c SRCS+= bus_if.h cpufreq_if.h device_if.h pci_if.h .if ${MACHINE} == "i386" || ${MACHINE} == "amd64" -.PATH: ${.CURDIR}/../../x86/cpufreq +.PATH: ${SRCTOP}/sys/x86/cpufreq SRCS+= acpi_if.h opt_acpi.h SRCS+= est.c hwpstate.c p4tcc.c powernow.c @@ -19,7 +19,7 @@ SRCS+= smist.c .endif .if ${MACHINE} == "powerpc" -.PATH: ${.CURDIR}/../../powerpc/cpufreq +.PATH: ${SRCTOP}/sys/powerpc/cpufreq SRCS+= dfs.c .endif diff --git a/sys/modules/crypto/Makefile b/sys/modules/crypto/Makefile index 35e533b..a06d7da 100644 --- a/sys/modules/crypto/Makefile +++ b/sys/modules/crypto/Makefile @@ -1,14 +1,14 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../opencrypto -.PATH: ${.CURDIR}/../../crypto -.PATH: ${.CURDIR}/../../crypto/blowfish -.PATH: ${.CURDIR}/../../crypto/camellia -.PATH: ${.CURDIR}/../../crypto/des -.PATH: ${.CURDIR}/../../crypto/rijndael -.PATH: ${.CURDIR}/../../crypto/sha2 -.PATH: ${.CURDIR}/../../crypto/siphash -.PATH: ${.CURDIR}/../../crypto/skein +.PATH: ${SRCTOP}/sys/opencrypto +.PATH: ${SRCTOP}/sys/crypto +.PATH: ${SRCTOP}/sys/crypto/blowfish +.PATH: ${SRCTOP}/sys/crypto/camellia +.PATH: ${SRCTOP}/sys/crypto/des +.PATH: ${SRCTOP}/sys/crypto/rijndael +.PATH: ${SRCTOP}/sys/crypto/sha2 +.PATH: ${SRCTOP}/sys/crypto/siphash +.PATH: ${SRCTOP}/sys/crypto/skein KMOD = crypto SRCS = crypto.c cryptodev_if.c @@ -20,7 +20,7 @@ SRCS += des_ecb.c des_enc.c des_setkey.c SRCS += sha1.c sha256c.c sha512c.c SRCS += skein.c skein_block.c .if exists(${MACHINE_ARCH}/skein_block_asm.s) -.PATH: ${.CURDIR}/../../crypto/skein/${MACHINE_ARCH} +.PATH: ${SRCTOP}/sys/crypto/skein/${MACHINE_ARCH} SRCS += skein_block_asm.s CFLAGS += -DSKEIN_ASM -DSKEIN_USE_ASM=1792 # list of block functions to replace with assembly: 256+512+1024 = 1792 ACFLAGS += -DELF -Wa,--noexecstack diff --git a/sys/modules/cryptodev/Makefile b/sys/modules/cryptodev/Makefile index a82517d..7497772 100644 --- a/sys/modules/cryptodev/Makefile +++ b/sys/modules/cryptodev/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../opencrypto +.PATH: ${SRCTOP}/sys/opencrypto KMOD = cryptodev SRCS = cryptodev.c SRCS += bus_if.h device_if.h opt_compat.h diff --git a/sys/modules/cs/Makefile b/sys/modules/cs/Makefile index 39da530..d457128 100644 --- a/sys/modules/cs/Makefile +++ b/sys/modules/cs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/cs +.PATH: ${SRCTOP}/sys/dev/cs KMOD= if_cs SRCS= if_cs.c if_cs_isa.c if_cs_pccard.c diff --git a/sys/modules/ctau/Makefile b/sys/modules/ctau/Makefile index 9d3d9c5..065d16e 100644 --- a/sys/modules/ctau/Makefile +++ b/sys/modules/ctau/Makefile @@ -1,6 +1,6 @@ # Cronyx Id: sys.modules.ct.Makefile,v 1.1.2.2 2003/12/08 15:39:01 rik Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ctau +.PATH: ${SRCTOP}/sys/dev/ctau KMOD= if_ct SRCS= if_ct.c ctddk.c ctau.c opt_netgraph.h opt_ng_cronyx.h \ device_if.h bus_if.h isa_if.h diff --git a/sys/modules/ctl/Makefile b/sys/modules/ctl/Makefile index 533ed0a..49ba041 100644 --- a/sys/modules/ctl/Makefile +++ b/sys/modules/ctl/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../cam/ctl +.PATH: ${SRCTOP}/sys/cam/ctl KMOD= ctl diff --git a/sys/modules/cuse/Makefile b/sys/modules/cuse/Makefile index 049eb7e..cefd1e0 100644 --- a/sys/modules/cuse/Makefile +++ b/sys/modules/cuse/Makefile @@ -24,7 +24,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../fs/cuse +.PATH: ${SRCTOP}/sys/fs/cuse KMOD= cuse SRCS= cuse.c device_if.h bus_if.h vnode_if.h opt_compat.h diff --git a/sys/modules/cx/Makefile b/sys/modules/cx/Makefile index 9379370..87147e33 100644 --- a/sys/modules/cx/Makefile +++ b/sys/modules/cx/Makefile @@ -1,7 +1,7 @@ # Cronyx Id: sys.modules.cx.Makefile,v 1.1.2.2 2003/01/21 15:15:49 rik Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/cx +.PATH: ${SRCTOP}/sys/dev/cx KMOD= if_cx SRCS= if_cx.c cxddk.c csigma.c opt_netgraph.h opt_ng_cronyx.h \ device_if.h bus_if.h isa_if.h diff --git a/sys/modules/cxgb/Makefile b/sys/modules/cxgb/Makefile index 8a6bb33..f286b79 100644 --- a/sys/modules/cxgb/Makefile +++ b/sys/modules/cxgb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" SUBDIR= cxgb diff --git a/sys/modules/cxgb/cxgb/Makefile b/sys/modules/cxgb/cxgb/Makefile index 911f2bb..a67cfda 100644 --- a/sys/modules/cxgb/cxgb/Makefile +++ b/sys/modules/cxgb/cxgb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -CXGB = ${.CURDIR}/../../../dev/cxgb +CXGB = ${SRCTOP}/sys/dev/cxgb .PATH: ${CXGB} ${CXGB}/common ${CXGB}/sys KMOD= if_cxgb diff --git a/sys/modules/cxgb/cxgb_t3fw/Makefile b/sys/modules/cxgb/cxgb_t3fw/Makefile index 0d2f363..46fd3fe 100644 --- a/sys/modules/cxgb/cxgb_t3fw/Makefile +++ b/sys/modules/cxgb/cxgb_t3fw/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -CXGB = ${.CURDIR}/../../../dev/cxgb +CXGB = ${SRCTOP}/sys/dev/cxgb .PATH: ${CXGB} KMOD= cxgb_t3fw diff --git a/sys/modules/cxgb/iw_cxgb/Makefile b/sys/modules/cxgb/iw_cxgb/Makefile index 57a7c60..fc95ec4 100644 --- a/sys/modules/cxgb/iw_cxgb/Makefile +++ b/sys/modules/cxgb/iw_cxgb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -CXGB = ${.CURDIR}/../../../dev/cxgb +CXGB = ${SRCTOP}/sys/dev/cxgb .PATH: ${CXGB}/ulp/iw_cxgb KMOD= iw_cxgb @@ -9,7 +9,7 @@ SRCS+= iw_cxgb_provider.c iw_cxgb_qp.c iw_cxgb_resource.c SRCS+= iw_cxgb_ev.c iw_cxgb_mem.c iw_cxgb_dbg.c iw_cxgb_cq.c SRCS+= bus_if.h device_if.h opt_sched.h pci_if.h pcib_if.h opt_ktr.h SRCS+= opt_inet.h opt_ofed.h vnode_if.h -CFLAGS+= -I${CXGB} -I${.CURDIR}/../../../ofed/include -DLINUX_TYPES_DEFINED -CFLAGS+= -I${.CURDIR}/../../../compat/linuxkpi/common/include +CFLAGS+= -I${CXGB} -I${SRCTOP}/sys/ofed/include -DLINUX_TYPES_DEFINED +CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include .include <bsd.kmod.mk> diff --git a/sys/modules/cxgb/tom/Makefile b/sys/modules/cxgb/tom/Makefile index 0316cce..fdf12e7 100644 --- a/sys/modules/cxgb/tom/Makefile +++ b/sys/modules/cxgb/tom/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -CXGB = ${.CURDIR}/../../../dev/cxgb +CXGB = ${SRCTOP}/sys/dev/cxgb .PATH: ${CXGB}/ulp/tom KMOD= t3_tom diff --git a/sys/modules/cxgbe/Makefile b/sys/modules/cxgbe/Makefile index c36ef2a6..434be3b 100644 --- a/sys/modules/cxgbe/Makefile +++ b/sys/modules/cxgbe/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" SUBDIR= if_cxgbe diff --git a/sys/modules/cxgbe/cxgbei/Makefile b/sys/modules/cxgbe/cxgbei/Makefile index 898cc3f..af0db75 100644 --- a/sys/modules/cxgbe/cxgbei/Makefile +++ b/sys/modules/cxgbe/cxgbei/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -CXGBE = ${.CURDIR}/../../../dev/cxgbe +CXGBE = ${SRCTOP}/sys/dev/cxgbe .PATH: ${CXGBE}/cxgbei KMOD= cxgbei diff --git a/sys/modules/cxgbe/if_cc/Makefile b/sys/modules/cxgbe/if_cc/Makefile index f81d174..f7cc10d 100644 --- a/sys/modules/cxgbe/if_cc/Makefile +++ b/sys/modules/cxgbe/if_cc/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -CXGBE= ${.CURDIR}/../../../dev/cxgbe +CXGBE= ${SRCTOP}/sys/dev/cxgbe .PATH: ${CXGBE} KMOD= if_cc diff --git a/sys/modules/cxgbe/if_ccv/Makefile b/sys/modules/cxgbe/if_ccv/Makefile index 0fcc03c4b..70700fc 100644 --- a/sys/modules/cxgbe/if_ccv/Makefile +++ b/sys/modules/cxgbe/if_ccv/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -CXGBE= ${.CURDIR}/../../../dev/cxgbe +CXGBE= ${SRCTOP}/sys/dev/cxgbe .PATH: ${CXGBE} KMOD= if_ccv diff --git a/sys/modules/cxgbe/if_cxgbe/Makefile b/sys/modules/cxgbe/if_cxgbe/Makefile index 342e839..61f9e00 100644 --- a/sys/modules/cxgbe/if_cxgbe/Makefile +++ b/sys/modules/cxgbe/if_cxgbe/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -CXGBE= ${.CURDIR}/../../../dev/cxgbe +CXGBE= ${SRCTOP}/sys/dev/cxgbe .PATH: ${CXGBE} ${CXGBE}/common KMOD= if_cxgbe diff --git a/sys/modules/cxgbe/if_cxgbev/Makefile b/sys/modules/cxgbe/if_cxgbev/Makefile index 9c72a7a..4a66572 100644 --- a/sys/modules/cxgbe/if_cxgbev/Makefile +++ b/sys/modules/cxgbe/if_cxgbev/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -CXGBE= ${.CURDIR}/../../../dev/cxgbe +CXGBE= ${SRCTOP}/sys/dev/cxgbe .PATH: ${CXGBE} ${CXGBE}/common KMOD= if_cxgbev diff --git a/sys/modules/cxgbe/if_cxl/Makefile b/sys/modules/cxgbe/if_cxl/Makefile index ec4ff1e..f18cec1 100644 --- a/sys/modules/cxgbe/if_cxl/Makefile +++ b/sys/modules/cxgbe/if_cxl/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -CXGBE= ${.CURDIR}/../../../dev/cxgbe +CXGBE= ${SRCTOP}/sys/dev/cxgbe .PATH: ${CXGBE} KMOD= if_cxl diff --git a/sys/modules/cxgbe/if_cxlv/Makefile b/sys/modules/cxgbe/if_cxlv/Makefile index 943ea58..ab69c0b 100644 --- a/sys/modules/cxgbe/if_cxlv/Makefile +++ b/sys/modules/cxgbe/if_cxlv/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -CXGBE= ${.CURDIR}/../../../dev/cxgbe +CXGBE= ${SRCTOP}/sys/dev/cxgbe .PATH: ${CXGBE} KMOD= if_cxlv diff --git a/sys/modules/cxgbe/iw_cxgbe/Makefile b/sys/modules/cxgbe/iw_cxgbe/Makefile index d4c041f..b07fe1b 100644 --- a/sys/modules/cxgbe/iw_cxgbe/Makefile +++ b/sys/modules/cxgbe/iw_cxgbe/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -CXGBE= ${.CURDIR}/../../../dev/cxgbe +CXGBE= ${SRCTOP}/sys/dev/cxgbe .PATH: ${CXGBE}/iw_cxgbe KMOD= iw_cxgbe @@ -23,7 +23,7 @@ SRCS+= qp.c SRCS+= resource.c SRCS+= vnode_if.h -CFLAGS+= -I${CXGBE} -I${.CURDIR}/../../../ofed/include -DLINUX_TYPES_DEFINED -CFLAGS+= -I${.CURDIR}/../../../compat/linuxkpi/common/include +CFLAGS+= -I${CXGBE} -I${SRCTOP}/sys/ofed/include -DLINUX_TYPES_DEFINED +CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include .include <bsd.kmod.mk> diff --git a/sys/modules/cxgbe/t4_firmware/Makefile b/sys/modules/cxgbe/t4_firmware/Makefile index 3fecead..7f1ed93 100644 --- a/sys/modules/cxgbe/t4_firmware/Makefile +++ b/sys/modules/cxgbe/t4_firmware/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -T4FW= ${.CURDIR}/../../../dev/cxgbe/firmware +T4FW= ${SRCTOP}/sys/dev/cxgbe/firmware .PATH: ${T4FW} KMOD= t4fw_cfg diff --git a/sys/modules/cxgbe/t5_firmware/Makefile b/sys/modules/cxgbe/t5_firmware/Makefile index 2419a19..ab952ae 100644 --- a/sys/modules/cxgbe/t5_firmware/Makefile +++ b/sys/modules/cxgbe/t5_firmware/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -T5FW= ${.CURDIR}/../../../dev/cxgbe/firmware +T5FW= ${SRCTOP}/sys/dev/cxgbe/firmware .PATH: ${T5FW} KMOD= t5fw_cfg diff --git a/sys/modules/cxgbe/t6_firmware/Makefile b/sys/modules/cxgbe/t6_firmware/Makefile index 9bdde07..75d7772 100644 --- a/sys/modules/cxgbe/t6_firmware/Makefile +++ b/sys/modules/cxgbe/t6_firmware/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -T6FW= ${.CURDIR}/../../../dev/cxgbe/firmware +T6FW= ${SRCTOP}/sys/dev/cxgbe/firmware .PATH: ${T6FW} KMOD= t6fw_cfg diff --git a/sys/modules/cxgbe/tom/Makefile b/sys/modules/cxgbe/tom/Makefile index 5f460e0..96daf2c 100644 --- a/sys/modules/cxgbe/tom/Makefile +++ b/sys/modules/cxgbe/tom/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -CXGBE= ${.CURDIR}/../../../dev/cxgbe +CXGBE= ${SRCTOP}/sys/dev/cxgbe .PATH: ${CXGBE}/tom KMOD= t4_tom diff --git a/sys/modules/dc/Makefile b/sys/modules/dc/Makefile index d0a5abb..c692532 100644 --- a/sys/modules/dc/Makefile +++ b/sys/modules/dc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/dc +.PATH: ${SRCTOP}/sys/dev/dc KMOD= if_dc SRCS= if_dc.c dcphy.c pnphy.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/dcons/Makefile b/sys/modules/dcons/Makefile index 4a08b65..be27ee2 100644 --- a/sys/modules/dcons/Makefile +++ b/sys/modules/dcons/Makefile @@ -1,7 +1,7 @@ # $Id: Makefile,v 1.6 2003/10/24 15:41:26 simokawa Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/dcons +.PATH: ${SRCTOP}/sys/dev/dcons KMOD = dcons SRCS = dcons.c dcons.h dcons_os.c dcons_os.h \ @@ -15,6 +15,6 @@ opt_ddb.h: echo "#define DDB 1" > $@ .endif -CFLAGS+= -I${.CURDIR}/../.. +CFLAGS+= -I${SRCTOP}/sys .include <bsd.kmod.mk> diff --git a/sys/modules/dcons_crom/Makefile b/sys/modules/dcons_crom/Makefile index 258bead..b5ac604 100644 --- a/sys/modules/dcons_crom/Makefile +++ b/sys/modules/dcons_crom/Makefile @@ -1,7 +1,7 @@ # $Id: Makefile,v 1.6 2003/10/24 15:43:24 simokawa Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/dcons +.PATH: ${SRCTOP}/sys/dev/dcons KMOD = dcons_crom SRCS = dcons_crom.c dcons.h dcons_os.h \ @@ -9,6 +9,6 @@ SRCS = dcons_crom.c dcons.h dcons_os.h \ #KMODDEPS = firewire dcons -CFLAGS+= -I${.CURDIR}/../.. +CFLAGS+= -I${SRCTOP}/sys .include <bsd.kmod.mk> diff --git a/sys/modules/de/Makefile b/sys/modules/de/Makefile index 6af4c7a..3837323 100644 --- a/sys/modules/de/Makefile +++ b/sys/modules/de/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/de +.PATH: ${SRCTOP}/sys/dev/de KMOD= if_de SRCS= if_de.c opt_ddb.h device_if.h bus_if.h pci_if.h diff --git a/sys/modules/dpms/Makefile b/sys/modules/dpms/Makefile index 4eabf14..0e84f8d 100644 --- a/sys/modules/dpms/Makefile +++ b/sys/modules/dpms/Makefile @@ -3,7 +3,7 @@ KMOD= dpms SRCS= bus_if.h device_if.h pci_if.h -.PATH: ${.CURDIR}/../../dev/dpms +.PATH: ${SRCTOP}/sys/dev/dpms SRCS+= dpms.c .include <bsd.kmod.mk> diff --git a/sys/modules/dpt/Makefile b/sys/modules/dpt/Makefile index ee588ad..32a9aa5 100644 --- a/sys/modules/dpt/Makefile +++ b/sys/modules/dpt/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" .PATH: ${SYSDIR}/dev/dpt diff --git a/sys/modules/drm/Makefile b/sys/modules/drm/Makefile index 2114f54..e217dec 100644 --- a/sys/modules/drm/Makefile +++ b/sys/modules/drm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" # Modules that include binary-only blobs of microcode should be selectable by diff --git a/sys/modules/drm/drm/Makefile b/sys/modules/drm/drm/Makefile index 9381866..41e8a6f 100644 --- a/sys/modules/drm/drm/Makefile +++ b/sys/modules/drm/drm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/drm +.PATH: ${SRCTOP}/sys/dev/drm KMOD = drm SRCS = \ ati_pcigart.c \ diff --git a/sys/modules/drm/i915/Makefile b/sys/modules/drm/i915/Makefile index b64539e..8daa669 100644 --- a/sys/modules/drm/i915/Makefile +++ b/sys/modules/drm/i915/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/drm +.PATH: ${SRCTOP}/sys/dev/drm KMOD = i915 SRCS = i915_dma.c i915_drv.c i915_irq.c i915_mem.c i915_suspend.c SRCS +=device_if.h bus_if.h pci_if.h opt_drm.h diff --git a/sys/modules/drm/mach64/Makefile b/sys/modules/drm/mach64/Makefile index 4d5069c..e2d229b 100644 --- a/sys/modules/drm/mach64/Makefile +++ b/sys/modules/drm/mach64/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/drm +.PATH: ${SRCTOP}/sys/dev/drm KMOD = mach64 SRCS = mach64_dma.c mach64_drv.c mach64_irq.c mach64_state.c SRCS +=device_if.h bus_if.h pci_if.h opt_drm.h diff --git a/sys/modules/drm/mga/Makefile b/sys/modules/drm/mga/Makefile index d88d12c..20a8499 100644 --- a/sys/modules/drm/mga/Makefile +++ b/sys/modules/drm/mga/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/drm +.PATH: ${SRCTOP}/sys/dev/drm KMOD = mga SRCS = mga_drv.c mga_state.c mga_warp.c mga_dma.c \ mga_irq.c diff --git a/sys/modules/drm/r128/Makefile b/sys/modules/drm/r128/Makefile index 6882c3d..a51ed0d 100644 --- a/sys/modules/drm/r128/Makefile +++ b/sys/modules/drm/r128/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/drm +.PATH: ${SRCTOP}/sys/dev/drm KMOD = r128 SRCS = r128_cce.c r128_drv.c r128_irq.c r128_state.c SRCS +=device_if.h bus_if.h pci_if.h opt_drm.h diff --git a/sys/modules/drm/radeon/Makefile b/sys/modules/drm/radeon/Makefile index e24875a..388718a 100644 --- a/sys/modules/drm/radeon/Makefile +++ b/sys/modules/drm/radeon/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/drm +.PATH: ${SRCTOP}/sys/dev/drm KMOD = radeon SRCS = r300_cmdbuf.c r600_blit.c r600_cp.c radeon_cp.c radeon_cs.c \ radeon_drv.c radeon_irq.c radeon_mem.c radeon_state.c diff --git a/sys/modules/drm/savage/Makefile b/sys/modules/drm/savage/Makefile index f1c9b42..f2142a8 100644 --- a/sys/modules/drm/savage/Makefile +++ b/sys/modules/drm/savage/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/drm +.PATH: ${SRCTOP}/sys/dev/drm KMOD= savage -CFLAGS += -I${.CURDIR}/../../../dev/drm +CFLAGS += -I${SRCTOP}/sys/dev/drm SRCS= savage_bci.c savage_drv.c savage_state.c SRCS+= device_if.h bus_if.h pci_if.h opt_drm.h diff --git a/sys/modules/drm/sis/Makefile b/sys/modules/drm/sis/Makefile index 885ce28..98b58ad 100644 --- a/sys/modules/drm/sis/Makefile +++ b/sys/modules/drm/sis/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/drm +.PATH: ${SRCTOP}/sys/dev/drm KMOD= sis SRCS= sis_drv.c sis_ds.c sis_mm.c SRCS+= device_if.h bus_if.h pci_if.h opt_drm.h diff --git a/sys/modules/drm/tdfx/Makefile b/sys/modules/drm/tdfx/Makefile index 2e015a7..3cfc8b7 100644 --- a/sys/modules/drm/tdfx/Makefile +++ b/sys/modules/drm/tdfx/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/drm +.PATH: ${SRCTOP}/sys/dev/drm KMOD = tdfx SRCS = tdfx_drv.c SRCS +=device_if.h bus_if.h pci_if.h opt_drm.h diff --git a/sys/modules/drm/via/Makefile b/sys/modules/drm/via/Makefile index a419beb..b06bc6c 100644 --- a/sys/modules/drm/via/Makefile +++ b/sys/modules/drm/via/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/drm +.PATH: ${SRCTOP}/sys/dev/drm KMOD = via SRCS = via_dma.c via_dmablit.c via_drv.c via_irq.c via_map.c via_mm.c \ via_verifier.c via_video.c diff --git a/sys/modules/drm2/Makefile b/sys/modules/drm2/Makefile index 6ba0def..58c58c0 100644 --- a/sys/modules/drm2/Makefile +++ b/sys/modules/drm2/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" .if ${MACHINE_CPUARCH} == "amd64" diff --git a/sys/modules/drm2/drm2/Makefile b/sys/modules/drm2/drm2/Makefile index 35bee29..f267715 100644 --- a/sys/modules/drm2/drm2/Makefile +++ b/sys/modules/drm2/drm2/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/drm2 ${.CURDIR}/../../../dev/drm2/ttm +.PATH: ${SRCTOP}/sys/dev/drm2 ${SRCTOP}/sys/dev/drm2/ttm KMOD = drm2 SRCS = \ drm_agpsupport.c \ diff --git a/sys/modules/drm2/i915kms/Makefile b/sys/modules/drm2/i915kms/Makefile index c42066a..79cf8e0 100644 --- a/sys/modules/drm2/i915kms/Makefile +++ b/sys/modules/drm2/i915kms/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/drm2/i915 +.PATH: ${SRCTOP}/sys/dev/drm2/i915 KMOD = i915kms SRCS = \ dvo_ch7017.c \ diff --git a/sys/modules/drm2/radeonkms/Makefile b/sys/modules/drm2/radeonkms/Makefile index 0c101ea..68b030c 100644 --- a/sys/modules/drm2/radeonkms/Makefile +++ b/sys/modules/drm2/radeonkms/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/drm2/radeon +.PATH: ${SRCTOP}/sys/dev/drm2/radeon KMOD = radeonkms SRCS = \ @@ -114,7 +114,7 @@ SRCS += \ .include <bsd.kmod.mk> -CFLAGS+= -I${.CURDIR}/../../../dev/drm2/radeon +CFLAGS+= -I${SRCTOP}/sys/dev/drm2/radeon CWARNFLAGS.radeon_cp.c= -Wno-unused-value CWARNFLAGS.r600_cp.c= -Wno-unused-value diff --git a/sys/modules/drm2/radeonkmsfw/Makefile.inc b/sys/modules/drm2/radeonkmsfw/Makefile.inc index f6035a1..c645a88 100644 --- a/sys/modules/drm2/radeonkmsfw/Makefile.inc +++ b/sys/modules/drm2/radeonkmsfw/Makefile.inc @@ -14,5 +14,5 @@ FIRMWS= ${_FIRM}:${KMOD} # #FIRMWARE_LICENSE= -${_FIRM}: ${.CURDIR}/../../../../contrib/dev/drm2/radeonkmsfw/${_FIRM}.uu +${_FIRM}: ${SRCTOP}/sys/contrib/dev/drm2/radeonkmsfw/${_FIRM}.uu uudecode -p $? > ${.TARGET} diff --git a/sys/modules/dtrace/dtmalloc/Makefile b/sys/modules/dtrace/dtmalloc/Makefile index e2d4968..d43d302 100644 --- a/sys/modules/dtrace/dtmalloc/Makefile +++ b/sys/modules/dtrace/dtmalloc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys .PATH: ${SYSDIR}/cddl/dev/dtmalloc diff --git a/sys/modules/dtrace/dtnfscl/Makefile b/sys/modules/dtrace/dtnfscl/Makefile index fc0438c..3b61343 100644 --- a/sys/modules/dtrace/dtnfscl/Makefile +++ b/sys/modules/dtrace/dtnfscl/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys .PATH: ${SYSDIR}/fs/nfsclient diff --git a/sys/modules/dtrace/dtrace/Makefile b/sys/modules/dtrace/dtrace/Makefile index 5147c27..b9553c6 100644 --- a/sys/modules/dtrace/dtrace/Makefile +++ b/sys/modules/dtrace/dtrace/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys ARCHDIR= ${MACHINE_CPUARCH} diff --git a/sys/modules/dtrace/dtrace_test/Makefile b/sys/modules/dtrace/dtrace_test/Makefile index 56099b6..7e883e8 100644 --- a/sys/modules/dtrace/dtrace_test/Makefile +++ b/sys/modules/dtrace/dtrace_test/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys .PATH: ${SYSDIR}/cddl/dev/dtrace diff --git a/sys/modules/dtrace/dtraceall/Makefile b/sys/modules/dtrace/dtraceall/Makefile index b5d9494..1750b5b 100644 --- a/sys/modules/dtrace/dtraceall/Makefile +++ b/sys/modules/dtrace/dtraceall/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys KMOD= dtraceall SRCS= dtraceall.c opt_compat.h opt_nfs.h diff --git a/sys/modules/dtrace/fasttrap/Makefile b/sys/modules/dtrace/fasttrap/Makefile index be65a3d..49c0de8 100644 --- a/sys/modules/dtrace/fasttrap/Makefile +++ b/sys/modules/dtrace/fasttrap/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys .PATH: ${SYSDIR}/cddl/contrib/opensolaris/uts/common/dtrace diff --git a/sys/modules/dtrace/fbt/Makefile b/sys/modules/dtrace/fbt/Makefile index 969f076..6815698 100644 --- a/sys/modules/dtrace/fbt/Makefile +++ b/sys/modules/dtrace/fbt/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys .PATH: ${SYSDIR}/cddl/dev/fbt diff --git a/sys/modules/dtrace/profile/Makefile b/sys/modules/dtrace/profile/Makefile index b0f59f5..c334275 100644 --- a/sys/modules/dtrace/profile/Makefile +++ b/sys/modules/dtrace/profile/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys .PATH: ${SYSDIR}/cddl/dev/profile diff --git a/sys/modules/dtrace/prototype/Makefile b/sys/modules/dtrace/prototype/Makefile index 68d4c35..83ec176 100644 --- a/sys/modules/dtrace/prototype/Makefile +++ b/sys/modules/dtrace/prototype/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys .PATH: ${SYSDIR}/cddl/dev diff --git a/sys/modules/dtrace/sdt/Makefile b/sys/modules/dtrace/sdt/Makefile index b77299d..79c0e5f 100644 --- a/sys/modules/dtrace/sdt/Makefile +++ b/sys/modules/dtrace/sdt/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys .PATH: ${SYSDIR}/cddl/dev/sdt diff --git a/sys/modules/dtrace/systrace/Makefile b/sys/modules/dtrace/systrace/Makefile index 1d6f187..0c682f4 100644 --- a/sys/modules/dtrace/systrace/Makefile +++ b/sys/modules/dtrace/systrace/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys .PATH: ${SYSDIR}/cddl/dev/systrace diff --git a/sys/modules/dtrace/systrace_freebsd32/Makefile b/sys/modules/dtrace/systrace_freebsd32/Makefile index 4c5da44..e20f59f 100644 --- a/sys/modules/dtrace/systrace_freebsd32/Makefile +++ b/sys/modules/dtrace/systrace_freebsd32/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys .PATH: ${SYSDIR}/cddl/dev/systrace diff --git a/sys/modules/dtrace/systrace_linux/Makefile b/sys/modules/dtrace/systrace_linux/Makefile index 1cf5e31..037dd3d 100644 --- a/sys/modules/dtrace/systrace_linux/Makefile +++ b/sys/modules/dtrace/systrace_linux/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys .PATH: ${SYSDIR}/cddl/dev/systrace diff --git a/sys/modules/dtrace/systrace_linux32/Makefile b/sys/modules/dtrace/systrace_linux32/Makefile index db798c3..52a7110 100644 --- a/sys/modules/dtrace/systrace_linux32/Makefile +++ b/sys/modules/dtrace/systrace_linux32/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../../.. +SYSDIR?= ${SRCTOP}/sys .PATH: ${SYSDIR}/cddl/dev/systrace diff --git a/sys/modules/dummynet/Makefile b/sys/modules/dummynet/Makefile index 877e01a..31ce91d 100644 --- a/sys/modules/dummynet/Makefile +++ b/sys/modules/dummynet/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netpfil/ipfw +.PATH: ${SRCTOP}/sys/netpfil/ipfw KMOD= dummynet SRCS= ip_dummynet.c SRCS+= ip_dn_glue.c ip_dn_io.c diff --git a/sys/modules/ed/Makefile b/sys/modules/ed/Makefile index 427b99f..02b755f 100644 --- a/sys/modules/ed/Makefile +++ b/sys/modules/ed/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ed +.PATH: ${SRCTOP}/sys/dev/ed KMOD= if_ed SRCS= if_ed.c diff --git a/sys/modules/efirt/Makefile b/sys/modules/efirt/Makefile index 993ecdb..f840bc1 100644 --- a/sys/modules/efirt/Makefile +++ b/sys/modules/efirt/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../${MACHINE}/${MACHINE} -.PATH: ${.CURDIR}/../../dev/efidev +.PATH: ${SRCTOP}/sys/${MACHINE}/${MACHINE} +.PATH: ${SRCTOP}/sys/dev/efidev KMOD= efirt SRCS= efirt.c efidev.c diff --git a/sys/modules/elink/Makefile b/sys/modules/elink/Makefile index a777657..78ccd94 100644 --- a/sys/modules/elink/Makefile +++ b/sys/modules/elink/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../i386/isa +.PATH: ${SRCTOP}/sys/i386/isa KMOD= elink SRCS= elink.c diff --git a/sys/modules/em/Makefile b/sys/modules/em/Makefile index 1de7c62..6218a1e 100644 --- a/sys/modules/em/Makefile +++ b/sys/modules/em/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/e1000 +.PATH: ${SRCTOP}/sys/dev/e1000 KMOD = if_em SRCS = device_if.h bus_if.h pci_if.h opt_ddb.h opt_em.h opt_inet.h \ opt_inet6.h @@ -15,7 +15,7 @@ COMMON_SHARED = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c \ PCIE_SHARED = e1000_80003es2lan.c e1000_ich8lan.c e1000_82571.c e1000_82575.c LEGACY_SHARED = e1000_82540.c e1000_82542.c e1000_82541.c e1000_82543.c -CFLAGS += -I${.CURDIR}/../../dev/e1000 +CFLAGS += -I${SRCTOP}/sys/dev/e1000 # DEVICE_POLLING for a non-interrupt-driven method #CFLAGS += -DDEVICE_POLLING diff --git a/sys/modules/en/Makefile b/sys/modules/en/Makefile index 05672f0..459bf64 100644 --- a/sys/modules/en/Makefile +++ b/sys/modules/en/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/en +.PATH: ${SRCTOP}/sys/dev/en KMOD= if_en SRCS= if_en_pci.c midway.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/ep/Makefile b/sys/modules/ep/Makefile index df117ab..cb89c92 100644 --- a/sys/modules/ep/Makefile +++ b/sys/modules/ep/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" .PATH: ${SYSDIR}/dev/ep diff --git a/sys/modules/epic/Makefile b/sys/modules/epic/Makefile index 8c2212b..b791d34 100644 --- a/sys/modules/epic/Makefile +++ b/sys/modules/epic/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../sparc64/ebus +.PATH: ${SRCTOP}/sys/sparc64/ebus KMOD= epic SRCS= device_if.h epic.c bus_if.h ofw_bus_if.h diff --git a/sys/modules/esp/Makefile b/sys/modules/esp/Makefile index ccefca5..d582a2d 100644 --- a/sys/modules/esp/Makefile +++ b/sys/modules/esp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/esp +.PATH: ${SRCTOP}/sys/dev/esp KMOD= esp SRCS= device_if.h esp_pci.c ${esp_sbus} bus_if.h ncr53c9x.c ${ofw_bus_if} diff --git a/sys/modules/et/Makefile b/sys/modules/et/Makefile index e715431..bb0d3ff 100644 --- a/sys/modules/et/Makefile +++ b/sys/modules/et/Makefile @@ -1,7 +1,7 @@ # $DragonFly: src/sys/dev/netif/et/Makefile,v 1.1 2007/10/12 14:12:42 sephe Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/et +.PATH: ${SRCTOP}/sys/dev/et KMOD= if_et SRCS= if_et.c diff --git a/sys/modules/evdev/Makefile b/sys/modules/evdev/Makefile index 11091ea..7bea12e3 100644 --- a/sys/modules/evdev/Makefile +++ b/sys/modules/evdev/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/evdev +.PATH: ${SRCTOP}/sys/dev/evdev KMOD= evdev SRCS= cdev.c evdev.c evdev_mt.c evdev_utils.c diff --git a/sys/modules/ex/Makefile b/sys/modules/ex/Makefile index 5c394aa..b7047ac 100644 --- a/sys/modules/ex/Makefile +++ b/sys/modules/ex/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../dev/ex +.PATH: ${SRCTOP}/sys/dev/ex KMOD= if_ex SRCS= if_ex.c \ diff --git a/sys/modules/exca/Makefile b/sys/modules/exca/Makefile index b7a8d52..5135ff2 100644 --- a/sys/modules/exca/Makefile +++ b/sys/modules/exca/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/exca +.PATH: ${SRCTOP}/sys/dev/exca KMOD= exca SRCS= exca.c device_if.h bus_if.h power_if.h card_if.h pccarddevs.h diff --git a/sys/modules/ext2fs/Makefile b/sys/modules/ext2fs/Makefile index fc10ab0..70814bf 100644 --- a/sys/modules/ext2fs/Makefile +++ b/sys/modules/ext2fs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/ext2fs +.PATH: ${SRCTOP}/sys/fs/ext2fs KMOD= ext2fs SRCS= opt_ddb.h opt_directio.h opt_quota.h opt_suiddir.h vnode_if.h \ ext2_alloc.c ext2_balloc.c ext2_bmap.c ext2_extents.c ext2_hash.c \ diff --git a/sys/modules/fatm/Makefile b/sys/modules/fatm/Makefile index 8e1e7bb..c228fb8 100644 --- a/sys/modules/fatm/Makefile +++ b/sys/modules/fatm/Makefile @@ -2,7 +2,7 @@ # # Author: Harti Brandt <harti@freebsd.org> # -.PATH: ${.CURDIR}/../../dev/fatm +.PATH: ${SRCTOP}/sys/dev/fatm KMOD= if_fatm SRCS= if_fatm.c device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h diff --git a/sys/modules/fdc/Makefile b/sys/modules/fdc/Makefile index 40eb427..34555bc 100644 --- a/sys/modules/fdc/Makefile +++ b/sys/modules/fdc/Makefile @@ -2,7 +2,7 @@ KMOD= fdc -.PATH: ${.CURDIR}/../../dev/fdc +.PATH: ${SRCTOP}/sys/dev/fdc .if ${MACHINE} == "pc98" SRCS= fdc.c fdc_cbus.c .else diff --git a/sys/modules/fdescfs/Makefile b/sys/modules/fdescfs/Makefile index eead3ec..083ad17 100644 --- a/sys/modules/fdescfs/Makefile +++ b/sys/modules/fdescfs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/fdescfs +.PATH: ${SRCTOP}/sys/fs/fdescfs KMOD= fdescfs SRCS= vnode_if.h \ diff --git a/sys/modules/fe/Makefile b/sys/modules/fe/Makefile index 77af85b..a46fad4 100644 --- a/sys/modules/fe/Makefile +++ b/sys/modules/fe/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/fe +.PATH: ${SRCTOP}/sys/dev/fe KMOD= if_fe SRCS= if_fe.c if_fe_pccard.c diff --git a/sys/modules/filemon/Makefile b/sys/modules/filemon/Makefile index b97b2e2..b0c7cd3 100644 --- a/sys/modules/filemon/Makefile +++ b/sys/modules/filemon/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/filemon +.PATH: ${SRCTOP}/sys/dev/filemon KMOD= filemon SRCS= ${KMOD}.c diff --git a/sys/modules/firewire/firewire/Makefile b/sys/modules/firewire/firewire/Makefile index de418b1..72fa049 100644 --- a/sys/modules/firewire/firewire/Makefile +++ b/sys/modules/firewire/firewire/Makefile @@ -2,7 +2,7 @@ # Makefile for the IEEE1394 OHCI chipset -.PATH: ${.CURDIR}/../../../dev/firewire +.PATH: ${SRCTOP}/sys/dev/firewire KMOD= firewire SRCS = bus_if.h device_if.h pci_if.h \ diff --git a/sys/modules/firewire/fwe/Makefile b/sys/modules/firewire/fwe/Makefile index 746eb65..8632ab2 100644 --- a/sys/modules/firewire/fwe/Makefile +++ b/sys/modules/firewire/fwe/Makefile @@ -2,7 +2,7 @@ # Makefile for the fwe(4) module (Ethernet over IEEE1394) -.PATH: ${.CURDIR}/../../../dev/firewire +.PATH: ${SRCTOP}/sys/dev/firewire KMOD = if_fwe SRCS = bus_if.h device_if.h \ diff --git a/sys/modules/firewire/fwip/Makefile b/sys/modules/firewire/fwip/Makefile index 992d356..e79bd14 100644 --- a/sys/modules/firewire/fwip/Makefile +++ b/sys/modules/firewire/fwip/Makefile @@ -2,7 +2,7 @@ # Makefile for the fwip(4) module (IP over IEEE1394) -.PATH: ${.CURDIR}/../../../dev/firewire ${.CURDIR}/../../../net +.PATH: ${SRCTOP}/sys/dev/firewire ${SRCTOP}/sys/net KMOD = if_fwip SRCS = bus_if.h device_if.h \ diff --git a/sys/modules/firewire/sbp/Makefile b/sys/modules/firewire/sbp/Makefile index 94218c4..7023b8d 100644 --- a/sys/modules/firewire/sbp/Makefile +++ b/sys/modules/firewire/sbp/Makefile @@ -2,7 +2,7 @@ # Makefile for the SBP-II (Serial Bus Protocol 2/SCSI over IEEE1394) -.PATH: ${.CURDIR}/../../../dev/firewire +.PATH: ${SRCTOP}/sys/dev/firewire KMOD = sbp SRCS = bus_if.h device_if.h \ diff --git a/sys/modules/firewire/sbp_targ/Makefile b/sys/modules/firewire/sbp_targ/Makefile index 98ca957..2be9c56 100644 --- a/sys/modules/firewire/sbp_targ/Makefile +++ b/sys/modules/firewire/sbp_targ/Makefile @@ -2,7 +2,7 @@ # Makefile for the SBP-II Target mode -.PATH: ${.CURDIR}/../../../dev/firewire +.PATH: ${SRCTOP}/sys/dev/firewire KMOD = sbp_targ SRCS = bus_if.h device_if.h \ diff --git a/sys/modules/firmware/Makefile b/sys/modules/firmware/Makefile index 90f1cbd..7a9eb45 100644 --- a/sys/modules/firmware/Makefile +++ b/sys/modules/firmware/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../kern +.PATH: ${SRCTOP}/sys/kern KMOD= firmware SRCS= subr_firmware.c vnode_if.h diff --git a/sys/modules/fuse/Makefile b/sys/modules/fuse/Makefile index 4ccc1a0..c831e5d 100644 --- a/sys/modules/fuse/Makefile +++ b/sys/modules/fuse/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/fuse +.PATH: ${SRCTOP}/sys/fs/fuse KMOD= fuse SRCS= vnode_if.h \ diff --git a/sys/modules/fxp/Makefile b/sys/modules/fxp/Makefile index 283b638..fbe1439 100644 --- a/sys/modules/fxp/Makefile +++ b/sys/modules/fxp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/fxp +.PATH: ${SRCTOP}/sys/dev/fxp KMOD= if_fxp SRCS= device_if.h bus_if.h if_fxp.c inphy.c miibus_if.h miidevs.h pci_if.h diff --git a/sys/modules/gem/Makefile b/sys/modules/gem/Makefile index 941dc18..54083b0 100644 --- a/sys/modules/gem/Makefile +++ b/sys/modules/gem/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/gem +.PATH: ${SRCTOP}/sys/dev/gem KMOD= if_gem SRCS= bus_if.h device_if.h if_gem.c if_gem_pci.c ${if_gem_sbus} miibus_if.h diff --git a/sys/modules/geom/Makefile b/sys/modules/geom/Makefile index 7b79f53..cbc7207 100644 --- a/sys/modules/geom/Makefile +++ b/sys/modules/geom/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" SUBDIR= geom_bde \ diff --git a/sys/modules/geom/geom_bde/Makefile b/sys/modules/geom/geom_bde/Makefile index bcb4dbc..a3961c2 100644 --- a/sys/modules/geom/geom_bde/Makefile +++ b/sys/modules/geom/geom_bde/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/bde -.PATH: ${.CURDIR}/../../../crypto/rijndael -.PATH: ${.CURDIR}/../../../crypto/sha2 +.PATH: ${SRCTOP}/sys/geom/bde +.PATH: ${SRCTOP}/sys/crypto/rijndael +.PATH: ${SRCTOP}/sys/crypto/sha2 KMOD= geom_bde SRCS= g_bde.c g_bde_crypt.c g_bde_lock.c g_bde_work.c diff --git a/sys/modules/geom/geom_bsd/Makefile b/sys/modules/geom/geom_bsd/Makefile index b605df9..6f7b907 100644 --- a/sys/modules/geom/geom_bsd/Makefile +++ b/sys/modules/geom/geom_bsd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom +.PATH: ${SRCTOP}/sys/geom KMOD= geom_bsd SRCS= geom_bsd.c geom_bsd_enc.c diff --git a/sys/modules/geom/geom_cache/Makefile b/sys/modules/geom/geom_cache/Makefile index 7ccbe98..8260f9e 100644 --- a/sys/modules/geom/geom_cache/Makefile +++ b/sys/modules/geom/geom_cache/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/cache +.PATH: ${SRCTOP}/sys/geom/cache KMOD= geom_cache SRCS= g_cache.c diff --git a/sys/modules/geom/geom_ccd/Makefile b/sys/modules/geom/geom_ccd/Makefile index 18d6eeb..3e1c667 100644 --- a/sys/modules/geom/geom_ccd/Makefile +++ b/sys/modules/geom/geom_ccd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom +.PATH: ${SRCTOP}/sys/geom KMOD= geom_ccd SRCS= geom_ccd.c diff --git a/sys/modules/geom/geom_concat/Makefile b/sys/modules/geom/geom_concat/Makefile index 3de201a..5caff71 100644 --- a/sys/modules/geom/geom_concat/Makefile +++ b/sys/modules/geom/geom_concat/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/concat +.PATH: ${SRCTOP}/sys/geom/concat KMOD= geom_concat SRCS= g_concat.c diff --git a/sys/modules/geom/geom_eli/Makefile b/sys/modules/geom/geom_eli/Makefile index c42ccf1..b3b2f92 100644 --- a/sys/modules/geom/geom_eli/Makefile +++ b/sys/modules/geom/geom_eli/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/eli +.PATH: ${SRCTOP}/sys/geom/eli KMOD= geom_eli SRCS= g_eli.c diff --git a/sys/modules/geom/geom_flashmap/Makefile b/sys/modules/geom/geom_flashmap/Makefile index d475860..8b56c14 100644 --- a/sys/modules/geom/geom_flashmap/Makefile +++ b/sys/modules/geom/geom_flashmap/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom +.PATH: ${SRCTOP}/sys/geom KMOD= geom_flashmap SRCS= geom_flashmap.c diff --git a/sys/modules/geom/geom_fox/Makefile b/sys/modules/geom/geom_fox/Makefile index adf8c2e..04fc63a 100644 --- a/sys/modules/geom/geom_fox/Makefile +++ b/sys/modules/geom/geom_fox/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom +.PATH: ${SRCTOP}/sys/geom KMOD= geom_fox SRCS= geom_fox.c diff --git a/sys/modules/geom/geom_gate/Makefile b/sys/modules/geom/geom_gate/Makefile index 783a58a..88705a0 100644 --- a/sys/modules/geom/geom_gate/Makefile +++ b/sys/modules/geom/geom_gate/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/gate +.PATH: ${SRCTOP}/sys/geom/gate KMOD= geom_gate SRCS= g_gate.c diff --git a/sys/modules/geom/geom_journal/Makefile b/sys/modules/geom/geom_journal/Makefile index 0288b48..89298a8 100644 --- a/sys/modules/geom/geom_journal/Makefile +++ b/sys/modules/geom/geom_journal/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/journal +.PATH: ${SRCTOP}/sys/geom/journal KMOD= geom_journal SRCS= g_journal.c diff --git a/sys/modules/geom/geom_label/Makefile b/sys/modules/geom/geom_label/Makefile index b06e108..f5f4a7c 100644 --- a/sys/modules/geom/geom_label/Makefile +++ b/sys/modules/geom/geom_label/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/label +.PATH: ${SRCTOP}/sys/geom/label KMOD= geom_label SRCS= g_label.c diff --git a/sys/modules/geom/geom_linux_lvm/Makefile b/sys/modules/geom/geom_linux_lvm/Makefile index 1e10e13..5d2b7a3 100644 --- a/sys/modules/geom/geom_linux_lvm/Makefile +++ b/sys/modules/geom/geom_linux_lvm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/linux_lvm +.PATH: ${SRCTOP}/sys/geom/linux_lvm KMOD= geom_linux_lvm SRCS= g_linux_lvm.c diff --git a/sys/modules/geom/geom_map/Makefile b/sys/modules/geom/geom_map/Makefile index 6b26ba9..4f5b773 100644 --- a/sys/modules/geom/geom_map/Makefile +++ b/sys/modules/geom/geom_map/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom +.PATH: ${SRCTOP}/sys/geom KMOD= geom_map SRCS= geom_map.c bus_if.h device_if.h diff --git a/sys/modules/geom/geom_mbr/Makefile b/sys/modules/geom/geom_mbr/Makefile index 1820f3b..0759a64 100644 --- a/sys/modules/geom/geom_mbr/Makefile +++ b/sys/modules/geom/geom_mbr/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom +.PATH: ${SRCTOP}/sys/geom KMOD= geom_mbr SRCS= geom_mbr.c geom_mbr_enc.c diff --git a/sys/modules/geom/geom_mirror/Makefile b/sys/modules/geom/geom_mirror/Makefile index 3e653ce..f2a11a5 100644 --- a/sys/modules/geom/geom_mirror/Makefile +++ b/sys/modules/geom/geom_mirror/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/mirror +.PATH: ${SRCTOP}/sys/geom/mirror KMOD= geom_mirror SRCS= g_mirror.c diff --git a/sys/modules/geom/geom_mountver/Makefile b/sys/modules/geom/geom_mountver/Makefile index 8e89c9a..ff579ba 100644 --- a/sys/modules/geom/geom_mountver/Makefile +++ b/sys/modules/geom/geom_mountver/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/mountver +.PATH: ${SRCTOP}/sys/geom/mountver KMOD= geom_mountver SRCS= g_mountver.c diff --git a/sys/modules/geom/geom_multipath/Makefile b/sys/modules/geom/geom_multipath/Makefile index d036fe0..27b6fdb 100644 --- a/sys/modules/geom/geom_multipath/Makefile +++ b/sys/modules/geom/geom_multipath/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/multipath +.PATH: ${SRCTOP}/sys/geom/multipath KMOD= geom_multipath SRCS= g_multipath.c diff --git a/sys/modules/geom/geom_nop/Makefile b/sys/modules/geom/geom_nop/Makefile index 139e124..d229482 100644 --- a/sys/modules/geom/geom_nop/Makefile +++ b/sys/modules/geom/geom_nop/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/nop +.PATH: ${SRCTOP}/sys/geom/nop KMOD= geom_nop SRCS= g_nop.c diff --git a/sys/modules/geom/geom_part/geom_part_apm/Makefile b/sys/modules/geom/geom_part/geom_part_apm/Makefile index afd9eb6..ee7966f 100644 --- a/sys/modules/geom/geom_part/geom_part_apm/Makefile +++ b/sys/modules/geom/geom_part/geom_part_apm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../geom/part +.PATH: ${SRCTOP}/sys/geom/part KMOD= geom_part_apm SRCS= g_part_apm.c diff --git a/sys/modules/geom/geom_part/geom_part_bsd/Makefile b/sys/modules/geom/geom_part/geom_part_bsd/Makefile index f6d323c..8e8cc73 100644 --- a/sys/modules/geom/geom_part/geom_part_bsd/Makefile +++ b/sys/modules/geom/geom_part/geom_part_bsd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../geom/part ${.CURDIR}/../../../../geom +.PATH: ${SRCTOP}/sys/geom/part ${SRCTOP}/sys/geom KMOD= geom_part_bsd SRCS= g_part_bsd.c geom_bsd_enc.c diff --git a/sys/modules/geom/geom_part/geom_part_bsd64/Makefile b/sys/modules/geom/geom_part/geom_part_bsd64/Makefile index abe153f..4dabbaa 100644 --- a/sys/modules/geom/geom_part/geom_part_bsd64/Makefile +++ b/sys/modules/geom/geom_part/geom_part_bsd64/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../geom/part +.PATH: ${SRCTOP}/sys/geom/part KMOD= geom_part_bsd64 SRCS= g_part_bsd64.c diff --git a/sys/modules/geom/geom_part/geom_part_ebr/Makefile b/sys/modules/geom/geom_part/geom_part_ebr/Makefile index 3b0d36b..4aa8ec1 100644 --- a/sys/modules/geom/geom_part/geom_part_ebr/Makefile +++ b/sys/modules/geom/geom_part/geom_part_ebr/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../geom/part +.PATH: ${SRCTOP}/sys/geom/part KMOD= geom_part_ebr SRCS= g_part_ebr.c diff --git a/sys/modules/geom/geom_part/geom_part_gpt/Makefile b/sys/modules/geom/geom_part/geom_part_gpt/Makefile index 26df04a..d0f7089 100644 --- a/sys/modules/geom/geom_part/geom_part_gpt/Makefile +++ b/sys/modules/geom/geom_part/geom_part_gpt/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../geom/part +.PATH: ${SRCTOP}/sys/geom/part KMOD= geom_part_gpt SRCS= g_part_gpt.c diff --git a/sys/modules/geom/geom_part/geom_part_ldm/Makefile b/sys/modules/geom/geom_part/geom_part_ldm/Makefile index 71f364d..f51049b 100644 --- a/sys/modules/geom/geom_part/geom_part_ldm/Makefile +++ b/sys/modules/geom/geom_part/geom_part_ldm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../geom/part +.PATH: ${SRCTOP}/sys/geom/part KMOD= geom_part_ldm SRCS= g_part_ldm.c diff --git a/sys/modules/geom/geom_part/geom_part_mbr/Makefile b/sys/modules/geom/geom_part/geom_part_mbr/Makefile index 3dfd72e..8f4e181 100644 --- a/sys/modules/geom/geom_part/geom_part_mbr/Makefile +++ b/sys/modules/geom/geom_part/geom_part_mbr/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../geom/part +.PATH: ${SRCTOP}/sys/geom/part KMOD= geom_part_mbr SRCS= g_part_mbr.c diff --git a/sys/modules/geom/geom_part/geom_part_vtoc8/Makefile b/sys/modules/geom/geom_part/geom_part_vtoc8/Makefile index 085648a..f3aa9cb 100644 --- a/sys/modules/geom/geom_part/geom_part_vtoc8/Makefile +++ b/sys/modules/geom/geom_part/geom_part_vtoc8/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../geom/part +.PATH: ${SRCTOP}/sys/geom/part KMOD= geom_part_vtoc8 SRCS= g_part_vtoc8.c diff --git a/sys/modules/geom/geom_raid/Makefile b/sys/modules/geom/geom_raid/Makefile index d2c3e4d..b9c8f2c 100644 --- a/sys/modules/geom/geom_raid/Makefile +++ b/sys/modules/geom/geom_raid/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/raid +.PATH: ${SRCTOP}/sys/geom/raid KMOD= geom_raid SRCS= g_raid.c diff --git a/sys/modules/geom/geom_raid3/Makefile b/sys/modules/geom/geom_raid3/Makefile index b202237..5baa6c2 100644 --- a/sys/modules/geom/geom_raid3/Makefile +++ b/sys/modules/geom/geom_raid3/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/raid3 +.PATH: ${SRCTOP}/sys/geom/raid3 KMOD= geom_raid3 SRCS= g_raid3.c diff --git a/sys/modules/geom/geom_sched/Makefile.inc b/sys/modules/geom/geom_sched/Makefile.inc index 808d6eb..a81a965 100644 --- a/sys/modules/geom/geom_sched/Makefile.inc +++ b/sys/modules/geom/geom_sched/Makefile.inc @@ -1,9 +1,9 @@ # $FreeBSD$ # included by geom_sched children -.PATH: ${.CURDIR}/../../../../geom/sched +.PATH: ${SRCTOP}/sys/geom/sched # 6.x needs this path -#CFLAGS += -I${.CURDIR}/../../../../geom/sched +#CFLAGS += -I${SRCTOP}/sys/geom/sched # .include <bsd.kmod.mk> diff --git a/sys/modules/geom/geom_shsec/Makefile b/sys/modules/geom/geom_shsec/Makefile index f229203..79d29ea 100644 --- a/sys/modules/geom/geom_shsec/Makefile +++ b/sys/modules/geom/geom_shsec/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/shsec +.PATH: ${SRCTOP}/sys/geom/shsec KMOD= geom_shsec SRCS= g_shsec.c diff --git a/sys/modules/geom/geom_stripe/Makefile b/sys/modules/geom/geom_stripe/Makefile index 278d3ac..947b3bb 100644 --- a/sys/modules/geom/geom_stripe/Makefile +++ b/sys/modules/geom/geom_stripe/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/stripe +.PATH: ${SRCTOP}/sys/geom/stripe KMOD= geom_stripe SRCS= g_stripe.c diff --git a/sys/modules/geom/geom_sunlabel/Makefile b/sys/modules/geom/geom_sunlabel/Makefile index 840395a..cb0d13e 100644 --- a/sys/modules/geom/geom_sunlabel/Makefile +++ b/sys/modules/geom/geom_sunlabel/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom +.PATH: ${SRCTOP}/sys/geom KMOD= geom_sunlabel SRCS= geom_sunlabel.c geom_sunlabel_enc.c diff --git a/sys/modules/geom/geom_uzip/Makefile b/sys/modules/geom/geom_uzip/Makefile index dd2bd46..2a7cba7 100644 --- a/sys/modules/geom/geom_uzip/Makefile +++ b/sys/modules/geom/geom_uzip/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/uzip ${.CURDIR}/../../../net +.PATH: ${SRCTOP}/sys/geom/uzip ${SRCTOP}/sys/net KMOD= geom_uzip SRCS= g_uzip.c g_uzip_zlib.c g_uzip_lzma.c g_uzip_wrkthr.c @@ -8,13 +8,13 @@ SRCS+= g_uzip.h g_uzip_dapi.h g_uzip_lzma.h g_uzip_zlib.h g_uzip_softc.h \ g_uzip_wrkthr.h #CFLAGS= -g -DINVARIANT_SUPPORT -DINVARIANTS -.PATH: ${.CURDIR}/../../../contrib/xz-embedded/freebsd/ \ - ${.CURDIR}/../../../contrib/xz-embedded/linux/lib/xz/ \ - ${.CURDIR}/../../../contrib/xz-embedded/linux/include/linux/ \ - ${.CURDIR}/../../../net +.PATH: ${SRCTOP}/sys/contrib/xz-embedded/freebsd/ \ + ${SRCTOP}/sys/contrib/xz-embedded/linux/lib/xz/ \ + ${SRCTOP}/sys/contrib/xz-embedded/linux/include/linux/ \ + ${SRCTOP}/sys/net -CFLAGS+= -I${.CURDIR}/../../../contrib/xz-embedded/freebsd \ - -I${.CURDIR}/../../../contrib/xz-embedded/linux/lib/xz/ +CFLAGS+= -I${SRCTOP}/sys/contrib/xz-embedded/freebsd \ + -I${SRCTOP}/sys/contrib/xz-embedded/linux/lib/xz/ SRCS+= xz_crc32.c xz_dec_bcj.c xz_dec_lzma2.c xz_dec_stream.c \ xz_malloc.c SRCS+= xz.h xz_config.h xz_lzma2.h xz_malloc.h xz_private.h xz_stream.h diff --git a/sys/modules/geom/geom_vinum/Makefile b/sys/modules/geom/geom_vinum/Makefile index 48ac962..69dd808 100644 --- a/sys/modules/geom/geom_vinum/Makefile +++ b/sys/modules/geom/geom_vinum/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/vinum +.PATH: ${SRCTOP}/sys/geom/vinum KMOD= geom_vinum SRCS= geom_vinum.c geom_vinum_create.c geom_vinum_drive.c geom_vinum_plex.c \ diff --git a/sys/modules/geom/geom_virstor/Makefile b/sys/modules/geom/geom_virstor/Makefile index 3a099f2..ea2b7de 100644 --- a/sys/modules/geom/geom_virstor/Makefile +++ b/sys/modules/geom/geom_virstor/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/virstor +.PATH: ${SRCTOP}/sys/geom/virstor KMOD= geom_virstor SRCS= g_virstor.c g_virstor_md.c binstream.c diff --git a/sys/modules/geom/geom_vol_ffs/Makefile b/sys/modules/geom/geom_vol_ffs/Makefile index de9b758..d7287c8 100644 --- a/sys/modules/geom/geom_vol_ffs/Makefile +++ b/sys/modules/geom/geom_vol_ffs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom +.PATH: ${SRCTOP}/sys/geom KMOD= geom_vol_ffs SRCS= geom_vol_ffs.c diff --git a/sys/modules/geom/geom_zero/Makefile b/sys/modules/geom/geom_zero/Makefile index 43dae09..bd0a327 100644 --- a/sys/modules/geom/geom_zero/Makefile +++ b/sys/modules/geom/geom_zero/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../geom/zero +.PATH: ${SRCTOP}/sys/geom/zero KMOD= geom_zero SRCS= g_zero.c diff --git a/sys/modules/glxiic/Makefile b/sys/modules/glxiic/Makefile index 46b0c07..beef3c4 100644 --- a/sys/modules/glxiic/Makefile +++ b/sys/modules/glxiic/Makefile @@ -2,7 +2,7 @@ #CFLAGS+= -DGLXIIC_DEBUG -.PATH: ${.CURDIR}/../../dev/glxiic +.PATH: ${SRCTOP}/sys/dev/glxiic KMOD= glxiic SRCS= glxiic.c SRCS+= device_if.h bus_if.h pci_if.h iicbus_if.h diff --git a/sys/modules/glxsb/Makefile b/sys/modules/glxsb/Makefile index 7167f82..6499010 100644 --- a/sys/modules/glxsb/Makefile +++ b/sys/modules/glxsb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/glxsb +.PATH: ${SRCTOP}/sys/dev/glxsb KMOD = glxsb SRCS = glxsb.c glxsb_hash.c glxsb.h SRCS += device_if.h pci_if.h bus_if.h diff --git a/sys/modules/gpio/gpiobus/Makefile b/sys/modules/gpio/gpiobus/Makefile index cc67b9c..24a0f13 100644 --- a/sys/modules/gpio/gpiobus/Makefile +++ b/sys/modules/gpio/gpiobus/Makefile @@ -29,13 +29,13 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../dev/gpio/ +.PATH: ${SRCTOP}/sys/dev/gpio/ KMOD= gpiobus SRCS= gpiobus.c gpioc.c SRCS+= gpio_if.c gpio_if.h gpiobus_if.c gpiobus_if.h ofw_bus_if.h SRCS+= device_if.h bus_if.h opt_platform.h -CFLAGS+= -I. -I${.CURDIR}/../../../dev/gpio/ +CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/ .include <bsd.kmod.mk> diff --git a/sys/modules/gpio/gpioiic/Makefile b/sys/modules/gpio/gpioiic/Makefile index 055f2ec..ff422f3 100644 --- a/sys/modules/gpio/gpioiic/Makefile +++ b/sys/modules/gpio/gpioiic/Makefile @@ -29,13 +29,13 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../dev/gpio/ +.PATH: ${SRCTOP}/sys/dev/gpio/ KMOD= gpioiic SRCS= gpioiic.c SRCS+= device_if.h bus_if.h gpio_if.h gpiobus_if.h iicbus_if.h iicbb_if.h SRCS+= ofw_bus_if.h opt_platform.h -CFLAGS+= -I. -I${.CURDIR}/../../../dev/gpio/ +CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/ .include <bsd.kmod.mk> diff --git a/sys/modules/gpio/gpiokeys/Makefile b/sys/modules/gpio/gpiokeys/Makefile index 95ffce1..eafb5d2 100644 --- a/sys/modules/gpio/gpiokeys/Makefile +++ b/sys/modules/gpio/gpiokeys/Makefile @@ -2,13 +2,13 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../dev/gpio/ +.PATH: ${SRCTOP}/sys/dev/gpio/ KMOD= gpiokeys SRCS= gpiokeys.c gpiokeys_codes.c SRCS+= bus_if.h device_if.h gpio_if.h ofw_bus_if.h SRCS+= opt_platform.h opt_kbd.h -CFLAGS+= -I. -I${.CURDIR}/../../../dev/gpio/ +CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/ .include <bsd.kmod.mk> diff --git a/sys/modules/gpio/gpioled/Makefile b/sys/modules/gpio/gpioled/Makefile index 4c70a1f..87d8ee3 100644 --- a/sys/modules/gpio/gpioled/Makefile +++ b/sys/modules/gpio/gpioled/Makefile @@ -29,7 +29,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../dev/gpio/ +.PATH: ${SRCTOP}/sys/dev/gpio/ KMOD= gpioled .if !empty(OPT_FDT) @@ -39,6 +39,6 @@ SRCS= gpioled.c .endif SRCS+= device_if.h bus_if.h gpio_if.h gpiobus_if.h opt_platform.h ofw_bus_if.h -CFLAGS+= -I. -I${.CURDIR}/../../../dev/gpio/ +CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/ .include <bsd.kmod.mk> diff --git a/sys/modules/gpio/gpiopps/Makefile b/sys/modules/gpio/gpiopps/Makefile index 3adc1c6..7b3408f 100644 --- a/sys/modules/gpio/gpiopps/Makefile +++ b/sys/modules/gpio/gpiopps/Makefile @@ -29,12 +29,12 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../dev/gpio/ +.PATH: ${SRCTOP}/sys/dev/gpio/ KMOD= gpiopps SRCS= gpiopps.c SRCS+= device_if.h bus_if.h gpio_if.h gpiobus_if.h opt_platform.h ofw_bus_if.h -CFLAGS+= -I. -I${.CURDIR}/../../../dev/gpio/ +CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/ .include <bsd.kmod.mk> diff --git a/sys/modules/gpio/gpiospi/Makefile b/sys/modules/gpio/gpiospi/Makefile index 181ec03..023714e 100644 --- a/sys/modules/gpio/gpiospi/Makefile +++ b/sys/modules/gpio/gpiospi/Makefile @@ -29,13 +29,13 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../dev/gpio/ +.PATH: ${SRCTOP}/sys/dev/gpio/ KMOD= gpiospi SRCS= gpiospi.c SRCS+= device_if.h bus_if.h gpio_if.h gpiobus_if.h spibus_if.h SRCS+= ofw_bus_if.h opt_gpio.h opt_platform.h -CFLAGS+= -I. -I${.CURDIR}/../../../dev/gpio/ +CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/ .include <bsd.kmod.mk> diff --git a/sys/modules/hatm/Makefile b/sys/modules/hatm/Makefile index 5578199..5027bab 100644 --- a/sys/modules/hatm/Makefile +++ b/sys/modules/hatm/Makefile @@ -2,7 +2,7 @@ # # Author: Harti Brandt <harti@freebsd.org> # -.PATH: ${.CURDIR}/../../dev/hatm +.PATH: ${SRCTOP}/sys/dev/hatm KMOD= if_hatm SRCS= if_hatm.c if_hatm_intr.c if_hatm_ioctl.c if_hatm_tx.c if_hatm_rx.c \ diff --git a/sys/modules/hifn/Makefile b/sys/modules/hifn/Makefile index 6897e34..840f668 100644 --- a/sys/modules/hifn/Makefile +++ b/sys/modules/hifn/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/hifn +.PATH: ${SRCTOP}/sys/dev/hifn KMOD = hifn SRCS = hifn7751.c opt_hifn.h SRCS += device_if.h bus_if.h pci_if.h diff --git a/sys/modules/hme/Makefile b/sys/modules/hme/Makefile index 4656281..7463371 100644 --- a/sys/modules/hme/Makefile +++ b/sys/modules/hme/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/hme +.PATH: ${SRCTOP}/sys/dev/hme KMOD= if_hme SRCS= bus_if.h device_if.h if_hme.c if_hme_pci.c ${if_hme_sbus} miibus_if.h diff --git a/sys/modules/hpt27xx/Makefile b/sys/modules/hpt27xx/Makefile index 3f7899d..b28b5f1 100644 --- a/sys/modules/hpt27xx/Makefile +++ b/sys/modules/hpt27xx/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -HPT27XX= ${.CURDIR}/../../dev/hpt27xx +HPT27XX= ${SRCTOP}/sys/dev/hpt27xx .PATH: ${HPT27XX} KMOD= hpt27xx diff --git a/sys/modules/hptiop/Makefile b/sys/modules/hptiop/Makefile index 66f11c2..d001f9b 100644 --- a/sys/modules/hptiop/Makefile +++ b/sys/modules/hptiop/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/hptiop +.PATH: ${SRCTOP}/sys/dev/hptiop KMOD= hptiop SRCS= hptiop.c diff --git a/sys/modules/hptmv/Makefile b/sys/modules/hptmv/Makefile index 134c207..9b72723 100644 --- a/sys/modules/hptmv/Makefile +++ b/sys/modules/hptmv/Makefile @@ -4,7 +4,7 @@ # # $FreeBSD$ -HPTMV= ${.CURDIR}/../../dev/hptmv +HPTMV= ${SRCTOP}/sys/dev/hptmv .PATH: ${HPTMV} KMOD= hptmv diff --git a/sys/modules/hptnr/Makefile b/sys/modules/hptnr/Makefile index 9279fbd..84f29ac 100644 --- a/sys/modules/hptnr/Makefile +++ b/sys/modules/hptnr/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -HPTNR= ${.CURDIR}/../../dev/hptnr +HPTNR= ${SRCTOP}/sys/dev/hptnr .PATH: ${HPTNR} KMOD= hptnr diff --git a/sys/modules/hptrr/Makefile b/sys/modules/hptrr/Makefile index 7cbd7e8..8529886 100644 --- a/sys/modules/hptrr/Makefile +++ b/sys/modules/hptrr/Makefile @@ -1,7 +1,7 @@ # $Id: Makefile.def,v 1.18 2007/03/22 11:20:15 gmm Exp $ # $FreeBSD$ -HPTRR= ${.CURDIR}/../../dev/hptrr +HPTRR= ${SRCTOP}/sys/dev/hptrr .PATH: ${HPTRR} KMOD = hptrr SRCS = opt_scsi.h opt_cam.h bus_if.h device_if.h pci_if.h os_bsd.h diff --git a/sys/modules/hwpmc/Makefile b/sys/modules/hwpmc/Makefile index 5e6ea30..1db7a66 100644 --- a/sys/modules/hwpmc/Makefile +++ b/sys/modules/hwpmc/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../dev/hwpmc +.PATH: ${SRCTOP}/sys/dev/hwpmc KMOD= hwpmc diff --git a/sys/modules/hyperv/netvsc/Makefile b/sys/modules/hyperv/netvsc/Makefile index e2a2533..dd28d13 100644 --- a/sys/modules/hyperv/netvsc/Makefile +++ b/sys/modules/hyperv/netvsc/Makefile @@ -1,13 +1,13 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/hyperv/netvsc \ - ${.CURDIR}/../../../dev/hyperv/vmbus +.PATH: ${SRCTOP}/sys/dev/hyperv/netvsc \ + ${SRCTOP}/sys/dev/hyperv/vmbus KMOD= hv_netvsc SRCS= hn_nvs.c hn_rndis.c if_hn.c SRCS+= bus_if.h device_if.h vmbus_if.h SRCS+= opt_hn.h opt_inet.h opt_inet6.h opt_rss.h -CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/netvsc +CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/netvsc .include <bsd.kmod.mk> diff --git a/sys/modules/hyperv/pcib/Makefile b/sys/modules/hyperv/pcib/Makefile index 1b63a13..83e960d 100644 --- a/sys/modules/hyperv/pcib/Makefile +++ b/sys/modules/hyperv/pcib/Makefile @@ -1,12 +1,12 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/hyperv/pcib \ - ${.CURDIR}/../../../dev/hyperv/vmbus +.PATH: ${SRCTOP}/sys/dev/hyperv/pcib \ + ${SRCTOP}/sys/dev/hyperv/vmbus KMOD= vmbus_pcib SRCS= vmbus_pcib.c SRCS+= bus_if.h device_if.h pci_if.h pcib_if.h vmbus_if.h -CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/pcib +CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/pcib .include <bsd.kmod.mk> diff --git a/sys/modules/hyperv/storvsc/Makefile b/sys/modules/hyperv/storvsc/Makefile index 5f38b13..a755772 100644 --- a/sys/modules/hyperv/storvsc/Makefile +++ b/sys/modules/hyperv/storvsc/Makefile @@ -1,15 +1,15 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/hyperv/storvsc \ - ${.CURDIR}/../../../dev/hyperv/vmbus \ +.PATH: ${SRCTOP}/sys/dev/hyperv/storvsc \ + ${SRCTOP}/sys/dev/hyperv/vmbus \ KMOD= hv_storvsc SRCS = hv_storvsc_drv_freebsd.c \ hv_vstorage.h SRCS+= bus_if.h device_if.h opt_cam.h vmbus_if.h -CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/include \ - -I${.CURDIR}/../../../dev/hyperv/vmbus \ - -I${.CURDIR}/../../../dev/hyperv/storvsc +CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/include \ + -I${SRCTOP}/sys/dev/hyperv/vmbus \ + -I${SRCTOP}/sys/dev/hyperv/storvsc .include <bsd.kmod.mk> diff --git a/sys/modules/hyperv/utilities/Makefile b/sys/modules/hyperv/utilities/Makefile index deb2e8b..53dc4b2 100644 --- a/sys/modules/hyperv/utilities/Makefile +++ b/sys/modules/hyperv/utilities/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/hyperv/utilities +.PATH: ${SRCTOP}/sys/dev/hyperv/utilities KMOD= hv_utils SRCS= vmbus_ic.c @@ -11,7 +11,7 @@ SRCS+= vmbus_shutdown.c SRCS+= vmbus_timesync.c SRCS+= bus_if.h device_if.h vmbus_if.h -CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/include \ - -I${.CURDIR}/../../../dev/hyperv/vmbus +CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/include \ + -I${SRCTOP}/sys/dev/hyperv/vmbus .include <bsd.kmod.mk> diff --git a/sys/modules/hyperv/vmbus/Makefile b/sys/modules/hyperv/vmbus/Makefile index 0a78d5d..944bf75 100644 --- a/sys/modules/hyperv/vmbus/Makefile +++ b/sys/modules/hyperv/vmbus/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/hyperv/vmbus \ - ${.CURDIR}/../../../dev/hyperv/vmbus/${MACHINE_CPUARCH} +.PATH: ${SRCTOP}/sys/dev/hyperv/vmbus \ + ${SRCTOP}/sys/dev/hyperv/vmbus/${MACHINE_CPUARCH} KMOD= hv_vmbus SRCS= hyperv.c \ @@ -29,7 +29,7 @@ vmbus_vector.o: ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ ${.IMPSRC} -o ${.TARGET} -CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/include \ - -I${.CURDIR}/../../../dev/hyperv/vmbus +CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/include \ + -I${SRCTOP}/sys/dev/hyperv/vmbus .include <bsd.kmod.mk> diff --git a/sys/modules/i2c/controllers/alpm/Makefile b/sys/modules/i2c/controllers/alpm/Makefile index adddfb7..4c6390d 100644 --- a/sys/modules/i2c/controllers/alpm/Makefile +++ b/sys/modules/i2c/controllers/alpm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/alpm +.PATH: ${SRCTOP}/sys/dev/alpm KMOD = alpm SRCS = device_if.h bus_if.h iicbus_if.h smbus_if.h pci_if.h \ alpm.c diff --git a/sys/modules/i2c/controllers/amdpm/Makefile b/sys/modules/i2c/controllers/amdpm/Makefile index 2f6fcec..32478a8 100644 --- a/sys/modules/i2c/controllers/amdpm/Makefile +++ b/sys/modules/i2c/controllers/amdpm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/amdpm +.PATH: ${SRCTOP}/sys/dev/amdpm KMOD = amdpm SRCS = device_if.h bus_if.h pci_if.h smbus_if.h \ amdpm.c diff --git a/sys/modules/i2c/controllers/amdsmb/Makefile b/sys/modules/i2c/controllers/amdsmb/Makefile index 43d1122..d1912e8 100644 --- a/sys/modules/i2c/controllers/amdsmb/Makefile +++ b/sys/modules/i2c/controllers/amdsmb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/amdsmb +.PATH: ${SRCTOP}/sys/dev/amdsmb KMOD= amdsmb SRCS= amdsmb.c diff --git a/sys/modules/i2c/controllers/ichiic/Makefile b/sys/modules/i2c/controllers/ichiic/Makefile index 97db5e8..a7bbcf1 100644 --- a/sys/modules/i2c/controllers/ichiic/Makefile +++ b/sys/modules/i2c/controllers/ichiic/Makefile @@ -1,6 +1,6 @@ #$FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/ichiic +.PATH: ${SRCTOP}/sys/dev/ichiic KMOD = ig4 SRCS = acpi_if.h device_if.h bus_if.h iicbus_if.h pci_if.h \ smbus_if.h ${ig4_acpi} ig4_iic.c ig4_pci.c ig4_reg.h \ diff --git a/sys/modules/i2c/controllers/ichsmb/Makefile b/sys/modules/i2c/controllers/ichsmb/Makefile index 7cb9957..e65f1a9 100644 --- a/sys/modules/i2c/controllers/ichsmb/Makefile +++ b/sys/modules/i2c/controllers/ichsmb/Makefile @@ -1,6 +1,6 @@ #$FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/ichsmb +.PATH: ${SRCTOP}/sys/dev/ichsmb KMOD = ichsmb SRCS = device_if.h bus_if.h iicbb_if.h pci_if.h smbus_if.h \ ichsmb.c ichsmb_pci.c ichsmb_reg.h ichsmb_var.h diff --git a/sys/modules/i2c/controllers/intpm/Makefile b/sys/modules/i2c/controllers/intpm/Makefile index 73d5254..fbc1fa0 100644 --- a/sys/modules/i2c/controllers/intpm/Makefile +++ b/sys/modules/i2c/controllers/intpm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/intpm +.PATH: ${SRCTOP}/sys/dev/intpm KMOD = intpm SRCS = device_if.h bus_if.h iicbus_if.h smbus_if.h pci_if.h \ opt_intpm.h intpmreg.h intpm.c diff --git a/sys/modules/i2c/controllers/ismt/Makefile b/sys/modules/i2c/controllers/ismt/Makefile index 411bab1..1e9a6a7 100644 --- a/sys/modules/i2c/controllers/ismt/Makefile +++ b/sys/modules/i2c/controllers/ismt/Makefile @@ -1,6 +1,6 @@ #$FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/ismt +.PATH: ${SRCTOP}/sys/dev/ismt KMOD = ismt SRCS = device_if.h bus_if.h iicbb_if.h pci_if.h smbus_if.h \ ismt.c diff --git a/sys/modules/i2c/controllers/lpbb/Makefile b/sys/modules/i2c/controllers/lpbb/Makefile index 77e84d2..10b7e6a 100644 --- a/sys/modules/i2c/controllers/lpbb/Makefile +++ b/sys/modules/i2c/controllers/lpbb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/ppbus +.PATH: ${SRCTOP}/sys/dev/ppbus KMOD = lpbb SRCS = device_if.h bus_if.h iicbb_if.h ppbus_if.h \ lpbb.c diff --git a/sys/modules/i2c/controllers/nfsmb/Makefile b/sys/modules/i2c/controllers/nfsmb/Makefile index bb2a0f2..d5cb3d1 100644 --- a/sys/modules/i2c/controllers/nfsmb/Makefile +++ b/sys/modules/i2c/controllers/nfsmb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/nfsmb +.PATH: ${SRCTOP}/sys/dev/nfsmb KMOD= nfsmb SRCS= nfsmb.c diff --git a/sys/modules/i2c/controllers/pcf/Makefile b/sys/modules/i2c/controllers/pcf/Makefile index 27d9339..94b4b0c 100644 --- a/sys/modules/i2c/controllers/pcf/Makefile +++ b/sys/modules/i2c/controllers/pcf/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/pcf +.PATH: ${SRCTOP}/sys/dev/pcf KMOD= pcf SRCS= ${envctrl} pcf.c ${pcf_ebus} ${pcf_isa} diff --git a/sys/modules/i2c/controllers/viapm/Makefile b/sys/modules/i2c/controllers/viapm/Makefile index f08b053..ab8a356 100644 --- a/sys/modules/i2c/controllers/viapm/Makefile +++ b/sys/modules/i2c/controllers/viapm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/viapm +.PATH: ${SRCTOP}/sys/dev/viapm KMOD = viapm SRCS = device_if.h bus_if.h iicbb_if.h isa_if.h pci_if.h smbus_if.h \ opt_isa.h viapm.c diff --git a/sys/modules/i2c/cyapa/Makefile b/sys/modules/i2c/cyapa/Makefile index eee4a62..0f5b3aa 100644 --- a/sys/modules/i2c/cyapa/Makefile +++ b/sys/modules/i2c/cyapa/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/cyapa +.PATH: ${SRCTOP}/sys/dev/cyapa KMOD = cyapa SRCS = cyapa.c device_if.h bus_if.h iicbus_if.h vnode_if.h diff --git a/sys/modules/i2c/if_ic/Makefile b/sys/modules/i2c/if_ic/Makefile index 67dd734..f928abb 100644 --- a/sys/modules/i2c/if_ic/Makefile +++ b/sys/modules/i2c/if_ic/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/iicbus +.PATH: ${SRCTOP}/sys/dev/iicbus KMOD = if_ic SRCS = device_if.h bus_if.h iicbus_if.h \ if_ic.c diff --git a/sys/modules/i2c/iic/Makefile b/sys/modules/i2c/iic/Makefile index 0ac8678..9de1b4c 100644 --- a/sys/modules/i2c/iic/Makefile +++ b/sys/modules/i2c/iic/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/iicbus +.PATH: ${SRCTOP}/sys/dev/iicbus KMOD = iic SRCS = device_if.h bus_if.h iicbus_if.h \ iic.c diff --git a/sys/modules/i2c/iicbb/Makefile b/sys/modules/i2c/iicbb/Makefile index b226310..0357c9f 100644 --- a/sys/modules/i2c/iicbb/Makefile +++ b/sys/modules/i2c/iicbb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/iicbus +.PATH: ${SRCTOP}/sys/dev/iicbus .if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \ ${MACHINE_CPUARCH} == "mips" || ${MACHINE_CPUARCH} == "powerpc" ofw_bus_if= ofw_bus_if.h diff --git a/sys/modules/i2c/iicbus/Makefile b/sys/modules/i2c/iicbus/Makefile index c3fc8e3..f1e3bd4 100644 --- a/sys/modules/i2c/iicbus/Makefile +++ b/sys/modules/i2c/iicbus/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/iicbus +.PATH: ${SRCTOP}/sys/dev/iicbus KMOD = iicbus SRCS = device_if.h bus_if.h iicbus_if.h iicbus_if.c \ iiconf.h iiconf.c iicbus.h iicbus.c diff --git a/sys/modules/i2c/iicsmb/Makefile b/sys/modules/i2c/iicsmb/Makefile index d0c6764..0e83c86 100644 --- a/sys/modules/i2c/iicsmb/Makefile +++ b/sys/modules/i2c/iicsmb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/iicbus +.PATH: ${SRCTOP}/sys/dev/iicbus KMOD = iicsmb SRCS = device_if.h bus_if.h iicbus_if.h \ smbus_if.h iicsmb.c diff --git a/sys/modules/i2c/isl/Makefile b/sys/modules/i2c/isl/Makefile index 697fdea..0cff6b2 100644 --- a/sys/modules/i2c/isl/Makefile +++ b/sys/modules/i2c/isl/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/isl +.PATH: ${SRCTOP}/sys/dev/isl KMOD = isl SRCS = isl.c device_if.h bus_if.h iicbus_if.h diff --git a/sys/modules/i2c/jedec_ts/Makefile b/sys/modules/i2c/jedec_ts/Makefile index 66e6206..422c255 100644 --- a/sys/modules/i2c/jedec_ts/Makefile +++ b/sys/modules/i2c/jedec_ts/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/jedec_ts +.PATH: ${SRCTOP}/sys/dev/jedec_ts KMOD = jedec_ts SRCS = jedec_ts.c bus_if.h device_if.h smbus_if.h diff --git a/sys/modules/i2c/smb/Makefile b/sys/modules/i2c/smb/Makefile index f6f960c..b9a536d 100644 --- a/sys/modules/i2c/smb/Makefile +++ b/sys/modules/i2c/smb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/smbus +.PATH: ${SRCTOP}/sys/dev/smbus KMOD = smb SRCS = device_if.h bus_if.h smbus_if.h \ smb.c diff --git a/sys/modules/i2c/smbus/Makefile b/sys/modules/i2c/smbus/Makefile index 24462d0..b5e78f2 100644 --- a/sys/modules/i2c/smbus/Makefile +++ b/sys/modules/i2c/smbus/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/smbus +.PATH: ${SRCTOP}/sys/dev/smbus KMOD = smbus SRCS = device_if.h bus_if.h smbus_if.h smbus_if.c \ smbconf.h smbconf.c smbus.h smbus.c diff --git a/sys/modules/ibcore/Makefile b/sys/modules/ibcore/Makefile index 490a11a..1845378 100644 --- a/sys/modules/ibcore/Makefile +++ b/sys/modules/ibcore/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../ofed/drivers/infiniband/core +.PATH: ${SRCTOP}/sys/ofed/drivers/infiniband/core KMOD= ibcore SRCS= addr.c iwcm.c sa_query.c ucma.c uverbs_cmd.c \ @@ -10,9 +10,9 @@ SRCS= addr.c iwcm.c sa_query.c ucma.c uverbs_cmd.c \ vnode_if.h device_if.h bus_if.h pci_if.h \ opt_inet.h opt_inet6.h -CFLAGS+= -I${.CURDIR}/../../ofed/drivers/infiniband/core -CFLAGS+= -I${.CURDIR}/../../ofed/include -CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include +CFLAGS+= -I${SRCTOP}/sys/ofed/drivers/infiniband/core +CFLAGS+= -I${SRCTOP}/sys/ofed/include +CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include CFLAGS+= -DINET6 -DINET .include <bsd.kmod.mk> diff --git a/sys/modules/ibcs2/Makefile b/sys/modules/ibcs2/Makefile index 9407cb4..3041dc2 100644 --- a/sys/modules/ibcs2/Makefile +++ b/sys/modules/ibcs2/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../i386/ibcs2 +.PATH: ${SRCTOP}/sys/i386/ibcs2 KMOD= ibcs2 SRCS= ibcs2_errno.c ibcs2_ipc.c ibcs2_stat.c ibcs2_misc.c \ diff --git a/sys/modules/ichwd/Makefile b/sys/modules/ichwd/Makefile index 21c1430..2767b46 100644 --- a/sys/modules/ichwd/Makefile +++ b/sys/modules/ichwd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ichwd +.PATH: ${SRCTOP}/sys/dev/ichwd KMOD= ichwd SRCS= ichwd.c device_if.h bus_if.h pci_if.h isa_if.h diff --git a/sys/modules/ida/Makefile b/sys/modules/ida/Makefile index e97ac69..ff3391d 100644 --- a/sys/modules/ida/Makefile +++ b/sys/modules/ida/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ida +.PATH: ${SRCTOP}/sys/dev/ida KMOD= ida SRCS= ida.c ida_disk.c ida_pci.c \ diff --git a/sys/modules/if_bridge/Makefile b/sys/modules/if_bridge/Makefile index c4febee..0118728 100644 --- a/sys/modules/if_bridge/Makefile +++ b/sys/modules/if_bridge/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= if_bridge SRCS= if_bridge.c opt_inet.h opt_inet6.h opt_carp.h diff --git a/sys/modules/if_disc/Makefile b/sys/modules/if_disc/Makefile index 7a501f1..4b36b64 100644 --- a/sys/modules/if_disc/Makefile +++ b/sys/modules/if_disc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= if_disc SRCS= if_disc.c opt_inet.h opt_inet6.h diff --git a/sys/modules/if_edsc/Makefile b/sys/modules/if_edsc/Makefile index af2704b..b793289 100644 --- a/sys/modules/if_edsc/Makefile +++ b/sys/modules/if_edsc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= if_edsc SRCS= if_edsc.c diff --git a/sys/modules/if_enc/Makefile b/sys/modules/if_enc/Makefile index 5ecdb9e..badc1b5 100644 --- a/sys/modules/if_enc/Makefile +++ b/sys/modules/if_enc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" .PATH: ${SYSDIR}/net diff --git a/sys/modules/if_epair/Makefile b/sys/modules/if_epair/Makefile index aaffa1f..ee07575 100644 --- a/sys/modules/if_epair/Makefile +++ b/sys/modules/if_epair/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= if_epair SRCS= if_epair.c diff --git a/sys/modules/if_gif/Makefile b/sys/modules/if_gif/Makefile index 4767ea6..5799a35 100644 --- a/sys/modules/if_gif/Makefile +++ b/sys/modules/if_gif/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" .PATH: ${SYSDIR}/net ${SYSDIR}/netinet ${SYSDIR}/netinet6 diff --git a/sys/modules/if_gre/Makefile b/sys/modules/if_gre/Makefile index bb8ed05..5a6ea98 100644 --- a/sys/modules/if_gre/Makefile +++ b/sys/modules/if_gre/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .PATH: ${SYSDIR}/net ${SYSDIR}/netinet ${SYSDIR}/netinet6 .include "${SYSDIR}/conf/kern.opts.mk" diff --git a/sys/modules/if_lagg/Makefile b/sys/modules/if_lagg/Makefile index cdcc892..2bc7170 100644 --- a/sys/modules/if_lagg/Makefile +++ b/sys/modules/if_lagg/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= if_lagg SRCS= if_lagg.c ieee8023ad_lacp.c opt_inet.h opt_inet6.h diff --git a/sys/modules/if_me/Makefile b/sys/modules/if_me/Makefile index 1fa716f..2a6a267 100644 --- a/sys/modules/if_me/Makefile +++ b/sys/modules/if_me/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= if_me SRCS= if_me.c diff --git a/sys/modules/if_ndis/Makefile b/sys/modules/if_ndis/Makefile index 79a9b88..ced1a4f 100644 --- a/sys/modules/if_ndis/Makefile +++ b/sys/modules/if_ndis/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/if_ndis +.PATH: ${SRCTOP}/sys/dev/if_ndis KMOD= if_ndis SRCS= if_ndis.c if_ndis_pci.c if_ndis_pccard.c if_ndis_usb.c diff --git a/sys/modules/if_stf/Makefile b/sys/modules/if_stf/Makefile index 4eb2f01..8ce5033 100644 --- a/sys/modules/if_stf/Makefile +++ b/sys/modules/if_stf/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= if_stf SRCS= if_stf.c diff --git a/sys/modules/if_tap/Makefile b/sys/modules/if_tap/Makefile index af35fdb..854b57a 100644 --- a/sys/modules/if_tap/Makefile +++ b/sys/modules/if_tap/Makefile @@ -2,7 +2,7 @@ # # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= if_tap SRCS= if_tap.c opt_compat.h opt_inet.h vnode_if.h diff --git a/sys/modules/if_tun/Makefile b/sys/modules/if_tun/Makefile index 4226329..ddfc8d3 100644 --- a/sys/modules/if_tun/Makefile +++ b/sys/modules/if_tun/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= if_tun SRCS= if_tun.c opt_inet.h opt_inet6.h diff --git a/sys/modules/if_vlan/Makefile b/sys/modules/if_vlan/Makefile index 9842619..be8e27e 100644 --- a/sys/modules/if_vlan/Makefile +++ b/sys/modules/if_vlan/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= if_vlan SRCS= if_vlan.c diff --git a/sys/modules/if_vxlan/Makefile b/sys/modules/if_vxlan/Makefile index 5d27eb3..5a17a58 100644 --- a/sys/modules/if_vxlan/Makefile +++ b/sys/modules/if_vxlan/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= if_vxlan SRCS= if_vxlan.c diff --git a/sys/modules/iir/Makefile b/sys/modules/iir/Makefile index 591fef8..daccc32 100644 --- a/sys/modules/iir/Makefile +++ b/sys/modules/iir/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ KMOD = iir -.PATH: ${.CURDIR}/../../dev/${KMOD} +.PATH: ${SRCTOP}/sys/dev/${KMOD} SRCS = iir.c iir_ctrl.c iir_pci.c SRCS += opt_scsi.h opt_cam.h SRCS += device_if.h bus_if.h pci_if.h diff --git a/sys/modules/imgact_binmisc/Makefile b/sys/modules/imgact_binmisc/Makefile index 490a8bf..6d8f645 100644 --- a/sys/modules/imgact_binmisc/Makefile +++ b/sys/modules/imgact_binmisc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../kern +.PATH: ${SRCTOP}/sys/kern KMOD= imgact_binmisc SRCS= imgact_binmisc.c diff --git a/sys/modules/intelspi/Makefile b/sys/modules/intelspi/Makefile index b53eca7..b2bceee 100644 --- a/sys/modules/intelspi/Makefile +++ b/sys/modules/intelspi/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/intel +.PATH: ${SRCTOP}/sys/dev/intel KMOD= intelspi SRCS= spi.c SRCS+= acpi_if.h device_if.h bus_if.h opt_acpi.h spibus_if.h diff --git a/sys/modules/io/Makefile b/sys/modules/io/Makefile index 1612fa0e..ae93daa 100644 --- a/sys/modules/io/Makefile +++ b/sys/modules/io/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/io -.PATH: ${.CURDIR}/../../${MACHINE_CPUARCH}/${MACHINE_CPUARCH} +.PATH: ${SRCTOP}/sys/dev/io +.PATH: ${SRCTOP}/sys/${MACHINE_CPUARCH}/${MACHINE_CPUARCH} KMOD= io SRCS= iodev.c io.c diff --git a/sys/modules/ioat/Makefile b/sys/modules/ioat/Makefile index 3e6baad..329f9d9 100644 --- a/sys/modules/ioat/Makefile +++ b/sys/modules/ioat/Makefile @@ -2,7 +2,7 @@ # # $FreeBSD$ -IOAT_SRC_PATH = ${.CURDIR}/../.. +IOAT_SRC_PATH = ${SRCTOP}/sys .PATH: ${IOAT_SRC_PATH}/dev/ioat diff --git a/sys/modules/ip6_mroute_mod/Makefile b/sys/modules/ip6_mroute_mod/Makefile index a0f94f1..6a85b7c 100644 --- a/sys/modules/ip6_mroute_mod/Makefile +++ b/sys/modules/ip6_mroute_mod/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet6 +.PATH: ${SRCTOP}/sys/netinet6 KMOD= ip6_mroute diff --git a/sys/modules/ip_mroute_mod/Makefile b/sys/modules/ip_mroute_mod/Makefile index 1c82717..082d5ed 100644 --- a/sys/modules/ip_mroute_mod/Makefile +++ b/sys/modules/ip_mroute_mod/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet ${.CURDIR}/../../netinet6 +.PATH: ${SRCTOP}/sys/netinet ${SRCTOP}/sys/netinet6 KMOD= ip_mroute diff --git a/sys/modules/ipdivert/Makefile b/sys/modules/ipdivert/Makefile index f67ce4b..463513b 100644 --- a/sys/modules/ipdivert/Makefile +++ b/sys/modules/ipdivert/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet +.PATH: ${SRCTOP}/sys/netinet KMOD= ipdivert SRCS= ip_divert.c opt_inet.h opt_inet6.h opt_sctp.h diff --git a/sys/modules/ipfilter/Makefile b/sys/modules/ipfilter/Makefile index f89588f..d900c55 100644 --- a/sys/modules/ipfilter/Makefile +++ b/sys/modules/ipfilter/Makefile @@ -1,6 +1,6 @@ -# $FreeBSD$ +# $FreeBSD$ -.PATH: ${.CURDIR}/../../contrib/ipfilter/netinet +.PATH: ${SRCTOP}/sys/contrib/ipfilter/netinet KMOD= ipl SRCS= mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \ @@ -9,7 +9,7 @@ SRCS= mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \ ip_nat6.c ip_rules.c ip_scan.c ip_dstlist.c radix_ipf.c SRCS+= opt_bpf.h opt_inet6.h -CFLAGS+= -I${.CURDIR}/../../contrib/ipfilter +CFLAGS+= -I${SRCTOP}/sys/contrib/ipfilter CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG -DIPFILTER_LOOKUP # # If you don't want log functionality remove -DIPFILTER_LOG diff --git a/sys/modules/ipfw/Makefile b/sys/modules/ipfw/Makefile index a8348bd..1b0e79a 100644 --- a/sys/modules/ipfw/Makefile +++ b/sys/modules/ipfw/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netpfil/ipfw +.PATH: ${SRCTOP}/sys/netpfil/ipfw KMOD= ipfw SRCS= ip_fw2.c ip_fw_pfil.c ip_fw_bpf.c diff --git a/sys/modules/ipfw_nat/Makefile b/sys/modules/ipfw_nat/Makefile index e4638a6..37e72c8 100644 --- a/sys/modules/ipfw_nat/Makefile +++ b/sys/modules/ipfw_nat/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netpfil/ipfw +.PATH: ${SRCTOP}/sys/netpfil/ipfw KMOD= ipfw_nat SRCS= ip_fw_nat.c diff --git a/sys/modules/ipfw_nat64/Makefile b/sys/modules/ipfw_nat64/Makefile index c647845..c696f5b 100644 --- a/sys/modules/ipfw_nat64/Makefile +++ b/sys/modules/ipfw_nat64/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netpfil/ipfw/nat64 +.PATH: ${SRCTOP}/sys/netpfil/ipfw/nat64 KMOD= ipfw_nat64 SRCS= ip_fw_nat64.c nat64_translate.c diff --git a/sys/modules/ipfw_nptv6/Makefile b/sys/modules/ipfw_nptv6/Makefile index a3cf004..fb03f6e 100644 --- a/sys/modules/ipfw_nptv6/Makefile +++ b/sys/modules/ipfw_nptv6/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netpfil/ipfw/nptv6 +.PATH: ${SRCTOP}/sys/netpfil/ipfw/nptv6 KMOD= ipfw_nptv6 SRCS= ip_fw_nptv6.c nptv6.c opt_ipfw.h diff --git a/sys/modules/ipmi/Makefile b/sys/modules/ipmi/Makefile index 7493b23..12de006 100644 --- a/sys/modules/ipmi/Makefile +++ b/sys/modules/ipmi/Makefile @@ -2,7 +2,7 @@ SUBDIR+= ipmi_linux -.PATH: ${.CURDIR}/../../dev/ipmi +.PATH: ${SRCTOP}/sys/dev/ipmi # XXX - ipmi_smbus and ipmi_ssif depend on smbus # XXX - ipmi_acpi depends on acpi diff --git a/sys/modules/ipmi/ipmi_linux/Makefile b/sys/modules/ipmi/ipmi_linux/Makefile index bbdef1b..04020cb 100644 --- a/sys/modules/ipmi/ipmi_linux/Makefile +++ b/sys/modules/ipmi/ipmi_linux/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ipmi +.PATH: ${SRCTOP}/sys/dev/ipmi KMOD= ipmi_linux SRCS= ipmi_linux.c diff --git a/sys/modules/ipoib/Makefile b/sys/modules/ipoib/Makefile index a24c616..11751ec 100644 --- a/sys/modules/ipoib/Makefile +++ b/sys/modules/ipoib/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../ofed/drivers/infiniband/ulp/ipoib +.PATH: ${SRCTOP}/sys/ofed/drivers/infiniband/ulp/ipoib KMOD= ipoib SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \ @@ -7,9 +7,9 @@ SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \ ipoib_cm.c ipoib_ib.c ipoib_main.c \ ipoib_multicast.c ipoib_verbs.c -CFLAGS+= -I${.CURDIR}/../../ofed/drivers/infiniband/ulp/ipoib -CFLAGS+= -I${.CURDIR}/../../ofed/include -CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include +CFLAGS+= -I${SRCTOP}/sys/ofed/drivers/infiniband/ulp/ipoib +CFLAGS+= -I${SRCTOP}/sys/ofed/include +CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include .include <bsd.kmod.mk> diff --git a/sys/modules/ips/Makefile b/sys/modules/ips/Makefile index 0be0e2a..0450023 100644 --- a/sys/modules/ips/Makefile +++ b/sys/modules/ips/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ips +.PATH: ${SRCTOP}/sys/dev/ips KMOD = ips SRCS = ips.c ips_pci.c ips.h ips_disk.c ips_disk.h ips_commands.c \ ips_ioctl.h ips_ioctl.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/ipsec/Makefile b/sys/modules/ipsec/Makefile index ed061f3..d3f1811 100644 --- a/sys/modules/ipsec/Makefile +++ b/sys/modules/ipsec/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net ${.CURDIR}/../../netipsec +.PATH: ${SRCTOP}/sys/net ${.CURDIR}/../../netipsec KMOD= ipsec SRCS= if_ipsec.c ipsec.c ipsec_input.c ipsec_mbuf.c ipsec_mod.c \ diff --git a/sys/modules/ipw/Makefile b/sys/modules/ipw/Makefile index 741d852..521a51b 100644 --- a/sys/modules/ipw/Makefile +++ b/sys/modules/ipw/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ipw +.PATH: ${SRCTOP}/sys/dev/ipw KMOD = if_ipw SRCS = if_ipw.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/ipwfw/ipw_bss/Makefile b/sys/modules/ipwfw/ipw_bss/Makefile index 2f57711..7ae96cd 100644 --- a/sys/modules/ipwfw/ipw_bss/Makefile +++ b/sys/modules/ipwfw/ipw_bss/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../contrib/dev/ipw +.PATH: ${SRCTOP}/sys/contrib/dev/ipw KMOD= ipw_bss FIRMWS= ipw_bss:ipw_bss:130 @@ -8,8 +8,8 @@ FIRMWARE_LICENSE= intel_ipw CLEANFILES= ipw_bss -ipw_bss: ${.CURDIR}/../../../contrib/dev/ipw/ipw2100-1.3.fw.uu - uudecode -p ${.CURDIR}/../../../contrib/dev/ipw/ipw2100-1.3.fw.uu > ${.TARGET} +ipw_bss: ipw2100-1.3.fw.uu + uudecode -p ${.ALLSRC} > ${.TARGET} .include <bsd.kmod.mk> diff --git a/sys/modules/ipwfw/ipw_ibss/Makefile b/sys/modules/ipwfw/ipw_ibss/Makefile index 10281b1..3f4d48e 100644 --- a/sys/modules/ipwfw/ipw_ibss/Makefile +++ b/sys/modules/ipwfw/ipw_ibss/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../contrib/dev/ipw +.PATH: ${SRCTOP}/sys/contrib/dev/ipw KMOD= ipw_ibss FIRMWS= ipw_ibss:ipw_ibss:130 @@ -8,8 +8,8 @@ FIRMWARE_LICENSE= intel_ipw CLEANFILES= ipw_ibss -ipw_ibss: ${.CURDIR}/../../../contrib/dev/ipw/ipw2100-1.3-i.fw.uu - uudecode -p ${.CURDIR}/../../../contrib/dev/ipw/ipw2100-1.3-i.fw.uu > ${.TARGET} +ipw_ibss: ipw2100-1.3-i.fw.uu + uudecode -p ${.ALLSRC} > ${.TARGET} .include <bsd.kmod.mk> diff --git a/sys/modules/ipwfw/ipw_monitor/Makefile b/sys/modules/ipwfw/ipw_monitor/Makefile index cdc28b2..1073a7a 100644 --- a/sys/modules/ipwfw/ipw_monitor/Makefile +++ b/sys/modules/ipwfw/ipw_monitor/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../contrib/dev/ipw +.PATH: ${SRCTOP}/sys/contrib/dev/ipw KMOD= ipw_monitor FIRMWS= ipw_monitor:ipw_monitor:130 @@ -8,8 +8,8 @@ FIRMWARE_LICENSE= intel_ipw CLEANFILES= ipw_monitor -ipw_monitor: ${.CURDIR}/../../../contrib/dev/ipw/ipw2100-1.3-p.fw.uu - uudecode -p ${.CURDIR}/../../../contrib/dev/ipw/ipw2100-1.3-p.fw.uu > ${.TARGET} +ipw_monitor: ipw2100-1.3-p.fw.uu + uudecode -p ${.ALLSRC} > ${.TARGET} .include <bsd.kmod.mk> diff --git a/sys/modules/isci/Makefile b/sys/modules/isci/Makefile index 82d4018..9324efe 100644 --- a/sys/modules/isci/Makefile +++ b/sys/modules/isci/Makefile @@ -2,7 +2,7 @@ # # $FreeBSD$ -ISCI_SRC_PATH = ${.CURDIR}/../.. +ISCI_SRC_PATH = ${SRCTOP}/sys .PATH: ${ISCI_SRC_PATH}/dev/isci ${ISCI_SRC_PATH}/dev/isci/scil diff --git a/sys/modules/iscsi/Makefile b/sys/modules/iscsi/Makefile index 33f3cbf..9b150f5 100644 --- a/sys/modules/iscsi/Makefile +++ b/sys/modules/iscsi/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" -.PATH: ${.CURDIR}/../../dev/iscsi/ +.PATH: ${SRCTOP}/sys/dev/iscsi/ KMOD= iscsi SRCS= iscsi.c diff --git a/sys/modules/iscsi_initiator/Makefile b/sys/modules/iscsi_initiator/Makefile index 0ae7aa4..50d543d 100644 --- a/sys/modules/iscsi_initiator/Makefile +++ b/sys/modules/iscsi_initiator/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/iscsi_initiator +.PATH: ${SRCTOP}/sys/dev/iscsi_initiator KMOD=iscsi_initiator SRCS= iscsi.h iscsivar.h diff --git a/sys/modules/iser/Makefile b/sys/modules/iser/Makefile index 2f7955e..bb2fd01 100644 --- a/sys/modules/iser/Makefile +++ b/sys/modules/iser/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/iser/ +.PATH: ${SRCTOP}/sys/dev/iser/ .include <bsd.own.mk> @@ -18,7 +18,7 @@ SRCS+= bus_if.h SRCS+= device_if.h SRCS+= icl_conn_if.h -CFLAGS+= -I${.CURDIR}/../../ +CFLAGS+= -I${SRCTOP}/sys/ CFLAGS+= -I${SYSDIR}/ofed/include CFLAGS+= -I${SYSDIR}/compat/linuxkpi/common/include CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM diff --git a/sys/modules/isp/Makefile b/sys/modules/isp/Makefile index 1caeef6..d59d540 100644 --- a/sys/modules/isp/Makefile +++ b/sys/modules/isp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/isp +.PATH: ${SRCTOP}/sys/dev/isp KMOD= isp SRCS= bus_if.h device_if.h pci_if.h \ diff --git a/sys/modules/ispfw/isp_1000/Makefile b/sys/modules/ispfw/isp_1000/Makefile index ef2189d..602984d 100644 --- a/sys/modules/ispfw/isp_1000/Makefile +++ b/sys/modules/ispfw/isp_1000/Makefile @@ -26,7 +26,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ispfw +.PATH: ${SRCTOP}/sys/dev/ispfw KMOD= isp_1000 SRCS= ispfw.c diff --git a/sys/modules/ispfw/isp_1040/Makefile b/sys/modules/ispfw/isp_1040/Makefile index 4227704..38e8da7 100644 --- a/sys/modules/ispfw/isp_1040/Makefile +++ b/sys/modules/ispfw/isp_1040/Makefile @@ -26,7 +26,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ispfw +.PATH: ${SRCTOP}/sys/dev/ispfw KMOD= isp_1040 SRCS= ispfw.c diff --git a/sys/modules/ispfw/isp_1080/Makefile b/sys/modules/ispfw/isp_1080/Makefile index 0e383bf..f30791f 100644 --- a/sys/modules/ispfw/isp_1080/Makefile +++ b/sys/modules/ispfw/isp_1080/Makefile @@ -26,7 +26,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ispfw +.PATH: ${SRCTOP}/sys/dev/ispfw KMOD= isp_1080 SRCS= ispfw.c diff --git a/sys/modules/ispfw/isp_12160/Makefile b/sys/modules/ispfw/isp_12160/Makefile index 7c28442..a984962 100644 --- a/sys/modules/ispfw/isp_12160/Makefile +++ b/sys/modules/ispfw/isp_12160/Makefile @@ -26,7 +26,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ispfw +.PATH: ${SRCTOP}/sys/dev/ispfw KMOD= isp_12160 SRCS= ispfw.c diff --git a/sys/modules/ispfw/isp_2100/Makefile b/sys/modules/ispfw/isp_2100/Makefile index 178f090..4919d15 100644 --- a/sys/modules/ispfw/isp_2100/Makefile +++ b/sys/modules/ispfw/isp_2100/Makefile @@ -26,7 +26,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ispfw +.PATH: ${SRCTOP}/sys/dev/ispfw KMOD= isp_2100 SRCS= ispfw.c diff --git a/sys/modules/ispfw/isp_2200/Makefile b/sys/modules/ispfw/isp_2200/Makefile index 64a41f1..d36e6eb 100644 --- a/sys/modules/ispfw/isp_2200/Makefile +++ b/sys/modules/ispfw/isp_2200/Makefile @@ -26,7 +26,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ispfw +.PATH: ${SRCTOP}/sys/dev/ispfw KMOD= isp_2200 SRCS= ispfw.c diff --git a/sys/modules/ispfw/isp_2300/Makefile b/sys/modules/ispfw/isp_2300/Makefile index 4acceda..d0f9994 100644 --- a/sys/modules/ispfw/isp_2300/Makefile +++ b/sys/modules/ispfw/isp_2300/Makefile @@ -26,7 +26,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ispfw +.PATH: ${SRCTOP}/sys/dev/ispfw KMOD= isp_2300 SRCS= ispfw.c diff --git a/sys/modules/ispfw/isp_2322/Makefile b/sys/modules/ispfw/isp_2322/Makefile index 3ebb30f..e44f730 100644 --- a/sys/modules/ispfw/isp_2322/Makefile +++ b/sys/modules/ispfw/isp_2322/Makefile @@ -26,7 +26,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ispfw +.PATH: ${SRCTOP}/sys/dev/ispfw KMOD= isp_2322 SRCS= ispfw.c diff --git a/sys/modules/ispfw/isp_2400/Makefile b/sys/modules/ispfw/isp_2400/Makefile index 2655fd0..fdaf959 100644 --- a/sys/modules/ispfw/isp_2400/Makefile +++ b/sys/modules/ispfw/isp_2400/Makefile @@ -26,7 +26,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ispfw +.PATH: ${SRCTOP}/sys/dev/ispfw KMOD= isp_2400 SRCS= ispfw.c diff --git a/sys/modules/ispfw/isp_2500/Makefile b/sys/modules/ispfw/isp_2500/Makefile index 80a2ee3..7067a81 100644 --- a/sys/modules/ispfw/isp_2500/Makefile +++ b/sys/modules/ispfw/isp_2500/Makefile @@ -26,7 +26,7 @@ # -.PATH: ${.CURDIR}/../../../dev/ispfw +.PATH: ${SRCTOP}/sys/dev/ispfw KMOD= isp_2500 SRCS= ispfw.c diff --git a/sys/modules/ispfw/ispfw/Makefile b/sys/modules/ispfw/ispfw/Makefile index f3b8694..464ff85 100644 --- a/sys/modules/ispfw/ispfw/Makefile +++ b/sys/modules/ispfw/ispfw/Makefile @@ -26,7 +26,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ispfw +.PATH: ${SRCTOP}/sys/dev/ispfw KMOD= ispfw SRCS= ispfw.c diff --git a/sys/modules/iwi/Makefile b/sys/modules/iwi/Makefile index 60c6051..a9c31a7 100644 --- a/sys/modules/iwi/Makefile +++ b/sys/modules/iwi/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/iwi +.PATH: ${SRCTOP}/sys/dev/iwi KMOD = if_iwi SRCS = if_iwi.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/iwifw/iwi_bss/Makefile b/sys/modules/iwifw/iwi_bss/Makefile index 5bb7a46..9fdcf4a 100644 --- a/sys/modules/iwifw/iwi_bss/Makefile +++ b/sys/modules/iwifw/iwi_bss/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../contrib/dev/iwi +.PATH: ${SRCTOP}/sys/contrib/dev/iwi KMOD= iwi_bss FIRMWS= iwi_bss:iwi_bss:300 @@ -8,8 +8,8 @@ FIRMWARE_LICENSE= intel_iwi CLEANFILES= iwi_bss -iwi_bss: ${.CURDIR}/../../../contrib/dev/iwi/ipw2200-bss.fw.uu - uudecode -p ${.CURDIR}/../../../contrib/dev/iwi/ipw2200-bss.fw.uu > ${.TARGET} +iwi_bss: ipw2200-bss.fw.uu + uudecode -p ${.ALLSRC} > ${.TARGET} .include <bsd.kmod.mk> diff --git a/sys/modules/iwifw/iwi_ibss/Makefile b/sys/modules/iwifw/iwi_ibss/Makefile index 35d0656..3dfc5f3 100644 --- a/sys/modules/iwifw/iwi_ibss/Makefile +++ b/sys/modules/iwifw/iwi_ibss/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../contrib/dev/iwi +.PATH: ${SRCTOP}/sys/contrib/dev/iwi KMOD= iwi_ibss FIRMWS= iwi_ibss:iwi_ibss:300 @@ -8,8 +8,8 @@ FIRMWARE_LICENSE= intel_iwi CLEANFILES= iwi_fw -iwi_ibss: ${.CURDIR}/../../../contrib/dev/iwi/ipw2200-ibss.fw.uu - uudecode -p ${.CURDIR}/../../../contrib/dev/iwi/ipw2200-ibss.fw.uu > ${.TARGET} +iwi_ibss: ipw2200-ibss.fw.uu + uudecode -p ${.ALLSRC} > ${.TARGET} .include <bsd.kmod.mk> diff --git a/sys/modules/iwifw/iwi_monitor/Makefile b/sys/modules/iwifw/iwi_monitor/Makefile index c05c6f1..5ab5a39 100644 --- a/sys/modules/iwifw/iwi_monitor/Makefile +++ b/sys/modules/iwifw/iwi_monitor/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../contrib/dev/iwi +.PATH: ${SRCTOP}/sys/contrib/dev/iwi KMOD= iwi_monitor FIRMWS= iwi_monitor:iwi_monitor:300 @@ -8,8 +8,7 @@ FIRMWARE_LICENSE= intel_iwi CLEANFILES= iwi_monitor -iwi_monitor: ${.CURDIR}/../../../contrib/dev/iwi/ipw2200-sniffer.fw.uu - uudecode -p ${.CURDIR}/../../../contrib/dev/iwi/ipw2200-sniffer.fw.uu > ${.TARGET} +iwi_monitor: ipw2200-sniffer.fw.uu + uudecode -p ${.ALLSRC} > ${.TARGET} .include <bsd.kmod.mk> - diff --git a/sys/modules/iwm/Makefile b/sys/modules/iwm/Makefile index aa7fc62..9b1611b 100644 --- a/sys/modules/iwm/Makefile +++ b/sys/modules/iwm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/iwm +.PATH: ${SRCTOP}/sys/dev/iwm KMOD= if_iwm # Main driver diff --git a/sys/modules/iwmfw/Makefile.inc b/sys/modules/iwmfw/Makefile.inc index 5f4aa37..eaa0e32 100644 --- a/sys/modules/iwmfw/Makefile.inc +++ b/sys/modules/iwmfw/Makefile.inc @@ -14,5 +14,5 @@ FIRMWS= ${_FIRM}:${KMOD} # #FIRMWARE_LICENSE= -${_FIRM}: ${.CURDIR}/../../../contrib/dev/iwm/${_FIRM}.uu +${_FIRM}: ${SRCTOP}/sys/contrib/dev/iwm/${_FIRM}.uu uudecode -p $? > ${.TARGET} diff --git a/sys/modules/iwn/Makefile b/sys/modules/iwn/Makefile index e4f2c3e..102c64b 100644 --- a/sys/modules/iwn/Makefile +++ b/sys/modules/iwn/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/iwn +.PATH: ${SRCTOP}/sys/dev/iwn KMOD = if_iwn SRCS = if_iwn.c device_if.h bus_if.h pci_if.h opt_iwn.h opt_wlan.h diff --git a/sys/modules/iwnfw/Makefile.inc b/sys/modules/iwnfw/Makefile.inc index 10ac9e1..17d1127 100644 --- a/sys/modules/iwnfw/Makefile.inc +++ b/sys/modules/iwnfw/Makefile.inc @@ -14,5 +14,5 @@ FIRMWS= ${_FIRM}:${KMOD} # #FIRMWARE_LICENSE= -${_FIRM}: ${.CURDIR}/../../../contrib/dev/iwn/${_FIRM}.uu +${_FIRM}: ${SRCTOP}/sys/contrib/dev/iwn/${_FIRM}.uu uudecode -p $? > ${.TARGET} diff --git a/sys/modules/ix/Makefile b/sys/modules/ix/Makefile index 8747bac..0da7294 100644 --- a/sys/modules/ix/Makefile +++ b/sys/modules/ix/Makefile @@ -1,6 +1,6 @@ #$FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ixgbe +.PATH: ${SRCTOP}/sys/dev/ixgbe KMOD = if_ix SRCS = device_if.h bus_if.h pci_if.h pci_iov_if.h @@ -10,6 +10,6 @@ SRCS += if_ix.c ix_txrx.c ixgbe_osdep.c SRCS += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c SRCS += ixgbe_dcb.c ixgbe_dcb_82598.c ixgbe_dcb_82599.c SRCS += ixgbe_82598.c ixgbe_82599.c ixgbe_x540.c ixgbe_x550.c -CFLAGS+= -I${.CURDIR}/../../dev/ixgbe -DSMP +CFLAGS+= -I${SRCTOP}/sys/dev/ixgbe -DSMP .include <bsd.kmod.mk> diff --git a/sys/modules/ixgb/Makefile b/sys/modules/ixgb/Makefile index 16e5975..31877a9 100644 --- a/sys/modules/ixgb/Makefile +++ b/sys/modules/ixgb/Makefile @@ -1,6 +1,6 @@ #$FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ixgb +.PATH: ${SRCTOP}/sys/dev/ixgb KMOD= if_ixgb SRCS= if_ixgb.c ixgb_hw.c ixgb_ee.c diff --git a/sys/modules/ixl/Makefile b/sys/modules/ixl/Makefile index a6b01f1..daacaec 100644 --- a/sys/modules/ixl/Makefile +++ b/sys/modules/ixl/Makefile @@ -1,6 +1,6 @@ #$FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ixl +.PATH: ${SRCTOP}/sys/dev/ixl KMOD = if_ixl SRCS = device_if.h bus_if.h pci_if.h pci_iov_if.h diff --git a/sys/modules/ixlv/Makefile b/sys/modules/ixlv/Makefile index b79d8cc..46f112a 100644 --- a/sys/modules/ixlv/Makefile +++ b/sys/modules/ixlv/Makefile @@ -1,6 +1,6 @@ #$FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ixl +.PATH: ${SRCTOP}/sys/dev/ixl KMOD = if_ixlv SRCS = device_if.h bus_if.h pci_if.h diff --git a/sys/modules/ixv/Makefile b/sys/modules/ixv/Makefile index 66ea129..814efa2 100644 --- a/sys/modules/ixv/Makefile +++ b/sys/modules/ixv/Makefile @@ -1,6 +1,6 @@ #$FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ixgbe +.PATH: ${SRCTOP}/sys/dev/ixgbe KMOD = if_ixv SRCS = device_if.h bus_if.h pci_if.h pci_iov_if.h @@ -10,6 +10,6 @@ SRCS += if_ixv.c ix_txrx.c ixgbe_osdep.c SRCS += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c SRCS += ixgbe_dcb.c ixgbe_dcb_82598.c ixgbe_dcb_82599.c SRCS += ixgbe_82598.c ixgbe_82599.c ixgbe_x540.c ixgbe_x550.c -CFLAGS+= -I${.CURDIR}/../../dev/ixgbe -DSMP +CFLAGS+= -I${SRCTOP}/sys/dev/ixgbe -DSMP .include <bsd.kmod.mk> diff --git a/sys/modules/jme/Makefile b/sys/modules/jme/Makefile index 5c41523..5a22ee1 100644 --- a/sys/modules/jme/Makefile +++ b/sys/modules/jme/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/jme +.PATH: ${SRCTOP}/sys/dev/jme KMOD= if_jme SRCS= if_jme.c device_if.h bus_if.h pci_if.h miibus_if.h diff --git a/sys/modules/joy/Makefile b/sys/modules/joy/Makefile index 826ea6f..ecd4f18 100644 --- a/sys/modules/joy/Makefile +++ b/sys/modules/joy/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/joy +.PATH: ${SRCTOP}/sys/dev/joy KMOD= joy SRCS= bus_if.h device_if.h isa_if.h joy.c joy_isa.c diff --git a/sys/modules/kbdmux/Makefile b/sys/modules/kbdmux/Makefile index 03feb8f..079a779 100644 --- a/sys/modules/kbdmux/Makefile +++ b/sys/modules/kbdmux/Makefile @@ -1,7 +1,7 @@ # $Id: Makefile,v 1.1 2005/06/23 00:30:50 max Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/kbdmux +.PATH: ${SRCTOP}/sys/dev/kbdmux KMOD= kbdmux SRCS= kbdmux.c opt_compat.h opt_evdev.h opt_kbd.h opt_kbdmux.h bus_if.h \ diff --git a/sys/modules/kgssapi/Makefile b/sys/modules/kgssapi/Makefile index c2c8e13..a720cdd 100644 --- a/sys/modules/kgssapi/Makefile +++ b/sys/modules/kgssapi/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../kgssapi ${.CURDIR}/../../rpc/rpcsec_gss +.PATH: ${SRCTOP}/sys/kgssapi ${SRCTOP}/sys/rpc/rpcsec_gss KMOD= kgssapi SRCS= gss_accept_sec_context.c \ @@ -40,7 +40,7 @@ SRCS+= kgss_if.h kgss_if.c SRCS+= gssd.h gssd_xdr.c gssd_clnt.c CLEANFILES= gssd.h gssd_xdr.c gssd_clnt.c -S= ${.CURDIR}/../.. +S= ${SRCTOP}/sys gssd.h: $S/kgssapi/gssd.x RPCGEN_CPP=${CPP:Q} rpcgen -hM $S/kgssapi/gssd.x | grep -v pthread.h > gssd.h diff --git a/sys/modules/kgssapi_krb5/Makefile b/sys/modules/kgssapi_krb5/Makefile index dfa4b99..3eb2465 100644 --- a/sys/modules/kgssapi_krb5/Makefile +++ b/sys/modules/kgssapi_krb5/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../kgssapi/krb5 +.PATH: ${SRCTOP}/sys/kgssapi/krb5 KMOD= kgssapi_krb5 SRCS= krb5_mech.c \ @@ -14,7 +14,7 @@ SRCS= krb5_mech.c \ SRCS+= kgss_if.h gssd.h CLEANFILES= gssd.h -S= ${.CURDIR}/../.. +S= ${SRCTOP}/sys gssd.h: $S/kgssapi/gssd.x RPCGEN_CPP=${CPP:Q} rpcgen -hM $S/kgssapi/gssd.x | grep -v pthread.h > gssd.h diff --git a/sys/modules/khelp/h_ertt/Makefile b/sys/modules/khelp/h_ertt/Makefile index 956d419..fa58264 100644 --- a/sys/modules/khelp/h_ertt/Makefile +++ b/sys/modules/khelp/h_ertt/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../netinet/khelp +.PATH: ${SRCTOP}/sys/netinet/khelp KMOD= h_ertt SRCS= h_ertt.c diff --git a/sys/modules/krpc/Makefile b/sys/modules/krpc/Makefile index 0f4b536..e66130f 100644 --- a/sys/modules/krpc/Makefile +++ b/sys/modules/krpc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../rpc ${.CURDIR}/../../xdr +.PATH: ${SRCTOP}/sys/rpc ${SRCTOP}/sys/xdr KMOD= krpc SRCS= auth_none.c \ auth_unix.c \ diff --git a/sys/modules/ksyms/Makefile b/sys/modules/ksyms/Makefile index e5480b8..48deeed 100644 --- a/sys/modules/ksyms/Makefile +++ b/sys/modules/ksyms/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ksyms +.PATH: ${SRCTOP}/sys/dev/ksyms KMOD= ksyms SRCS= ksyms.c linker_if.h diff --git a/sys/modules/le/Makefile b/sys/modules/le/Makefile index d267cbe..4a169db 100644 --- a/sys/modules/le/Makefile +++ b/sys/modules/le/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/le +.PATH: ${SRCTOP}/sys/dev/le KMOD= if_le SRCS= am7990.c am79900.c ${if_le_cbus} ${if_le_isa} ${if_le_lebuffer} diff --git a/sys/modules/lge/Makefile b/sys/modules/lge/Makefile index 810e220..38dbfa5 100644 --- a/sys/modules/lge/Makefile +++ b/sys/modules/lge/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/lge +.PATH: ${SRCTOP}/sys/dev/lge KMOD= if_lge SRCS= if_lge.c miibus_if.h device_if.h bus_if.h pci_if.h diff --git a/sys/modules/libalias/libalias/Makefile b/sys/modules/libalias/libalias/Makefile index d1030c8..655e67b 100644 --- a/sys/modules/libalias/libalias/Makefile +++ b/sys/modules/libalias/libalias/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../netinet/libalias +.PATH: ${SRCTOP}/sys/netinet/libalias KMOD= libalias SRCS= alias.c alias_db.c alias_proxy.c alias_util.c alias_mod.c alias_sctp.c diff --git a/sys/modules/libalias/modules/Makefile.inc b/sys/modules/libalias/modules/Makefile.inc index 78391c5..d130288 100644 --- a/sys/modules/libalias/modules/Makefile.inc +++ b/sys/modules/libalias/modules/Makefile.inc @@ -1,3 +1,3 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../netinet/libalias +.PATH: ${SRCTOP}/sys/netinet/libalias diff --git a/sys/modules/libiconv/Makefile b/sys/modules/libiconv/Makefile index dd14046..c1033b0 100644 --- a/sys/modules/libiconv/Makefile +++ b/sys/modules/libiconv/Makefile @@ -1,10 +1,10 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../libkern ${.CURDIR}/../../sys +.PATH: ${SRCTOP}/sys/libkern ${SRCTOP}/sys/sys KMOD= libiconv SRCS= iconv.c iconv_ucs.c iconv_xlat.c iconv_xlat16.c -SRCS+= iconv.h +SRCS+= iconv.h SRCS+= iconv_converter_if.c iconv_converter_if.h EXPORT_SYMS= iconv_add \ diff --git a/sys/modules/libmbpool/Makefile b/sys/modules/libmbpool/Makefile index efd15ec..2b694be 100644 --- a/sys/modules/libmbpool/Makefile +++ b/sys/modules/libmbpool/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../kern +.PATH: ${SRCTOP}/sys/kern KMOD= libmbpool SRCS= subr_mbpool.c diff --git a/sys/modules/libmchain/Makefile b/sys/modules/libmchain/Makefile index b8ab48e..f702c14 100644 --- a/sys/modules/libmchain/Makefile +++ b/sys/modules/libmchain/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../kern +.PATH: ${SRCTOP}/sys/kern KMOD= libmchain SRCS= subr_mchain.c diff --git a/sys/modules/linprocfs/Makefile b/sys/modules/linprocfs/Makefile index 979429f..6408a98 100644 --- a/sys/modules/linprocfs/Makefile +++ b/sys/modules/linprocfs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../compat/linprocfs +.PATH: ${SRCTOP}/sys/compat/linprocfs KMOD= linprocfs SRCS= vnode_if.h \ diff --git a/sys/modules/linsysfs/Makefile b/sys/modules/linsysfs/Makefile index 13230ff..6eaa844 100644 --- a/sys/modules/linsysfs/Makefile +++ b/sys/modules/linsysfs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../compat/linsysfs +.PATH: ${SRCTOP}/sys/compat/linsysfs KMOD= linsysfs SRCS= vnode_if.h \ diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index d37fcf5..00d1de7 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -5,7 +5,7 @@ SFX= 32 CFLAGS+=-DCOMPAT_FREEBSD32 -DCOMPAT_LINUX32 .endif -.PATH: ${.CURDIR}/../../compat/linux ${.CURDIR}/../../${MACHINE_CPUARCH}/linux${SFX} +.PATH: ${SRCTOP}/sys/compat/linux ${SRCTOP}/sys/${MACHINE_CPUARCH}/linux${SFX} VDSO= linux${SFX}_vdso @@ -52,7 +52,7 @@ linux${SFX}_locore.o: linux${SFX}_assym.h assym.s ${CC} -x assembler-with-cpp -DLOCORE -m32 -shared -s \ -pipe -I. -I${SYSDIR} -Werror -Wall -fno-common -nostdinc -nostdlib \ -fno-omit-frame-pointer -fPIC \ - -Wl,-T${.CURDIR}/../../${MACHINE_CPUARCH}/linux${SFX}/${VDSO}.lds.s \ + -Wl,-T${SRCTOP}/sys/${MACHINE_CPUARCH}/linux${SFX}/${VDSO}.lds.s \ -Wl,-soname=${VDSO}.so.1,--eh-frame-hdr,-warn-common \ ${.IMPSRC} -o ${.TARGET} diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile index a5c8723..ac40344 100644 --- a/sys/modules/linux64/Makefile +++ b/sys/modules/linux64/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../compat/linux ${.CURDIR}/../../${MACHINE_ARCH}/linux +.PATH: ${SRCTOP}/sys/compat/linux ${SRCTOP}/sys/${MACHINE_ARCH}/linux VDSO= linux_vdso @@ -31,7 +31,7 @@ linux_assym.h: linux_genassym.o linux_locore.o: linux_locore.s linux_assym.h ${CC} -x assembler-with-cpp -DLOCORE -shared -mcmodel=small \ -pipe -I. -I${SYSDIR} -Werror -Wall -fno-common -fPIC -nostdinc \ - -Wl,-T${.CURDIR}/../../${MACHINE_CPUARCH}/linux/${VDSO}.lds.s \ + -Wl,-T${SRCTOP}/sys/${MACHINE_CPUARCH}/linux/${VDSO}.lds.s \ -Wl,-soname=${VDSO}.so.1,-warn-common -nostdlib \ ${.IMPSRC} -o ${.TARGET} diff --git a/sys/modules/linux_common/Makefile b/sys/modules/linux_common/Makefile index 2301796..8e08b39 100644 --- a/sys/modules/linux_common/Makefile +++ b/sys/modules/linux_common/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../compat/linux +.PATH: ${SRCTOP}/sys/compat/linux KMOD= linux_common SRCS= linux_common.c linux_mib.c linux_mmap.c linux_util.c linux_emul.c \ diff --git a/sys/modules/linuxkpi/Makefile b/sys/modules/linuxkpi/Makefile index bcfb03a..7288448 100644 --- a/sys/modules/linuxkpi/Makefile +++ b/sys/modules/linuxkpi/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../compat/linuxkpi/common/src +.PATH: ${SRCTOP}/sys/compat/linuxkpi/common/src KMOD= linuxkpi SRCS= linux_kmod.c \ @@ -16,6 +16,6 @@ SRCS+= bus_if.h \ usb_if.h \ opt_usb.h -CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include +CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include .include <bsd.kmod.mk> diff --git a/sys/modules/lmc/Makefile b/sys/modules/lmc/Makefile index 66fc0e6..e507674 100644 --- a/sys/modules/lmc/Makefile +++ b/sys/modules/lmc/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ KMOD = if_lmc -.PATH: ${.CURDIR}/../../dev/lmc +.PATH: ${SRCTOP}/sys/dev/lmc SRCS = if_lmc.c if_lmc.h SRCS += device_if.h bus_if.h pci_if.h diff --git a/sys/modules/lpt/Makefile b/sys/modules/lpt/Makefile index b57960d..05425bb 100644 --- a/sys/modules/lpt/Makefile +++ b/sys/modules/lpt/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ppbus +.PATH: ${SRCTOP}/sys/dev/ppbus KMOD= lpt SRCS= bus_if.h device_if.h ppbus_if.h \ opt_lpt.h \ diff --git a/sys/modules/mac_biba/Makefile b/sys/modules/mac_biba/Makefile index 76ae8e8..0093ef6 100644 --- a/sys/modules/mac_biba/Makefile +++ b/sys/modules/mac_biba/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../security/mac_biba +.PATH: ${SRCTOP}/sys/security/mac_biba KMOD= mac_biba SRCS= vnode_if.h \ diff --git a/sys/modules/mac_bsdextended/Makefile b/sys/modules/mac_bsdextended/Makefile index 683e1b0..32899e9 100644 --- a/sys/modules/mac_bsdextended/Makefile +++ b/sys/modules/mac_bsdextended/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../security/mac_bsdextended +.PATH: ${SRCTOP}/sys/security/mac_bsdextended KMOD= mac_bsdextended SRCS= vnode_if.h \ diff --git a/sys/modules/mac_ifoff/Makefile b/sys/modules/mac_ifoff/Makefile index fc1a600..9d79eb0 100644 --- a/sys/modules/mac_ifoff/Makefile +++ b/sys/modules/mac_ifoff/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../security/mac_ifoff +.PATH: ${SRCTOP}/sys/security/mac_ifoff KMOD= mac_ifoff SRCS= vnode_if.h \ diff --git a/sys/modules/mac_lomac/Makefile b/sys/modules/mac_lomac/Makefile index 333109b..abc79f5 100644 --- a/sys/modules/mac_lomac/Makefile +++ b/sys/modules/mac_lomac/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../security/mac_lomac +.PATH: ${SRCTOP}/sys/security/mac_lomac KMOD= mac_lomac SRCS= vnode_if.h \ diff --git a/sys/modules/mac_mls/Makefile b/sys/modules/mac_mls/Makefile index d4aa5ce..39e066a 100644 --- a/sys/modules/mac_mls/Makefile +++ b/sys/modules/mac_mls/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../security/mac_mls +.PATH: ${SRCTOP}/sys/security/mac_mls KMOD= mac_mls SRCS= vnode_if.h \ diff --git a/sys/modules/mac_none/Makefile b/sys/modules/mac_none/Makefile index b180f71..d86792f 100644 --- a/sys/modules/mac_none/Makefile +++ b/sys/modules/mac_none/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../security/mac_none +.PATH: ${SRCTOP}/sys/security/mac_none KMOD= mac_none SRCS= vnode_if.h \ diff --git a/sys/modules/mac_partition/Makefile b/sys/modules/mac_partition/Makefile index b04d181..be7c27e 100644 --- a/sys/modules/mac_partition/Makefile +++ b/sys/modules/mac_partition/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../security/mac_partition +.PATH: ${SRCTOP}/sys/security/mac_partition KMOD= mac_partition SRCS= vnode_if.h \ diff --git a/sys/modules/mac_portacl/Makefile b/sys/modules/mac_portacl/Makefile index f9bbe23..7bac072 100644 --- a/sys/modules/mac_portacl/Makefile +++ b/sys/modules/mac_portacl/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../security/mac_portacl +.PATH: ${SRCTOP}/sys/security/mac_portacl KMOD= mac_portacl SRCS= mac_portacl.c diff --git a/sys/modules/mac_seeotheruids/Makefile b/sys/modules/mac_seeotheruids/Makefile index d27aefb..d2f6d20 100644 --- a/sys/modules/mac_seeotheruids/Makefile +++ b/sys/modules/mac_seeotheruids/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../security/mac_seeotheruids +.PATH: ${SRCTOP}/sys/security/mac_seeotheruids KMOD= mac_seeotheruids SRCS= vnode_if.h \ diff --git a/sys/modules/mac_stub/Makefile b/sys/modules/mac_stub/Makefile index 3b98cb0..4312186 100644 --- a/sys/modules/mac_stub/Makefile +++ b/sys/modules/mac_stub/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../security/mac_stub +.PATH: ${SRCTOP}/sys/security/mac_stub KMOD= mac_stub SRCS= vnode_if.h \ diff --git a/sys/modules/mac_test/Makefile b/sys/modules/mac_test/Makefile index 94b5aa8..7eabaea 100644 --- a/sys/modules/mac_test/Makefile +++ b/sys/modules/mac_test/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../security/mac_test +.PATH: ${SRCTOP}/sys/security/mac_test KMOD= mac_test SRCS= vnode_if.h \ diff --git a/sys/modules/malo/Makefile b/sys/modules/malo/Makefile index 7886102..6173fc5 100644 --- a/sys/modules/malo/Makefile +++ b/sys/modules/malo/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/malo +.PATH: ${SRCTOP}/sys/dev/malo KMOD = if_malo SRCS = if_malo.c if_malohal.c if_malo_pci.c diff --git a/sys/modules/md/Makefile b/sys/modules/md/Makefile index db2cd67..925798b 100644 --- a/sys/modules/md/Makefile +++ b/sys/modules/md/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/md +.PATH: ${SRCTOP}/sys/dev/md KMOD= geom_md SRCS= md.c opt_md.h opt_geom.h opt_rootdevname.h vnode_if.h diff --git a/sys/modules/mdio/Makefile b/sys/modules/mdio/Makefile index 0d7ed59..fb388e2 100644 --- a/sys/modules/mdio/Makefile +++ b/sys/modules/mdio/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mdio +.PATH: ${SRCTOP}/sys/dev/mdio KMOD= mdio SRCS= mdio.c diff --git a/sys/modules/mem/Makefile b/sys/modules/mem/Makefile index 0e47a28..b31cb73 100644 --- a/sys/modules/mem/Makefile +++ b/sys/modules/mem/Makefile @@ -1,10 +1,10 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mem -.PATH: ${.CURDIR}/../../${MACHINE}/${MACHINE} -.PATH: ${.CURDIR}/../../${MACHINE_CPUARCH}/${MACHINE_CPUARCH} +.PATH: ${SRCTOP}/sys/dev/mem +.PATH: ${SRCTOP}/sys/${MACHINE}/${MACHINE} +.PATH: ${SRCTOP}/sys/${MACHINE_CPUARCH}/${MACHINE_CPUARCH} .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" -.PATH: ${.CURDIR}/../../x86/x86 +.PATH: ${SRCTOP}/sys/x86/x86 .endif KMOD= mem diff --git a/sys/modules/mfi/Makefile b/sys/modules/mfi/Makefile index 71e68c6..cfe4aee 100644 --- a/sys/modules/mfi/Makefile +++ b/sys/modules/mfi/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mfi +.PATH: ${SRCTOP}/sys/dev/mfi SUBDIR= mfip diff --git a/sys/modules/mfi/mfi_linux/Makefile b/sys/modules/mfi/mfi_linux/Makefile index 05d0745..cbc9a97 100644 --- a/sys/modules/mfi/mfi_linux/Makefile +++ b/sys/modules/mfi/mfi_linux/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/mfi +.PATH: ${SRCTOP}/sys/dev/mfi KMOD= mfi_linux SRCS= mfi_linux.c diff --git a/sys/modules/mfi/mfip/Makefile b/sys/modules/mfi/mfip/Makefile index 2a97d70..13b6b19 100644 --- a/sys/modules/mfi/mfip/Makefile +++ b/sys/modules/mfi/mfip/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/mfi +.PATH: ${SRCTOP}/sys/dev/mfi KMOD= mfip SRCS= mfi_cam.c diff --git a/sys/modules/mii/Makefile b/sys/modules/mii/Makefile index e24a961..51b4f05 100644 --- a/sys/modules/mii/Makefile +++ b/sys/modules/mii/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mii +.PATH: ${SRCTOP}/sys/dev/mii KMOD= miibus SRCS= acphy.c amphy.c atphy.c axphy.c bmtphy.c brgphy.c bus_if.h diff --git a/sys/modules/mlx/Makefile b/sys/modules/mlx/Makefile index ba0951a..5d6fea3b9 100644 --- a/sys/modules/mlx/Makefile +++ b/sys/modules/mlx/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mlx +.PATH: ${SRCTOP}/sys/dev/mlx KMOD= mlx SRCS= mlx.c mlx_pci.c mlx_disk.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/mlx4/Makefile b/sys/modules/mlx4/Makefile index 0aed17d..ad0bcd2 100644 --- a/sys/modules/mlx4/Makefile +++ b/sys/modules/mlx4/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../ofed/drivers/net/mlx4 +.PATH: ${SRCTOP}/sys/ofed/drivers/net/mlx4 KMOD= mlx4 SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \ @@ -9,9 +9,9 @@ SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \ pd.c port.c profile.c qp.c reset.c sense.c \ srq.c resource_tracker.c sys_tune.c -CFLAGS+= -I${.CURDIR}/../../ofed/drivers/net/mlx4 -CFLAGS+= -I${.CURDIR}/../../ofed/include -CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include +CFLAGS+= -I${SRCTOP}/sys/ofed/drivers/net/mlx4 +CFLAGS+= -I${SRCTOP}/sys/ofed/include +CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include .include <bsd.kmod.mk> diff --git a/sys/modules/mlx4ib/Makefile b/sys/modules/mlx4ib/Makefile index 4885bf7..8ca2cf0 100644 --- a/sys/modules/mlx4ib/Makefile +++ b/sys/modules/mlx4ib/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../ofed/drivers/infiniband/hw/mlx4 +.PATH: ${SRCTOP}/sys/ofed/drivers/infiniband/hw/mlx4 KMOD= mlx4ib SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \ @@ -8,9 +8,9 @@ SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \ mlx4_exp.c \ doorbell.c mad.c main.c mr.c qp.c srq.c wc.c cm.c -CFLAGS+= -I${.CURDIR}/../../ofed/drivers/infiniband/hw/mlx4 -CFLAGS+= -I${.CURDIR}/../../ofed/include -CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include +CFLAGS+= -I${SRCTOP}/sys/ofed/drivers/infiniband/hw/mlx4 +CFLAGS+= -I${SRCTOP}/sys/ofed/include +CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include CFLAGS+= -DCONFIG_INFINIBAND_USER_MEM CFLAGS+= -DINET6 -DINET diff --git a/sys/modules/mlx5/Makefile b/sys/modules/mlx5/Makefile index 2018e42..fd68918 100644 --- a/sys/modules/mlx5/Makefile +++ b/sys/modules/mlx5/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mlx5/mlx5_core +.PATH: ${SRCTOP}/sys/dev/mlx5/mlx5_core KMOD=mlx5 SRCS= \ @@ -27,8 +27,8 @@ mlx5_wq.c \ device_if.h bus_if.h vnode_if.h pci_if.h \ opt_inet.h opt_inet6.h opt_rss.h -CFLAGS+= -I${.CURDIR}/../../ofed/include -CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include +CFLAGS+= -I${SRCTOP}/sys/ofed/include +CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include .include <bsd.kmod.mk> diff --git a/sys/modules/mlx5en/Makefile b/sys/modules/mlx5en/Makefile index a3f6d6b..c154f77 100644 --- a/sys/modules/mlx5en/Makefile +++ b/sys/modules/mlx5en/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mlx5/mlx5_en +.PATH: ${SRCTOP}/sys/dev/mlx5/mlx5_en KMOD=mlx5en SRCS= \ @@ -20,8 +20,8 @@ CFLAGS+= -DHAVE_PER_CQ_EVENT_PACKET CFLAGS+= -DHAVE_TCP_LRO_RX .endif -CFLAGS+= -I${.CURDIR}/../../ofed/include -CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include +CFLAGS+= -I${SRCTOP}/sys/ofed/include +CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include .include <bsd.kmod.mk> diff --git a/sys/modules/mly/Makefile b/sys/modules/mly/Makefile index e8773de..5f7f313 100644 --- a/sys/modules/mly/Makefile +++ b/sys/modules/mly/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mly +.PATH: ${SRCTOP}/sys/dev/mly KMOD= mly SRCS= mly.c diff --git a/sys/modules/mmc/Makefile b/sys/modules/mmc/Makefile index 507b45e..3fee6e6 100644 --- a/sys/modules/mmc/Makefile +++ b/sys/modules/mmc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mmc +.PATH: ${SRCTOP}/sys/dev/mmc KMOD= mmc SRCS= bus_if.h device_if.h mmc_subr.c mmc.c mmcbr_if.h mmcbus_if.h diff --git a/sys/modules/mmcsd/Makefile b/sys/modules/mmcsd/Makefile index 30ce37d..4294c59 100644 --- a/sys/modules/mmcsd/Makefile +++ b/sys/modules/mmcsd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mmc +.PATH: ${SRCTOP}/sys/dev/mmc KMOD= mmcsd SRCS= bus_if.h device_if.h mmcbr_if.h mmcbus_if.h mmcsd.c diff --git a/sys/modules/mpr/Makefile b/sys/modules/mpr/Makefile index 426c202..89c1e83 100644 --- a/sys/modules/mpr/Makefile +++ b/sys/modules/mpr/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mpr +.PATH: ${SRCTOP}/sys/dev/mpr KMOD= mpr SRCS= mpr_pci.c mpr.c mpr_sas.c mpr_table.c mpr_user.c diff --git a/sys/modules/mps/Makefile b/sys/modules/mps/Makefile index bd9a524..4ac01df 100644 --- a/sys/modules/mps/Makefile +++ b/sys/modules/mps/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mps +.PATH: ${SRCTOP}/sys/dev/mps KMOD= mps SRCS= mps_pci.c mps.c mps_sas.c mps_table.c mps_user.c diff --git a/sys/modules/mpt/Makefile b/sys/modules/mpt/Makefile index 03bae4c..f07c95f 100644 --- a/sys/modules/mpt/Makefile +++ b/sys/modules/mpt/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mpt +.PATH: ${SRCTOP}/sys/dev/mpt KMOD= mpt SRCS= bus_if.h device_if.h pci_if.h \ diff --git a/sys/modules/mqueue/Makefile b/sys/modules/mqueue/Makefile index f86c78b..9c8bd6d 100644 --- a/sys/modules/mqueue/Makefile +++ b/sys/modules/mqueue/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../kern +.PATH: ${SRCTOP}/sys/kern KMOD= mqueuefs SRCS= uipc_mqueue.c \ diff --git a/sys/modules/mrsas/Makefile b/sys/modules/mrsas/Makefile index 02bb520..8d8695b 100644 --- a/sys/modules/mrsas/Makefile +++ b/sys/modules/mrsas/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ KMOD=mrsas -.PATH: ${.CURDIR}/../../dev/${KMOD} +.PATH: ${SRCTOP}/sys/dev/${KMOD} .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" SUBDIR+= mrsas_linux diff --git a/sys/modules/mrsas/mrsas_linux/Makefile b/sys/modules/mrsas/mrsas_linux/Makefile index 3563892..5bf79b2 100644 --- a/sys/modules/mrsas/mrsas_linux/Makefile +++ b/sys/modules/mrsas/mrsas_linux/Makefile @@ -1,7 +1,7 @@ # Makefile for mrsas driver # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/mrsas +.PATH: ${SRCTOP}/sys/dev/mrsas KMOD= mrsas_linux SRCS= mrsas_linux.c diff --git a/sys/modules/msdosfs/Makefile b/sys/modules/msdosfs/Makefile index a0fe95f..0ba4e47 100644 --- a/sys/modules/msdosfs/Makefile +++ b/sys/modules/msdosfs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/msdosfs +.PATH: ${SRCTOP}/sys/fs/msdosfs KMOD= msdosfs SRCS= vnode_if.h \ diff --git a/sys/modules/msdosfs_iconv/Makefile b/sys/modules/msdosfs_iconv/Makefile index 8d2e41d..add9227 100644 --- a/sys/modules/msdosfs_iconv/Makefile +++ b/sys/modules/msdosfs_iconv/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/msdosfs +.PATH: ${SRCTOP}/sys/fs/msdosfs KMOD= msdosfs_iconv SRCS= msdosfs_iconv.c diff --git a/sys/modules/mse/Makefile b/sys/modules/mse/Makefile index 4cc68c1..2747ff8 100644 --- a/sys/modules/mse/Makefile +++ b/sys/modules/mse/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mse +.PATH: ${SRCTOP}/sys/dev/mse KMOD= mse SRCS= mse.c device_if.h bus_if.h isa_if.h diff --git a/sys/modules/msk/Makefile b/sys/modules/msk/Makefile index 48a7649..826cd0b 100644 --- a/sys/modules/msk/Makefile +++ b/sys/modules/msk/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/msk +.PATH: ${SRCTOP}/sys/dev/msk KMOD= if_msk SRCS= if_msk.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/mthca/Makefile b/sys/modules/mthca/Makefile index 95157e2..2c057f2 100644 --- a/sys/modules/mthca/Makefile +++ b/sys/modules/mthca/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../ofed/drivers/infiniband/hw/mthca +.PATH: ${SRCTOP}/sys/ofed/drivers/infiniband/hw/mthca KMOD = mthca SRCS = device_if.h bus_if.h pci_if.h vnode_if.h @@ -9,8 +9,8 @@ SRCS+= mthca_mr.c mthca_pd.c mthca_profile.c mthca_provider.c mthca_qp.c SRCS+= mthca_reset.c mthca_srq.c mthca_uar.c SRCS+= opt_inet.h opt_inet6.h -CFLAGS+= -I${.CURDIR}/../../ofed/include -CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include +CFLAGS+= -I${SRCTOP}/sys/ofed/include +CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include .include <bsd.kmod.mk> diff --git a/sys/modules/mvs/Makefile b/sys/modules/mvs/Makefile index 5931492..165d6c9 100644 --- a/sys/modules/mvs/Makefile +++ b/sys/modules/mvs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mvs +.PATH: ${SRCTOP}/sys/dev/mvs KMOD= mvs SRCS= mvs.c mvs_pci.c mvs.h mvs_if.c mvs_if.h device_if.h bus_if.h pci_if.h opt_cam.h diff --git a/sys/modules/mwl/Makefile b/sys/modules/mwl/Makefile index f2c40d7..acbe75c 100644 --- a/sys/modules/mwl/Makefile +++ b/sys/modules/mwl/Makefile @@ -29,7 +29,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../dev/mwl +.PATH: ${SRCTOP}/sys/dev/mwl KMOD= if_mwl SRCS= if_mwl.c if_mwl_pci.c mwlhal.c diff --git a/sys/modules/mwlfw/Makefile b/sys/modules/mwlfw/Makefile index 9d7b226..1e6a1e8 100644 --- a/sys/modules/mwlfw/Makefile +++ b/sys/modules/mwlfw/Makefile @@ -5,10 +5,10 @@ FIRMWS= mw88W8363.fw:mw88W8363fw mwlboot.fw:mwlboot CLEANFILES+= mw88W8363.fw mwlboot.fw -mw88W8363.fw: ${.CURDIR}/../../contrib/dev/mwl/mw88W8363.fw.uu +mw88W8363.fw: ${SRCTOP}/sys/contrib/dev/mwl/mw88W8363.fw.uu uudecode -p $? > ${.TARGET} -mwlboot.fw: ${.CURDIR}/../../contrib/dev/mwl/mwlboot.fw.uu +mwlboot.fw: ${SRCTOP}/sys/contrib/dev/mwl/mwlboot.fw.uu uudecode -p $? > ${.TARGET} .include <bsd.kmod.mk> diff --git a/sys/modules/mxge/mxge/Makefile b/sys/modules/mxge/mxge/Makefile index 3f1f80f..a924aef 100644 --- a/sys/modules/mxge/mxge/Makefile +++ b/sys/modules/mxge/mxge/Makefile @@ -1,6 +1,6 @@ #$FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/mxge +.PATH: ${SRCTOP}/sys/dev/mxge KMOD= if_mxge SRCS= if_mxge.c device_if.h bus_if.h pci_if.h opt_inet.h opt_inet6.h diff --git a/sys/modules/mxge/mxge_eth_z8e/Makefile b/sys/modules/mxge/mxge_eth_z8e/Makefile index 3454581..6ee1418 100644 --- a/sys/modules/mxge/mxge_eth_z8e/Makefile +++ b/sys/modules/mxge/mxge_eth_z8e/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/mxge +.PATH: ${SRCTOP}/sys/dev/mxge KMOD= mxge_eth_z8e SRCS= mxge_eth_z8e.c diff --git a/sys/modules/mxge/mxge_ethp_z8e/Makefile b/sys/modules/mxge/mxge_ethp_z8e/Makefile index e9f9b31..d0f0f48 100644 --- a/sys/modules/mxge/mxge_ethp_z8e/Makefile +++ b/sys/modules/mxge/mxge_ethp_z8e/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/mxge +.PATH: ${SRCTOP}/sys/dev/mxge KMOD= mxge_ethp_z8e SRCS= mxge_ethp_z8e.c diff --git a/sys/modules/mxge/mxge_rss_eth_z8e/Makefile b/sys/modules/mxge/mxge_rss_eth_z8e/Makefile index 46c545c..5cd4487 100644 --- a/sys/modules/mxge/mxge_rss_eth_z8e/Makefile +++ b/sys/modules/mxge/mxge_rss_eth_z8e/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/mxge +.PATH: ${SRCTOP}/sys/dev/mxge KMOD= mxge_rss_eth_z8e SRCS= mxge_rss_eth_z8e.c diff --git a/sys/modules/mxge/mxge_rss_ethp_z8e/Makefile b/sys/modules/mxge/mxge_rss_ethp_z8e/Makefile index de8dc4e..a2a965d 100644 --- a/sys/modules/mxge/mxge_rss_ethp_z8e/Makefile +++ b/sys/modules/mxge/mxge_rss_ethp_z8e/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/mxge +.PATH: ${SRCTOP}/sys/dev/mxge KMOD= mxge_rss_ethp_z8e SRCS= mxge_rss_ethp_z8e.c diff --git a/sys/modules/my/Makefile b/sys/modules/my/Makefile index 596284e..28ea8db 100644 --- a/sys/modules/my/Makefile +++ b/sys/modules/my/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/my +.PATH: ${SRCTOP}/sys/dev/my KMOD= if_my SRCS= if_my.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/nand/Makefile b/sys/modules/nand/Makefile index 4f66295..c9d9962 100644 --- a/sys/modules/nand/Makefile +++ b/sys/modules/nand/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/nand +.PATH: ${SRCTOP}/sys/dev/nand KMOD = nand SRCS= nand.c nand_bbt.c nand_cdev.c nand_generic.c nand_geom.c \ diff --git a/sys/modules/nandfs/Makefile b/sys/modules/nandfs/Makefile index 0748e3d..f13858c 100644 --- a/sys/modules/nandfs/Makefile +++ b/sys/modules/nandfs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/nandfs +.PATH: ${SRCTOP}/sys/fs/nandfs KMOD= nandfs SRCS= vnode_if.h opt_ddb.h \ diff --git a/sys/modules/nandsim/Makefile b/sys/modules/nandsim/Makefile index 0a729eb..4f0aeca 100644 --- a/sys/modules/nandsim/Makefile +++ b/sys/modules/nandsim/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/nand +.PATH: ${SRCTOP}/sys/dev/nand KMOD= nandsim SRCS= nandsim.c nandsim_chip.c nandsim_swap.c nandsim_ctrl.c nandsim_log.c\ diff --git a/sys/modules/ncr/Makefile b/sys/modules/ncr/Makefile index 7ba6c68..a2060bf 100644 --- a/sys/modules/ncr/Makefile +++ b/sys/modules/ncr/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ncr +.PATH: ${SRCTOP}/sys/dev/ncr KMOD= ncr SRCS= ncr.c diff --git a/sys/modules/nctgpio/Makefile b/sys/modules/nctgpio/Makefile index 88e133d..7ab56ee 100644 --- a/sys/modules/nctgpio/Makefile +++ b/sys/modules/nctgpio/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/nctgpio +.PATH: ${SRCTOP}/sys/dev/nctgpio KMOD= nctgpio SRCS= nctgpio.c SRCS+= device_if.h bus_if.h isa_if.h gpio_if.h opt_platform.h diff --git a/sys/modules/ncv/Makefile b/sys/modules/ncv/Makefile index 0181db8..3d66308 100644 --- a/sys/modules/ncv/Makefile +++ b/sys/modules/ncv/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ncv +.PATH: ${SRCTOP}/sys/dev/ncv KMOD= ncv SRCS= ncr53c500_pccard.c ncr53c500.c diff --git a/sys/modules/ndis/Makefile b/sys/modules/ndis/Makefile index b4dc428..24a887e 100644 --- a/sys/modules/ndis/Makefile +++ b/sys/modules/ndis/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../compat/ndis +.PATH: ${SRCTOP}/sys/compat/ndis KMOD= ndis SRCS= subr_pe.c subr_ndis.c subr_hal.c subr_ntoskrnl.c kern_ndis.c diff --git a/sys/modules/netfpga10g/nf10bmac/Makefile b/sys/modules/netfpga10g/nf10bmac/Makefile index adc4471..57f16ed 100644 --- a/sys/modules/netfpga10g/nf10bmac/Makefile +++ b/sys/modules/netfpga10g/nf10bmac/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/netfpga10g/nf10bmac +.PATH: ${SRCTOP}/sys/dev/netfpga10g/nf10bmac KMOD= if_nf10bmac SRCS= if_nf10bmac.c diff --git a/sys/modules/netgraph/Makefile b/sys/modules/netgraph/Makefile index c9b5748a..ac674d1 100644 --- a/sys/modules/netgraph/Makefile +++ b/sys/modules/netgraph/Makefile @@ -1,7 +1,7 @@ # $Whistle: Makefile,v 1.5 1999/01/24 06:48:37 archie Exp $ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" SUBDIR= async \ diff --git a/sys/modules/netgraph/Makefile.inc b/sys/modules/netgraph/Makefile.inc index 3d2fd19..0a25d0f 100644 --- a/sys/modules/netgraph/Makefile.inc +++ b/sys/modules/netgraph/Makefile.inc @@ -1,7 +1,7 @@ # $FreeBSD$ # $Whistle: Makefile.inc,v 1.4 1999/01/19 23:46:16 archie Exp $ -.PATH: ${.CURDIR}/../../../netgraph +.PATH: ${SRCTOP}/sys/netgraph SRCS+= opt_netgraph.h diff --git a/sys/modules/netgraph/atm/atm/Makefile b/sys/modules/netgraph/atm/atm/Makefile index ebd94e1..2cd6d9d 100644 --- a/sys/modules/netgraph/atm/atm/Makefile +++ b/sys/modules/netgraph/atm/atm/Makefile @@ -2,7 +2,7 @@ # # Author: Harti Brandt <harti@freebsd.org> # -.PATH: ${.CURDIR}/../../../../netgraph/atm +.PATH: ${SRCTOP}/sys/netgraph/atm KMOD= ng_atm SRCS= ng_atm.c diff --git a/sys/modules/netgraph/atm/atmbase/Makefile b/sys/modules/netgraph/atm/atmbase/Makefile index 1ad4bb6..f495cdb 100644 --- a/sys/modules/netgraph/atm/atmbase/Makefile +++ b/sys/modules/netgraph/atm/atmbase/Makefile @@ -3,9 +3,9 @@ # Author: Harti Brandt <harti@freebsd.org> # -LIBBASE= ${.CURDIR}/../../../../contrib/ngatm +LIBBASE= ${SRCTOP}/sys/contrib/ngatm -.PATH: ${.CURDIR}/../../../../netgraph/atm +.PATH: ${SRCTOP}/sys/netgraph/atm .PATH: ${LIBBASE}/netnatm/misc .PATH: ${LIBBASE}/netnatm/msg diff --git a/sys/modules/netgraph/atm/ccatm/Makefile b/sys/modules/netgraph/atm/ccatm/Makefile index 8bf741d..3cf9070 100644 --- a/sys/modules/netgraph/atm/ccatm/Makefile +++ b/sys/modules/netgraph/atm/ccatm/Makefile @@ -3,9 +3,9 @@ # Author: Harti Brandt <harti@freebsd.org> # -LIBBASE= ${.CURDIR}/../../../../contrib/ngatm +LIBBASE= ${SRCTOP}/sys/contrib/ngatm -.PATH: ${.CURDIR}/../../../../netgraph/atm/ccatm +.PATH: ${SRCTOP}/sys/netgraph/atm/ccatm .PATH: ${LIBBASE}/netnatm/api KMOD= ng_ccatm diff --git a/sys/modules/netgraph/atm/sscfu/Makefile b/sys/modules/netgraph/atm/sscfu/Makefile index 278159f..3d747c7 100644 --- a/sys/modules/netgraph/atm/sscfu/Makefile +++ b/sys/modules/netgraph/atm/sscfu/Makefile @@ -3,9 +3,9 @@ # Author: Harti Brandt <harti@freebsd.org> # -LIBBASE= ${.CURDIR}/../../../../contrib/ngatm +LIBBASE= ${SRCTOP}/sys/contrib/ngatm -.PATH: ${.CURDIR}/../../../../netgraph/atm/sscfu ${LIBBASE}/netnatm/saal +.PATH: ${SRCTOP}/sys/netgraph/atm/sscfu ${LIBBASE}/netnatm/saal KMOD= ng_sscfu SRCS= ng_sscfu.c saal_sscfu.c diff --git a/sys/modules/netgraph/atm/sscop/Makefile b/sys/modules/netgraph/atm/sscop/Makefile index b9334dd..3270f13 100644 --- a/sys/modules/netgraph/atm/sscop/Makefile +++ b/sys/modules/netgraph/atm/sscop/Makefile @@ -2,9 +2,9 @@ # # Author: Harti Brandt <harti@freebsd.org> -LIBBASE= ${.CURDIR}/../../../../contrib/ngatm +LIBBASE= ${SRCTOP}/sys/contrib/ngatm -.PATH: ${.CURDIR}/../../../../netgraph/atm/sscop ${LIBBASE}/netnatm/saal +.PATH: ${SRCTOP}/sys/netgraph/atm/sscop ${LIBBASE}/netnatm/saal KMOD= ng_sscop SRCS= ng_sscop.c saal_sscop.c diff --git a/sys/modules/netgraph/atm/uni/Makefile b/sys/modules/netgraph/atm/uni/Makefile index 57c20b0..a260fca 100644 --- a/sys/modules/netgraph/atm/uni/Makefile +++ b/sys/modules/netgraph/atm/uni/Makefile @@ -3,9 +3,9 @@ # Author: Harti Brandt <harti@freebsd.org> # -LIBBASE= ${.CURDIR}/../../../../contrib/ngatm +LIBBASE= ${SRCTOP}/sys/contrib/ngatm -.PATH: ${.CURDIR}/../../../../netgraph/atm/uni +.PATH: ${SRCTOP}/sys/netgraph/atm/uni .PATH: ${LIBBASE}/netnatm/sig KMOD= ng_uni diff --git a/sys/modules/netgraph/bluetooth/bluetooth/Makefile b/sys/modules/netgraph/bluetooth/bluetooth/Makefile index 35c3ead..2e25d8e 100644 --- a/sys/modules/netgraph/bluetooth/bluetooth/Makefile +++ b/sys/modules/netgraph/bluetooth/bluetooth/Makefile @@ -1,9 +1,9 @@ # $Id: Makefile,v 1.1 2002/11/24 20:39:57 max Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/common +.PATH: ${SRCTOP}/sys/netgraph/bluetooth/common -CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include +CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include KMOD= ng_bluetooth SRCS= ng_bluetooth.c diff --git a/sys/modules/netgraph/bluetooth/bt3c/Makefile b/sys/modules/netgraph/bluetooth/bt3c/Makefile index 36514b1..47c4f7a 100644 --- a/sys/modules/netgraph/bluetooth/bt3c/Makefile +++ b/sys/modules/netgraph/bluetooth/bt3c/Makefile @@ -1,10 +1,10 @@ # $Id: Makefile,v 1.2 2002/11/24 20:50:56 max Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/bt3c +.PATH: ${SRCTOP}/sys/netgraph/bluetooth/drivers/bt3c -CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \ - -I${.CURDIR}/../../../../netgraph/bluetooth/drivers/bt3c +CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \ + -I${SRCTOP}/sys/netgraph/bluetooth/drivers/bt3c KMOD= ng_bt3c SRCS= ng_bt3c_pccard.c bus_if.h card_if.h device_if.h pccarddevs.h diff --git a/sys/modules/netgraph/bluetooth/h4/Makefile b/sys/modules/netgraph/bluetooth/h4/Makefile index f8dfc96..808f44c 100644 --- a/sys/modules/netgraph/bluetooth/h4/Makefile +++ b/sys/modules/netgraph/bluetooth/h4/Makefile @@ -1,10 +1,10 @@ # $Id: Makefile,v 1.1 2002/11/24 20:40:04 max Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/h4 +.PATH: ${SRCTOP}/sys/netgraph/bluetooth/drivers/h4 -CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \ - -I${.CURDIR}/../../../../netgraph/bluetooth/drivers/h4 +CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \ + -I${SRCTOP}/sys/netgraph/bluetooth/drivers/h4 KMOD= ng_h4 SRCS= ng_h4.c diff --git a/sys/modules/netgraph/bluetooth/hci/Makefile b/sys/modules/netgraph/bluetooth/hci/Makefile index 729ea7b..1e970c9 100644 --- a/sys/modules/netgraph/bluetooth/hci/Makefile +++ b/sys/modules/netgraph/bluetooth/hci/Makefile @@ -1,10 +1,10 @@ # $Id: Makefile,v 1.1 2002/11/24 20:40:05 max Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/hci +.PATH: ${SRCTOP}/sys/netgraph/bluetooth/hci -CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \ - -I${.CURDIR}/../../../../netgraph/bluetooth/hci +CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \ + -I${SRCTOP}/sys/netgraph/bluetooth/hci KMOD= ng_hci SRCS= ng_hci_main.c ng_hci_cmds.c ng_hci_evnt.c \ diff --git a/sys/modules/netgraph/bluetooth/l2cap/Makefile b/sys/modules/netgraph/bluetooth/l2cap/Makefile index 5b66e09..03ee080 100644 --- a/sys/modules/netgraph/bluetooth/l2cap/Makefile +++ b/sys/modules/netgraph/bluetooth/l2cap/Makefile @@ -1,10 +1,10 @@ # $Id: Makefile,v 1.1 2002/11/24 20:40:11 max Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/l2cap +.PATH: ${SRCTOP}/sys/netgraph/bluetooth/l2cap -CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \ - -I${.CURDIR}/../../../../netgraph/bluetooth/l2cap +CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \ + -I${SRCTOP}/sys/netgraph/bluetooth/l2cap KMOD= ng_l2cap SRCS= ng_l2cap_main.c ng_l2cap_cmds.c ng_l2cap_evnt.c \ diff --git a/sys/modules/netgraph/bluetooth/socket/Makefile b/sys/modules/netgraph/bluetooth/socket/Makefile index 38e90f5..36bc4e9 100644 --- a/sys/modules/netgraph/bluetooth/socket/Makefile +++ b/sys/modules/netgraph/bluetooth/socket/Makefile @@ -1,9 +1,9 @@ # $Id: Makefile,v 1.2 2003/01/12 23:37:31 max Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/socket +.PATH: ${SRCTOP}/sys/netgraph/bluetooth/socket -CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include +CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include KMOD= ng_btsocket SRCS= ng_btsocket.c \ diff --git a/sys/modules/netgraph/bluetooth/ubt/Makefile b/sys/modules/netgraph/bluetooth/ubt/Makefile index b9ff0c1..b41fc36 100644 --- a/sys/modules/netgraph/bluetooth/ubt/Makefile +++ b/sys/modules/netgraph/bluetooth/ubt/Makefile @@ -1,10 +1,10 @@ # $Id: Makefile,v 1.2 2003/03/22 23:44:34 max Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/ubt +.PATH: ${SRCTOP}/sys/netgraph/bluetooth/drivers/ubt -CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \ - -I${.CURDIR}/../../../../netgraph/bluetooth/drivers/ubt +CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \ + -I${SRCTOP}/sys/netgraph/bluetooth/drivers/ubt KMOD= ng_ubt SRCS= ng_ubt.c opt_bus.h opt_usb.h device_if.h bus_if.h \ diff --git a/sys/modules/netgraph/bluetooth/ubtbcmfw/Makefile b/sys/modules/netgraph/bluetooth/ubtbcmfw/Makefile index 4c5c813..19a00ba 100644 --- a/sys/modules/netgraph/bluetooth/ubtbcmfw/Makefile +++ b/sys/modules/netgraph/bluetooth/ubtbcmfw/Makefile @@ -1,10 +1,10 @@ # $Id: Makefile,v 1.1 2003/04/27 00:22:12 max Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/ubtbcmfw +.PATH: ${SRCTOP}/sys/netgraph/bluetooth/drivers/ubtbcmfw -CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \ - -I${.CURDIR}/../../../../netgraph/bluetooth/drivers/ubtbcmfw +CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \ + -I${SRCTOP}/sys/netgraph/bluetooth/drivers/ubtbcmfw KMOD= ubtbcmfw SRCS= ubtbcmfw.c opt_bus.h opt_usb.h device_if.h bus_if.h \ diff --git a/sys/modules/netgraph/bpf/Makefile b/sys/modules/netgraph/bpf/Makefile index adef38f..3fcc4ac 100644 --- a/sys/modules/netgraph/bpf/Makefile +++ b/sys/modules/netgraph/bpf/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.1 1999/12/03 01:44:28 archie Exp $ -.PATH: ${.CURDIR}/../../../net +.PATH: ${SRCTOP}/sys/net KMOD= ng_bpf SRCS= opt_bpf.h ng_bpf.c bpf_filter.c diff --git a/sys/modules/netgraph/mppc/Makefile b/sys/modules/netgraph/mppc/Makefile index 1ab69e6..0cd02f7 100644 --- a/sys/modules/netgraph/mppc/Makefile +++ b/sys/modules/netgraph/mppc/Makefile @@ -8,12 +8,12 @@ NETGRAPH_MPPC_COMPRESSION?= 1 NETGRAPH_MPPC_ENCRYPTION?= 1 .if ${NETGRAPH_MPPC_COMPRESSION} > 0 -.PATH: ${.CURDIR}/../../../net +.PATH: ${SRCTOP}/sys/net SRCS+= mppcc.c mppcd.c .endif .if ${NETGRAPH_MPPC_ENCRYPTION} > 0 -.PATH: ${.CURDIR}/../../../crypto +.PATH: ${SRCTOP}/sys/crypto SRCS+= sha1.c .endif diff --git a/sys/modules/netgraph/netflow/Makefile b/sys/modules/netgraph/netflow/Makefile index 10345c1..365c99b 100644 --- a/sys/modules/netgraph/netflow/Makefile +++ b/sys/modules/netgraph/netflow/Makefile @@ -3,7 +3,7 @@ # Author: Gleb Smirnoff <glebius@freebsd.org> # -.PATH: ${.CURDIR}/../../../netgraph/netflow +.PATH: ${SRCTOP}/sys/netgraph/netflow KMOD= ng_netflow SRCS= ng_netflow.c netflow.c netflow_v9.c opt_inet6.h opt_route.h diff --git a/sys/modules/netgraph/vjc/Makefile b/sys/modules/netgraph/vjc/Makefile index 4921ac9..4e4d361 100644 --- a/sys/modules/netgraph/vjc/Makefile +++ b/sys/modules/netgraph/vjc/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.1 1999/01/24 06:48:07 archie Exp $ -.PATH: ${.CURDIR}/../../../net +.PATH: ${SRCTOP}/sys/net KMOD= ng_vjc SRCS= ng_vjc.c slcompress.c diff --git a/sys/modules/netmap/Makefile b/sys/modules/netmap/Makefile index 8e5364b..b383693 100644 --- a/sys/modules/netmap/Makefile +++ b/sys/modules/netmap/Makefile @@ -3,9 +3,9 @@ # Compile netmap as a module, useful if you want a netmap bridge # or loadable drivers. -.PATH: ${.CURDIR}/../../dev/netmap -.PATH.h: ${.CURDIR}/../../net -CFLAGS += -I${.CURDIR}/../../ +.PATH: ${SRCTOP}/sys/dev/netmap +.PATH.h: ${SRCTOP}/sys/net +CFLAGS += -I${SRCTOP}/sys KMOD = netmap SRCS = device_if.h bus_if.h opt_netmap.h SRCS += netmap.c netmap.h netmap_kern.h diff --git a/sys/modules/nfe/Makefile b/sys/modules/nfe/Makefile index 6fe8bc3..cb3c233 100644 --- a/sys/modules/nfe/Makefile +++ b/sys/modules/nfe/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/nfe +.PATH: ${SRCTOP}/sys/dev/nfe KMOD= if_nfe SRCS= if_nfe.c device_if.h bus_if.h pci_if.h miibus_if.h diff --git a/sys/modules/nfscl/Makefile b/sys/modules/nfscl/Makefile index 171b1e1..5da77b2 100644 --- a/sys/modules/nfscl/Makefile +++ b/sys/modules/nfscl/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/nfsclient ${.CURDIR}/../../nfs +.PATH: ${SRCTOP}/sys/fs/nfsclient ${SRCTOP}/sys/nfs KMOD= nfscl SRCS= vnode_if.h \ nfs_clrpcops.c \ diff --git a/sys/modules/nfscommon/Makefile b/sys/modules/nfscommon/Makefile index 18a343e..c83ea12 100644 --- a/sys/modules/nfscommon/Makefile +++ b/sys/modules/nfscommon/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/nfs +.PATH: ${SRCTOP}/sys/fs/nfs KMOD= nfscommon SRCS= vnode_if.h \ nfs_commonacl.c \ diff --git a/sys/modules/nfsd/Makefile b/sys/modules/nfsd/Makefile index 2b57f30..c9447f9 100644 --- a/sys/modules/nfsd/Makefile +++ b/sys/modules/nfsd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/nfsserver ${.CURDIR}/../../nfs +.PATH: ${SRCTOP}/sys/fs/nfsserver ${SRCTOP}/sys/nfs KMOD= nfsd SRCS= vnode_if.h \ nfs_fha.c \ diff --git a/sys/modules/nfslock/Makefile b/sys/modules/nfslock/Makefile index 0a1e208..05cb17d 100644 --- a/sys/modules/nfslock/Makefile +++ b/sys/modules/nfslock/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../nfs +.PATH: ${SRCTOP}/sys/nfs KMOD= nfslock SRCS= vnode_if.h \ nfs_lock.c \ diff --git a/sys/modules/nfslockd/Makefile b/sys/modules/nfslockd/Makefile index 407a4ab..1f6acaa 100644 --- a/sys/modules/nfslockd/Makefile +++ b/sys/modules/nfslockd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../nlm ${.CURDIR}/../../rpc +.PATH: ${SRCTOP}/sys/nlm ${SRCTOP}/sys/rpc KMOD= nfslockd SRCS= vnode_if.h \ nlm_advlock.c \ diff --git a/sys/modules/nfssvc/Makefile b/sys/modules/nfssvc/Makefile index 0073d13..ff9462c 100644 --- a/sys/modules/nfssvc/Makefile +++ b/sys/modules/nfssvc/Makefile @@ -1,7 +1,6 @@ - # $FreeBSD$ -.PATH: ${.CURDIR}/../../nfs +.PATH: ${SRCTOP}/sys/nfs KMOD= nfssvc SRCS= nfs_nfssvc.c \ opt_nfs.h diff --git a/sys/modules/nge/Makefile b/sys/modules/nge/Makefile index 4bb68cd..8bc3775 100644 --- a/sys/modules/nge/Makefile +++ b/sys/modules/nge/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/nge +.PATH: ${SRCTOP}/sys/dev/nge KMOD= if_nge SRCS= if_nge.c miibus_if.h device_if.h bus_if.h pci_if.h diff --git a/sys/modules/nmdm/Makefile b/sys/modules/nmdm/Makefile index 25e9470..84a57a8 100644 --- a/sys/modules/nmdm/Makefile +++ b/sys/modules/nmdm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/nmdm +.PATH: ${SRCTOP}/sys/dev/nmdm KMOD= nmdm SRCS= nmdm.c diff --git a/sys/modules/nsp/Makefile b/sys/modules/nsp/Makefile index 1773286..c519671 100644 --- a/sys/modules/nsp/Makefile +++ b/sys/modules/nsp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/nsp +.PATH: ${SRCTOP}/sys/dev/nsp KMOD= nsp SRCS= nsp.c nsp_pccard.c diff --git a/sys/modules/ntb/if_ntb/Makefile b/sys/modules/ntb/if_ntb/Makefile index 468593d..acdc859 100644 --- a/sys/modules/ntb/if_ntb/Makefile +++ b/sys/modules/ntb/if_ntb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ntb/if_ntb +.PATH: ${SRCTOP}/sys/dev/ntb/if_ntb KMOD = if_ntb SRCS = if_ntb.c diff --git a/sys/modules/ntb/ntb/Makefile b/sys/modules/ntb/ntb/Makefile index c3f647b..ec6421a 100644 --- a/sys/modules/ntb/ntb/Makefile +++ b/sys/modules/ntb/ntb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ntb +.PATH: ${SRCTOP}/sys/dev/ntb KMOD = ntb SRCS = ntb.c ntb_if.c diff --git a/sys/modules/ntb/ntb_hw/Makefile b/sys/modules/ntb/ntb_hw/Makefile index f3e7645..ad77e97 100644 --- a/sys/modules/ntb/ntb_hw/Makefile +++ b/sys/modules/ntb/ntb_hw/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ntb/ntb_hw +.PATH: ${SRCTOP}/sys/dev/ntb/ntb_hw KMOD = ntb_hw SRCS = ntb_hw.c diff --git a/sys/modules/ntb/ntb_transport/Makefile b/sys/modules/ntb/ntb_transport/Makefile index 2a8fcbc..df39148 100644 --- a/sys/modules/ntb/ntb_transport/Makefile +++ b/sys/modules/ntb/ntb_transport/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ntb +.PATH: ${SRCTOP}/sys/dev/ntb KMOD = ntb_transport SRCS = ntb_transport.c diff --git a/sys/modules/nullfs/Makefile b/sys/modules/nullfs/Makefile index 22cbf00..5252a8f 100644 --- a/sys/modules/nullfs/Makefile +++ b/sys/modules/nullfs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/nullfs +.PATH: ${SRCTOP}/sys/fs/nullfs KMOD= nullfs SRCS= vnode_if.h \ diff --git a/sys/modules/nvd/Makefile b/sys/modules/nvd/Makefile index 3b8d778..d47ac91 100644 --- a/sys/modules/nvd/Makefile +++ b/sys/modules/nvd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/nvd +.PATH: ${SRCTOP}/sys/dev/nvd KMOD= nvd SRCS= nvd.c opt_geom.h device_if.h bus_if.h diff --git a/sys/modules/nvme/Makefile b/sys/modules/nvme/Makefile index 6fa3531..c65d3b4 100644 --- a/sys/modules/nvme/Makefile +++ b/sys/modules/nvme/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/nvme +.PATH: ${SRCTOP}/sys/dev/nvme KMOD = nvme diff --git a/sys/modules/nvram/Makefile b/sys/modules/nvram/Makefile index 7af468d..09eb07d 100644 --- a/sys/modules/nvram/Makefile +++ b/sys/modules/nvram/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/nvram +.PATH: ${SRCTOP}/sys/dev/nvram KMOD= nvram SRCS= nvram.c diff --git a/sys/modules/nxge/Makefile b/sys/modules/nxge/Makefile index b7ffc49..92b8cec 100644 --- a/sys/modules/nxge/Makefile +++ b/sys/modules/nxge/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/nxge -.PATH: ${.CURDIR}/../../dev/nxge/xgehal +.PATH: ${SRCTOP}/sys/dev/nxge +.PATH: ${SRCTOP}/sys/dev/nxge/xgehal CFLAGS_NXGE = diff --git a/sys/modules/oce/Makefile b/sys/modules/oce/Makefile index 95e828d..5565d2d 100644 --- a/sys/modules/oce/Makefile +++ b/sys/modules/oce/Makefile @@ -2,12 +2,12 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../dev/oce +.PATH: ${SRCTOP}/sys/dev/oce KMOD = if_oce SRCS = oce_if.c oce_hw.c oce_mbox.c oce_util.c oce_queue.c oce_sysctl.c SRCS += bus_if.h device_if.h pci_if.h opt_inet.h opt_inet6.h -CFLAGS+= -I${.CURDIR}/../../dev/oce -DSMP +CFLAGS+= -I${SRCTOP}/sys/dev/oce -DSMP # uncomment for lock profiling statistics #CFLAGS += -DLOCK_PROFILING diff --git a/sys/modules/opensolaris/Makefile b/sys/modules/opensolaris/Makefile index c22c64c..8bf2ece 100644 --- a/sys/modules/opensolaris/Makefile +++ b/sys/modules/opensolaris/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?= ${.CURDIR}/../.. +SYSDIR?= ${SRCTOP}/sys .PATH: ${SYSDIR}/cddl/compat/opensolaris/kern diff --git a/sys/modules/otus/Makefile b/sys/modules/otus/Makefile index b263c06..56c37b2 100644 --- a/sys/modules/otus/Makefile +++ b/sys/modules/otus/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/otus +.PATH: ${SRCTOP}/sys/dev/otus KMOD = if_otus SRCS = if_otus.c if_otusreg.h \ diff --git a/sys/modules/otusfw/otusfw_init/Makefile b/sys/modules/otusfw/otusfw_init/Makefile index d188e9a..3a6e571 100644 --- a/sys/modules/otusfw/otusfw_init/Makefile +++ b/sys/modules/otusfw/otusfw_init/Makefile @@ -5,7 +5,7 @@ FIRMWS= otusfw_init:otusfw_init:1 CLEANFILES= otus_init -otusfw_init: ${.CURDIR}/../../../contrib/dev/otus/otus-init - cp ${.CURDIR}/../../../contrib/dev/otus/otus-init ${.TARGET} +otusfw_init: ${SRCTOP}/sys/contrib/dev/otus/otus-init + cp ${.ALLSRC} ${.TARGET} .include <bsd.kmod.mk> diff --git a/sys/modules/otusfw/otusfw_main/Makefile b/sys/modules/otusfw/otusfw_main/Makefile index 94e1aee..7ef78a9 100644 --- a/sys/modules/otusfw/otusfw_main/Makefile +++ b/sys/modules/otusfw/otusfw_main/Makefile @@ -5,7 +5,7 @@ FIRMWS= otusfw_main:otusfw_main:1 CLEANFILES= otusfw_main -otusfw_main: ${.CURDIR}/../../../contrib/dev/otus/otus-main - cp ${.CURDIR}/../../../contrib/dev/otus/otus-main ${.TARGET} +otusfw_main: ${SRCTOP}/sys/contrib/dev/otus/otus-main + cp ${.ALLSRC} ${.TARGET} .include <bsd.kmod.mk> diff --git a/sys/modules/ow/Makefile b/sys/modules/ow/Makefile index 13d7739..5cc630e 100644 --- a/sys/modules/ow/Makefile +++ b/sys/modules/ow/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" SUBDIR = ow owc ow_temp diff --git a/sys/modules/ow/ow/Makefile b/sys/modules/ow/ow/Makefile index 4963406..fdc8fe9 100644 --- a/sys/modules/ow/ow/Makefile +++ b/sys/modules/ow/ow/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ow +.PATH: ${SRCTOP}/sys/dev/ow KMOD= ow SRCS= ow.c diff --git a/sys/modules/ow/ow_temp/Makefile b/sys/modules/ow/ow_temp/Makefile index 6bd623e..00f3ee5 100644 --- a/sys/modules/ow/ow_temp/Makefile +++ b/sys/modules/ow/ow_temp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ow +.PATH: ${SRCTOP}/sys/dev/ow KMOD= ow_temp SRCS= ow_temp.c diff --git a/sys/modules/ow/owc/Makefile b/sys/modules/ow/owc/Makefile index 4aaccf9..909c238 100644 --- a/sys/modules/ow/owc/Makefile +++ b/sys/modules/ow/owc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ow +.PATH: ${SRCTOP}/sys/dev/ow KMOD= owc SRCS= owc_gpiobus.c diff --git a/sys/modules/padlock/Makefile b/sys/modules/padlock/Makefile index 14a8b56..7100733 100644 --- a/sys/modules/padlock/Makefile +++ b/sys/modules/padlock/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../crypto/via +.PATH: ${SRCTOP}/sys/crypto/via KMOD= padlock SRCS= padlock.c padlock_cipher.c padlock_hash.c diff --git a/sys/modules/padlock_rng/Makefile b/sys/modules/padlock_rng/Makefile index 25bf24f..2988079 100644 --- a/sys/modules/padlock_rng/Makefile +++ b/sys/modules/padlock_rng/Makefile @@ -1,11 +1,11 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/random +.PATH: ${SRCTOP}/sys/dev/random KMOD= padlock_rng SRCS= nehemiah.c SRCS+= bus_if.h device_if.h -CFLAGS+= -I${.CURDIR}/../.. +CFLAGS+= -I${SRCTOP}/sys .include <bsd.kmod.mk> diff --git a/sys/modules/patm/Makefile b/sys/modules/patm/Makefile index 7df3165..4f59aa7 100644 --- a/sys/modules/patm/Makefile +++ b/sys/modules/patm/Makefile @@ -2,7 +2,7 @@ # # Author: Harti Brandt <harti@freebsd.org> # -.PATH: ${.CURDIR}/../../dev/patm +.PATH: ${SRCTOP}/sys/dev/patm KMOD= if_patm SRCS= if_patm.c if_patm_attach.c if_patm_ioctl.c if_patm_intr.c \ diff --git a/sys/modules/pccard/Makefile b/sys/modules/pccard/Makefile index 95bcf3f..f7822da 100644 --- a/sys/modules/pccard/Makefile +++ b/sys/modules/pccard/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/pccard +.PATH: ${SRCTOP}/sys/dev/pccard KMOD= pccard SRCS= pccard.c pccard_cis.c pccard_cis_quirks.c pccard_device.c \ diff --git a/sys/modules/pcfclock/Makefile b/sys/modules/pcfclock/Makefile index 107a067..c49cf15 100644 --- a/sys/modules/pcfclock/Makefile +++ b/sys/modules/pcfclock/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ppbus +.PATH: ${SRCTOP}/sys/dev/ppbus KMOD= pcfclock SRCS= pcfclock.c opt_pcfclock.h diff --git a/sys/modules/pcn/Makefile b/sys/modules/pcn/Makefile index 9955c6c..aa772f2 100644 --- a/sys/modules/pcn/Makefile +++ b/sys/modules/pcn/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/pcn +.PATH: ${SRCTOP}/sys/dev/pcn KMOD= if_pcn SRCS= if_pcn.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/pf/Makefile b/sys/modules/pf/Makefile index b934e05..30a742a 100644 --- a/sys/modules/pf/Makefile +++ b/sys/modules/pf/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netpfil/pf +.PATH: ${SRCTOP}/sys/netpfil/pf KMOD= pf SRCS= pf.c pf_if.c pf_lb.c pf_osfp.c pf_ioctl.c pf_norm.c pf_table.c \ diff --git a/sys/modules/pflog/Makefile b/sys/modules/pflog/Makefile index 36656dc..0c4697c 100644 --- a/sys/modules/pflog/Makefile +++ b/sys/modules/pflog/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netpfil/pf +.PATH: ${SRCTOP}/sys/netpfil/pf KMOD= pflog SRCS= if_pflog.c \ diff --git a/sys/modules/pfsync/Makefile b/sys/modules/pfsync/Makefile index 89af6f9..f691db6 100644 --- a/sys/modules/pfsync/Makefile +++ b/sys/modules/pfsync/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netpfil/pf +.PATH: ${SRCTOP}/sys/netpfil/pf KMOD= pfsync SRCS= if_pfsync.c \ diff --git a/sys/modules/plip/Makefile b/sys/modules/plip/Makefile index 9aa5bd4..0b214f3 100644 --- a/sys/modules/plip/Makefile +++ b/sys/modules/plip/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ppbus +.PATH: ${SRCTOP}/sys/dev/ppbus KMOD= plip SRCS= bus_if.h device_if.h ppbus_if.h \ opt_plip.h \ diff --git a/sys/modules/pms/Makefile b/sys/modules/pms/Makefile index 128fe08..4dc00b7 100644 --- a/sys/modules/pms/Makefile +++ b/sys/modules/pms/Makefile @@ -2,20 +2,20 @@ # 5/31/2012 #PATH shall include all directories -.PATH: ${.CURDIR}/../../dev/pms/freebsd/driver/ini/src \ - ${.CURDIR}/../../dev/pms/RefTisa/sallsdk/api \ - ${.CURDIR}/../../dev/pms/RefTisa/sallsdk/spc \ - ${.CURDIR}/../../dev/pms/RefTisa/sallsdk/hda/64k \ - ${.CURDIR}/../../dev/pms/RefTisa/discovery/api \ - ${.CURDIR}/../../dev/pms/RefTisa/discovery/dm \ - ${.CURDIR}/../../dev/pms/RefTisa/sat/api \ - ${.CURDIR}/../../dev/pms/RefTisa/sat/src \ - ${.CURDIR}/../../dev/pms/RefTisa/tisa/api \ - ${.CURDIR}/../../dev/pms/RefTisa/tisa/sassata/common \ - ${.CURDIR}/../../dev/pms/RefTisa/tisa/sassata/sas/common \ - ${.CURDIR}/../../dev/pms/RefTisa/tisa/sassata/sas/ini \ - ${.CURDIR}/../../dev/pms/RefTisa/tisa/sassata/sata/host \ - ${.CURDIR}/../../dev/pms/freebsd/driver/common +.PATH: ${SRCTOP}/sys/dev/pms/freebsd/driver/ini/src \ + ${SRCTOP}/sys/dev/pms/RefTisa/sallsdk/api \ + ${SRCTOP}/sys/dev/pms/RefTisa/sallsdk/spc \ + ${SRCTOP}/sys/dev/pms/RefTisa/sallsdk/hda/64k \ + ${SRCTOP}/sys/dev/pms/RefTisa/discovery/api \ + ${SRCTOP}/sys/dev/pms/RefTisa/discovery/dm \ + ${SRCTOP}/sys/dev/pms/RefTisa/sat/api \ + ${SRCTOP}/sys/dev/pms/RefTisa/sat/src \ + ${SRCTOP}/sys/dev/pms/RefTisa/tisa/api \ + ${SRCTOP}/sys/dev/pms/RefTisa/tisa/sassata/common \ + ${SRCTOP}/sys/dev/pms/RefTisa/tisa/sassata/sas/common \ + ${SRCTOP}/sys/dev/pms/RefTisa/tisa/sassata/sas/ini \ + ${SRCTOP}/sys/dev/pms/RefTisa/tisa/sassata/sata/host \ + ${SRCTOP}/sys/dev/pms/freebsd/driver/common CFLAGS+=-fno-builtin CFLAGS+=-fms-extensions @@ -50,12 +50,10 @@ SRCS+= tdinit.c tdmisc.c tdesgl.c tdport.c tdint.c tdioctl.c tdhw.c ossacmnapi.c SRCS+= tdtimers.c itdio.c itdcb.c itdinit.c itddisc.c sat.c ossasat.c sathw.c #header files -SRCS+= agtiapi.h agtiproto.h agdef.h +SRCS+= agtiapi.h agtiproto.h agdef.h # SRCS+= osenv.h ostypes.h SRCS+= opt_scsi.h opt_cam.h SRCS+= device_if.h bus_if.h pci_if.h -#INCSRC= ../../common - .include <bsd.kmod.mk> diff --git a/sys/modules/powermac_nvram/Makefile b/sys/modules/powermac_nvram/Makefile index 95a38c8..fe9bbba 100644 --- a/sys/modules/powermac_nvram/Makefile +++ b/sys/modules/powermac_nvram/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/powermac_nvram +.PATH: ${SRCTOP}/sys/dev/powermac_nvram KMOD= powermac_nvram SRCS= powermac_nvram.c powermac_nvramvar.h diff --git a/sys/modules/ppbus/Makefile b/sys/modules/ppbus/Makefile index 1347e64..6b29f69 100644 --- a/sys/modules/ppbus/Makefile +++ b/sys/modules/ppbus/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ppbus +.PATH: ${SRCTOP}/sys/dev/ppbus KMOD= ppbus SRCS= bus_if.h device_if.h ppbus_if.h ppbus_if.c \ opt_ppb_1284.h \ diff --git a/sys/modules/ppc/Makefile b/sys/modules/ppc/Makefile index 53621f1..050fe10 100644 --- a/sys/modules/ppc/Makefile +++ b/sys/modules/ppc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ppc +.PATH: ${SRCTOP}/sys/dev/ppc KMOD= ppc SRCS= bus_if.h device_if.h ppbus_if.h isa_if.h pci_if.h serdev_if.h \ opt_ppc.h opt_isa.h \ diff --git a/sys/modules/ppi/Makefile b/sys/modules/ppi/Makefile index 568fddf..ec594a9 100644 --- a/sys/modules/ppi/Makefile +++ b/sys/modules/ppi/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ppbus +.PATH: ${SRCTOP}/sys/dev/ppbus KMOD= ppi SRCS= bus_if.h device_if.h ppbus_if.h \ opt_ppb_1284.h \ diff --git a/sys/modules/pps/Makefile b/sys/modules/pps/Makefile index 7e70bb2..0e55150 100644 --- a/sys/modules/pps/Makefile +++ b/sys/modules/pps/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ppbus +.PATH: ${SRCTOP}/sys/dev/ppbus KMOD= pps SRCS= bus_if.h device_if.h ppbus_if.h \ pps.c diff --git a/sys/modules/procfs/Makefile b/sys/modules/procfs/Makefile index 2b3b062..e5c1614 100644 --- a/sys/modules/procfs/Makefile +++ b/sys/modules/procfs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/procfs +.PATH: ${SRCTOP}/sys/fs/procfs KMOD= procfs SRCS= diff --git a/sys/modules/proto/Makefile b/sys/modules/proto/Makefile index 80a0050..331c2c6 100644 --- a/sys/modules/proto/Makefile +++ b/sys/modules/proto/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/proto +.PATH: ${SRCTOP}/sys/dev/proto KMOD= proto SRCS= \ diff --git a/sys/modules/pseudofs/Makefile b/sys/modules/pseudofs/Makefile index 6ddb749..45afba9 100644 --- a/sys/modules/pseudofs/Makefile +++ b/sys/modules/pseudofs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/pseudofs +.PATH: ${SRCTOP}/sys/fs/pseudofs KMOD= pseudofs SRCS= opt_pseudofs.h \ diff --git a/sys/modules/pst/Makefile b/sys/modules/pst/Makefile index 46e552d..4b8ff3d 100644 --- a/sys/modules/pst/Makefile +++ b/sys/modules/pst/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/pst +.PATH: ${SRCTOP}/sys/dev/pst KMOD= pst SRCS= pst-pci.c pst-iop.c pst-raid.c diff --git a/sys/modules/pty/Makefile b/sys/modules/pty/Makefile index fd563fe..73bc8cf 100644 --- a/sys/modules/pty/Makefile +++ b/sys/modules/pty/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/pty +.PATH: ${SRCTOP}/sys/dev/pty KMOD= pty SRCS= pty.c diff --git a/sys/modules/puc/Makefile b/sys/modules/puc/Makefile index 628a3b6..042ae10 100644 --- a/sys/modules/puc/Makefile +++ b/sys/modules/puc/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/puc +.PATH: ${SRCTOP}/sys/dev/puc KMOD= puc SRCS= puc.c puc_cfg.c puc_pci.c puc_pccard.c pucdata.c diff --git a/sys/modules/qlxgb/Makefile b/sys/modules/qlxgb/Makefile index caea34a..cb53184 100644 --- a/sys/modules/qlxgb/Makefile +++ b/sys/modules/qlxgb/Makefile @@ -29,7 +29,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../dev/qlxgb +.PATH: ${SRCTOP}/sys/dev/qlxgb KMOD= if_qlxgb SRCS= qla_os.c qla_dbg.c qla_hw.c qla_misc.c qla_isr.c qla_ioctl.c diff --git a/sys/modules/qlxgbe/Makefile b/sys/modules/qlxgbe/Makefile index 543e72a..d94b08e 100644 --- a/sys/modules/qlxgbe/Makefile +++ b/sys/modules/qlxgbe/Makefile @@ -32,7 +32,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../dev/qlxgbe +.PATH: ${SRCTOP}/sys/dev/qlxgbe KMOD=if_qlxgbe SRCS=ql_os.c ql_dbg.c ql_hw.c ql_misc.c ql_isr.c ql_ioctl.c diff --git a/sys/modules/qlxge/Makefile b/sys/modules/qlxge/Makefile index b34488a..54351b6 100644 --- a/sys/modules/qlxge/Makefile +++ b/sys/modules/qlxge/Makefile @@ -32,7 +32,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../dev/qlxge +.PATH: ${SRCTOP}/sys/dev/qlxge KMOD=if_qlxge SRCS=qls_os.c qls_dbg.c qls_hw.c qls_isr.c qls_dump.c diff --git a/sys/modules/ral/Makefile b/sys/modules/ral/Makefile index cc5d342..5c89e93 100644 --- a/sys/modules/ral/Makefile +++ b/sys/modules/ral/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ral +.PATH: ${SRCTOP}/sys/dev/ral KMOD= if_ral SRCS= rt2560.c rt2661.c rt2860.c if_ral_pci.c diff --git a/sys/modules/ralfw/Makefile.inc b/sys/modules/ralfw/Makefile.inc index 2dc6b47..9922352 100644 --- a/sys/modules/ralfw/Makefile.inc +++ b/sys/modules/ralfw/Makefile.inc @@ -11,5 +11,5 @@ CLEANFILES+= ${_FIRM} FIRMWS= ${_FIRM}:${KMOD} -${_FIRM}: ${.CURDIR}/../../../contrib/dev/ral/${_FIRM}.uu +${_FIRM}: ${SRCTOP}/sys/contrib/dev/ral/${_FIRM}.uu uudecode -p $? > ${.TARGET} diff --git a/sys/modules/random_fortuna/Makefile b/sys/modules/random_fortuna/Makefile index d28ae4d..e1290eb 100644 --- a/sys/modules/random_fortuna/Makefile +++ b/sys/modules/random_fortuna/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/random +.PATH: ${SRCTOP}/sys/dev/random KMOD = random_fortuna SRCS = randomdev.c hash.c fortuna.c diff --git a/sys/modules/random_other/Makefile b/sys/modules/random_other/Makefile index 6ce586b..14a0051 100644 --- a/sys/modules/random_other/Makefile +++ b/sys/modules/random_other/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/random +.PATH: ${SRCTOP}/sys/dev/random KMOD = random_OTHER SRCS = randomdev.c hash.c other_algorithm.c diff --git a/sys/modules/random_yarrow/Makefile b/sys/modules/random_yarrow/Makefile index 1750af4..90ff359 100644 --- a/sys/modules/random_yarrow/Makefile +++ b/sys/modules/random_yarrow/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/random +.PATH: ${SRCTOP}/sys/dev/random KMOD = random_yarrow SRCS = randomdev.c hash.c yarrow.c diff --git a/sys/modules/rc/Makefile b/sys/modules/rc/Makefile index ffa6163..a30f91d 100644 --- a/sys/modules/rc/Makefile +++ b/sys/modules/rc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/rc +.PATH: ${SRCTOP}/sys/dev/rc KMOD= rc SRCS= rc.c device_if.h bus_if.h isa_if.h diff --git a/sys/modules/rc4/Makefile b/sys/modules/rc4/Makefile index 95f609e..21d2d85 100644 --- a/sys/modules/rc4/Makefile +++ b/sys/modules/rc4/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../crypto/rc4 +.PATH: ${SRCTOP}/sys/crypto/rc4 KMOD= rc4 SRCS= rc4.c diff --git a/sys/modules/rccgpio/Makefile b/sys/modules/rccgpio/Makefile index d6a7572..5e7aa49 100644 --- a/sys/modules/rccgpio/Makefile +++ b/sys/modules/rccgpio/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/rccgpio +.PATH: ${SRCTOP}/sys/dev/rccgpio KMOD= rccgpio SRCS= rccgpio.c SRCS+= device_if.h bus_if.h isa_if.h gpio_if.h opt_platform.h diff --git a/sys/modules/rdma/krping/Makefile b/sys/modules/rdma/krping/Makefile index ecc24a5..9f530e0 100644 --- a/sys/modules/rdma/krping/Makefile +++ b/sys/modules/rdma/krping/Makefile @@ -1,11 +1,11 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../contrib/rdma/krping +.PATH: ${SRCTOP}/sys/contrib/rdma/krping KMOD= krping SRCS= krping.c krping_dev.c getopt.c SRCS+= bus_if.h device_if.h pci_if.h pcib_if.h vnode_if.h SRCS+= opt_sched.h opt_inet.h opt_inet6.h -CFLAGS+= -I${.CURDIR}/../../../ofed/include -CFLAGS+= -I${.CURDIR}/../../../compat/linuxkpi/common/include +CFLAGS+= -I${SRCTOP}/sys/ofed/include +CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include .include <bsd.kmod.mk> diff --git a/sys/modules/rdrand_rng/Makefile b/sys/modules/rdrand_rng/Makefile index 9d5adc3..7f14c08 100644 --- a/sys/modules/rdrand_rng/Makefile +++ b/sys/modules/rdrand_rng/Makefile @@ -1,11 +1,11 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/random +.PATH: ${SRCTOP}/sys/dev/random KMOD= rdrand_rng SRCS= ivy.c SRCS+= bus_if.h device_if.h -CFLAGS+= -I${.CURDIR}/../.. +CFLAGS+= -I${SRCTOP}/sys .include <bsd.kmod.mk> diff --git a/sys/modules/re/Makefile b/sys/modules/re/Makefile index abc9e49..782519b 100644 --- a/sys/modules/re/Makefile +++ b/sys/modules/re/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/re +.PATH: ${SRCTOP}/sys/dev/re KMOD= if_re SRCS= if_re.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/rl/Makefile b/sys/modules/rl/Makefile index 16046ad..51a4fae 100644 --- a/sys/modules/rl/Makefile +++ b/sys/modules/rl/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/rl +.PATH: ${SRCTOP}/sys/dev/rl KMOD= if_rl SRCS= if_rl.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/rndtest/Makefile b/sys/modules/rndtest/Makefile index f818704..64ad388 100644 --- a/sys/modules/rndtest/Makefile +++ b/sys/modules/rndtest/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/rndtest +.PATH: ${SRCTOP}/sys/dev/rndtest KMOD = rndtest SRCS = rndtest.c SRCS += device_if.h bus_if.h diff --git a/sys/modules/rp/Makefile b/sys/modules/rp/Makefile index 9326dff..a766394 100644 --- a/sys/modules/rp/Makefile +++ b/sys/modules/rp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/rp +.PATH: ${SRCTOP}/sys/dev/rp KMOD= rp SRCS= rp.c rp_pci.c device_if.h bus_if.h pci_if.h opt_compat.h diff --git a/sys/modules/rpi_ft5406/Makefile b/sys/modules/rpi_ft5406/Makefile index 3a1bbf5..f5ba45e 100644 --- a/sys/modules/rpi_ft5406/Makefile +++ b/sys/modules/rpi_ft5406/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../arm/broadcom/bcm2835/ +.PATH: ${SRCTOP}/sys/arm/broadcom/bcm2835/ KMOD= rpi_ft5406 SRCS= bcm2835_ft5406.c diff --git a/sys/modules/rtwn/Makefile b/sys/modules/rtwn/Makefile index f5d230c..6a70a89 100644 --- a/sys/modules/rtwn/Makefile +++ b/sys/modules/rtwn/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/rtwn +.PATH: ${SRCTOP}/sys/dev/rtwn KMOD = if_rtwn SRCS = if_rtwn.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/rtwnfw/Makefile.inc b/sys/modules/rtwnfw/Makefile.inc index ce5bcee..aa74c48 100644 --- a/sys/modules/rtwnfw/Makefile.inc +++ b/sys/modules/rtwnfw/Makefile.inc @@ -11,5 +11,5 @@ FIRMWS= ${_FIRM}:${KMOD}:111 FIRMWARE_LICENSE= realtek -${_FIRM}: ${.CURDIR}/../../../contrib/dev/rtwn/${_FIRM}.uu +${_FIRM}: ${SRCTOP}/sys/contrib/dev/rtwn/${_FIRM}.uu uudecode -p $? > ${.TARGET} diff --git a/sys/modules/s3/Makefile b/sys/modules/s3/Makefile index c0babcb..8475577 100644 --- a/sys/modules/s3/Makefile +++ b/sys/modules/s3/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/fb +.PATH: ${SRCTOP}/sys/dev/fb KMOD= s3 SRCS= device_if.h bus_if.h isa_if.h pci_if.h \ diff --git a/sys/modules/safe/Makefile b/sys/modules/safe/Makefile index 6c61aa3..21e3454 100644 --- a/sys/modules/safe/Makefile +++ b/sys/modules/safe/Makefile @@ -26,7 +26,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../dev/safe +.PATH: ${SRCTOP}/sys/dev/safe KMOD = safe SRCS = safe.c opt_safe.h SRCS += device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sbni/Makefile b/sys/modules/sbni/Makefile index 9dfab90..270b592 100644 --- a/sys/modules/sbni/Makefile +++ b/sys/modules/sbni/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/sbni +.PATH: ${SRCTOP}/sys/dev/sbni KMOD= if_sbni SRCS= if_sbni.c if_sbni_isa.c if_sbni_pci.c diff --git a/sys/modules/scc/Makefile b/sys/modules/scc/Makefile index b6cbd3b..05a67b2 100644 --- a/sys/modules/scc/Makefile +++ b/sys/modules/scc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/scc +.PATH: ${SRCTOP}/sys/dev/scc .if ${MACHINE} == "sparc64" scc_bfe= scc_bfe_ebus.c scc_bfe_sbus.c diff --git a/sys/modules/scsi_low/Makefile b/sys/modules/scsi_low/Makefile index 892e729..d7e3a4b 100644 --- a/sys/modules/scsi_low/Makefile +++ b/sys/modules/scsi_low/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../cam/scsi +.PATH: ${SRCTOP}/sys/cam/scsi KMOD= scsi_low SRCS= scsi_low.c SRCS+= opt_ddb.h opt_scsi.h opt_cam.h bus_if.h device_if.h diff --git a/sys/modules/sdhci/Makefile b/sys/modules/sdhci/Makefile index 9ee9540..941b4d5 100644 --- a/sys/modules/sdhci/Makefile +++ b/sys/modules/sdhci/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/sdhci +.PATH: ${SRCTOP}/sys/dev/sdhci KMOD= sdhci SRCS= sdhci.c sdhci.h sdhci_if.c sdhci_if.h device_if.h bus_if.h mmcbr_if.h diff --git a/sys/modules/sdhci_acpi/Makefile b/sys/modules/sdhci_acpi/Makefile index 0d34805..d3f2e40 100644 --- a/sys/modules/sdhci_acpi/Makefile +++ b/sys/modules/sdhci_acpi/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/sdhci +.PATH: ${SRCTOP}/sys/dev/sdhci KMOD= sdhci_acpi SRCS= sdhci_acpi.c sdhci.h sdhci_if.h diff --git a/sys/modules/sdhci_pci/Makefile b/sys/modules/sdhci_pci/Makefile index fcff490..1572e0b 100644 --- a/sys/modules/sdhci_pci/Makefile +++ b/sys/modules/sdhci_pci/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/sdhci +.PATH: ${SRCTOP}/sys/dev/sdhci KMOD= sdhci_pci SRCS= sdhci_pci.c sdhci.h sdhci_if.h device_if.h bus_if.h pci_if.h mmcbr_if.h diff --git a/sys/modules/sem/Makefile b/sys/modules/sem/Makefile index 927630d..c5457e1 100644 --- a/sys/modules/sem/Makefile +++ b/sys/modules/sem/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../kern +.PATH: ${SRCTOP}/sys/kern KMOD= sem SRCS= uipc_sem.c opt_compat.h opt_posix.h vnode_if.h diff --git a/sys/modules/send/Makefile b/sys/modules/send/Makefile index 1cb976b..bcf5345 100644 --- a/sys/modules/send/Makefile +++ b/sys/modules/send/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet6 +.PATH: ${SRCTOP}/sys/netinet6 KMOD= send SRCS= send.c diff --git a/sys/modules/sf/Makefile b/sys/modules/sf/Makefile index c67287e..3b5221f 100644 --- a/sys/modules/sf/Makefile +++ b/sys/modules/sf/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/sf +.PATH: ${SRCTOP}/sys/dev/sf KMOD= if_sf SRCS= if_sf.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sfxge/Makefile b/sys/modules/sfxge/Makefile index 01d782e..a905663 100644 --- a/sys/modules/sfxge/Makefile +++ b/sys/modules/sfxge/Makefile @@ -2,18 +2,18 @@ KMOD= sfxge -SFXGE= ${.CURDIR}/../../dev/sfxge +SFXGE= ${SRCTOP}/sys/dev/sfxge SRCS= device_if.h bus_if.h pci_if.h SRCS+= opt_inet.h opt_inet6.h opt_sched.h opt_rss.h -.PATH: ${.CURDIR}/../../dev/sfxge +.PATH: ${SRCTOP}/sys/dev/sfxge SRCS+= sfxge.c sfxge_dma.c sfxge_ev.c SRCS+= sfxge_intr.c sfxge_mcdi.c sfxge_nvram.c SRCS+= sfxge_port.c sfxge_rx.c sfxge_tx.c SRCS+= sfxge.h sfxge_rx.h sfxge_tx.h sfxge_version.h -.PATH: ${.CURDIR}/../../dev/sfxge/common +.PATH: ${SRCTOP}/sys/dev/sfxge/common SRCS+= efx_bootcfg.c efx_crc32.c efx_ev.c efx_intr.c efx_lic.c efx_mac.c SRCS+= efx_mcdi.c efx_mon.c efx_nic.c SRCS+= efx_nvram.c efx_phy.c efx_port.c efx_rx.c efx_sram.c efx_tx.c diff --git a/sys/modules/sge/Makefile b/sys/modules/sge/Makefile index 5f8c587..c2d0e23 100644 --- a/sys/modules/sge/Makefile +++ b/sys/modules/sge/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/sge +.PATH: ${SRCTOP}/sys/dev/sge KMOD= if_sge SRCS= if_sge.c device_if.h bus_if.h pci_if.h miibus_if.h diff --git a/sys/modules/siba_bwn/Makefile b/sys/modules/siba_bwn/Makefile index 02fbd5d..9091f23 100644 --- a/sys/modules/siba_bwn/Makefile +++ b/sys/modules/siba_bwn/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/siba +.PATH: ${SRCTOP}/sys/dev/siba KMOD= siba_bwn SRCS= siba_core.c siba_bwn.c sibareg.h sibavar.h diff --git a/sys/modules/siftr/Makefile b/sys/modules/siftr/Makefile index 773d215..bb92bb2 100644 --- a/sys/modules/siftr/Makefile +++ b/sys/modules/siftr/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet +.PATH: ${SRCTOP}/sys/netinet KMOD= siftr SRCS= siftr.c diff --git a/sys/modules/siis/Makefile b/sys/modules/siis/Makefile index dfd6b77..5c85b94 100644 --- a/sys/modules/siis/Makefile +++ b/sys/modules/siis/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/siis +.PATH: ${SRCTOP}/sys/dev/siis KMOD= siis SRCS= siis.c siis.h device_if.h bus_if.h pci_if.h opt_cam.h diff --git a/sys/modules/sio/Makefile b/sys/modules/sio/Makefile index 057e9c6..bc87ef7 100644 --- a/sys/modules/sio/Makefile +++ b/sys/modules/sio/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ .if ${MACHINE} == "pc98" -.PATH: ${.CURDIR}/../../pc98/cbus +.PATH: ${SRCTOP}/sys/pc98/cbus .endif -.PATH: ${.CURDIR}/../../dev/sio +.PATH: ${SRCTOP}/sys/dev/sio KMOD= sio SRCS= bus_if.h card_if.h device_if.h isa_if.h pci_if.h serdev_if.h \ diff --git a/sys/modules/sis/Makefile b/sys/modules/sis/Makefile index c98dda0..759886c 100644 --- a/sys/modules/sis/Makefile +++ b/sys/modules/sis/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/sis +.PATH: ${SRCTOP}/sys/dev/sis KMOD= if_sis SRCS= if_sis.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sk/Makefile b/sys/modules/sk/Makefile index 833550a..2b3e88a 100644 --- a/sys/modules/sk/Makefile +++ b/sys/modules/sk/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/sk +.PATH: ${SRCTOP}/sys/dev/sk KMOD= if_sk SRCS= if_sk.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/smbfs/Makefile b/sys/modules/smbfs/Makefile index 04ffc9a..850650e 100644 --- a/sys/modules/smbfs/Makefile +++ b/sys/modules/smbfs/Makefile @@ -1,11 +1,11 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../crypto/des \ - ${.CURDIR}/../../crypto/des/arch/${MACHINE_CPUARCH} \ - ${.CURDIR}/../../kern \ - ${.CURDIR}/../../libkern \ - ${.CURDIR}/../../netsmb \ - ${.CURDIR}/../../fs/smbfs +.PATH: ${SRCTOP}/sys/crypto/des \ + ${SRCTOP}/sys/crypto/des/arch/${MACHINE_CPUARCH} \ + ${SRCTOP}/sys/kern \ + ${SRCTOP}/sys/libkern \ + ${SRCTOP}/sys/netsmb \ + ${SRCTOP}/sys/fs/smbfs KMOD= smbfs diff --git a/sys/modules/sn/Makefile b/sys/modules/sn/Makefile index b248c75..a9e30eb 100644 --- a/sys/modules/sn/Makefile +++ b/sys/modules/sn/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/sn +.PATH: ${SRCTOP}/sys/dev/sn KMOD= if_sn SRCS= if_sn.c if_sn_isa.c if_sn_pccard.c device_if.h bus_if.h isa_if.h \ diff --git a/sys/modules/snp/Makefile b/sys/modules/snp/Makefile index f4441df..10ae7b4 100644 --- a/sys/modules/snp/Makefile +++ b/sys/modules/snp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/snp +.PATH: ${SRCTOP}/sys/dev/snp KMOD= snp SRCS= snp.c diff --git a/sys/modules/sound/driver/Makefile b/sys/modules/sound/driver/Makefile index 7adecbc..d00ccaa 100644 --- a/sys/modules/sound/driver/Makefile +++ b/sys/modules/sound/driver/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" # Modules that include binary-only blobs of microcode should be selectable by diff --git a/sys/modules/sound/driver/ad1816/Makefile b/sys/modules/sound/driver/ad1816/Makefile index 9c7fa9e..16d4ad3 100644 --- a/sys/modules/sound/driver/ad1816/Makefile +++ b/sys/modules/sound/driver/ad1816/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa +.PATH: ${SRCTOP}/sys/dev/sound/isa KMOD= snd_ad1816 SRCS= device_if.h bus_if.h isa_if.h pci_if.h diff --git a/sys/modules/sound/driver/ai2s/Makefile b/sys/modules/sound/driver/ai2s/Makefile index 5f56ba6..4a5267a 100644 --- a/sys/modules/sound/driver/ai2s/Makefile +++ b/sys/modules/sound/driver/ai2s/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/macio +.PATH: ${SRCTOP}/sys/dev/sound/macio KMOD= snd_ai2s SRCS= device_if.h bus_if.h ofw_bus_if.h diff --git a/sys/modules/sound/driver/als4000/Makefile b/sys/modules/sound/driver/als4000/Makefile index 59dc73a..ab18b65 100644 --- a/sys/modules/sound/driver/als4000/Makefile +++ b/sys/modules/sound/driver/als4000/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_als4000 SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/atiixp/Makefile b/sys/modules/sound/driver/atiixp/Makefile index db49eb2..00b4c78 100644 --- a/sys/modules/sound/driver/atiixp/Makefile +++ b/sys/modules/sound/driver/atiixp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_atiixp SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/audiocs/Makefile b/sys/modules/sound/driver/audiocs/Makefile index ff67554..0cd516c 100644 --- a/sys/modules/sound/driver/audiocs/Makefile +++ b/sys/modules/sound/driver/audiocs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/sbus +.PATH: ${SRCTOP}/sys/dev/sound/sbus KMOD= snd_audiocs SRCS= device_if.h bus_if.h ofw_bus_if.h diff --git a/sys/modules/sound/driver/cmi/Makefile b/sys/modules/sound/driver/cmi/Makefile index 551af42..4c7af37 100644 --- a/sys/modules/sound/driver/cmi/Makefile +++ b/sys/modules/sound/driver/cmi/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_cmi SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/cs4281/Makefile b/sys/modules/sound/driver/cs4281/Makefile index ed3ddbc..da5161c 100644 --- a/sys/modules/sound/driver/cs4281/Makefile +++ b/sys/modules/sound/driver/cs4281/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_cs4281 SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/csa/Makefile b/sys/modules/sound/driver/csa/Makefile index 521005e..af02ef4 100644 --- a/sys/modules/sound/driver/csa/Makefile +++ b/sys/modules/sound/driver/csa/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_csa SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/davbus/Makefile b/sys/modules/sound/driver/davbus/Makefile index b5616fe..5ea77b3 100644 --- a/sys/modules/sound/driver/davbus/Makefile +++ b/sys/modules/sound/driver/davbus/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/macio +.PATH: ${SRCTOP}/sys/dev/sound/macio KMOD= snd_davbus SRCS= device_if.h bus_if.h ofw_bus_if.h diff --git a/sys/modules/sound/driver/driver/Makefile b/sys/modules/sound/driver/driver/Makefile index 56a8461..8aea6ff 100644 --- a/sys/modules/sound/driver/driver/Makefile +++ b/sys/modules/sound/driver/driver/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound +.PATH: ${SRCTOP}/sys/dev/sound KMOD= snd_driver SRCS= device_if.h bus_if.h diff --git a/sys/modules/sound/driver/ds1/Makefile b/sys/modules/sound/driver/ds1/Makefile index c8f90ec..57d5767 100644 --- a/sys/modules/sound/driver/ds1/Makefile +++ b/sys/modules/sound/driver/ds1/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_ds1 SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/emu10k1/Makefile b/sys/modules/sound/driver/emu10k1/Makefile index 090ece6..2180fe8 100644 --- a/sys/modules/sound/driver/emu10k1/Makefile +++ b/sys/modules/sound/driver/emu10k1/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_emu10k1 SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/emu10kx/Makefile b/sys/modules/sound/driver/emu10kx/Makefile index 3b5920c..51394a0 100644 --- a/sys/modules/sound/driver/emu10kx/Makefile +++ b/sys/modules/sound/driver/emu10kx/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_emu10kx diff --git a/sys/modules/sound/driver/envy24/Makefile b/sys/modules/sound/driver/envy24/Makefile index ec1bf4c..28c37ec 100644 --- a/sys/modules/sound/driver/envy24/Makefile +++ b/sys/modules/sound/driver/envy24/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_envy24 SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/envy24ht/Makefile b/sys/modules/sound/driver/envy24ht/Makefile index e6b0d45..d712958 100644 --- a/sys/modules/sound/driver/envy24ht/Makefile +++ b/sys/modules/sound/driver/envy24ht/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_envy24ht SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/es137x/Makefile b/sys/modules/sound/driver/es137x/Makefile index d2a2d58..3989c66 100644 --- a/sys/modules/sound/driver/es137x/Makefile +++ b/sys/modules/sound/driver/es137x/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_es137x SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/ess/Makefile b/sys/modules/sound/driver/ess/Makefile index 73da252..943cd06 100644 --- a/sys/modules/sound/driver/ess/Makefile +++ b/sys/modules/sound/driver/ess/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa +.PATH: ${SRCTOP}/sys/dev/sound/isa KMOD= snd_ess SRCS= device_if.h bus_if.h isa_if.h pci_if.h diff --git a/sys/modules/sound/driver/fm801/Makefile b/sys/modules/sound/driver/fm801/Makefile index a8ed6bd..864033d 100644 --- a/sys/modules/sound/driver/fm801/Makefile +++ b/sys/modules/sound/driver/fm801/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_fm801 SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/hda/Makefile b/sys/modules/sound/driver/hda/Makefile index f136936..5646724 100644 --- a/sys/modules/sound/driver/hda/Makefile +++ b/sys/modules/sound/driver/hda/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci/hda +.PATH: ${SRCTOP}/sys/dev/sound/pci/hda KMOD= snd_hda SRCS= device_if.h bus_if.h pci_if.h channel_if.h mixer_if.h hdac_if.h diff --git a/sys/modules/sound/driver/hdspe/Makefile b/sys/modules/sound/driver/hdspe/Makefile index fcf83fe..9ee5abb 100644 --- a/sys/modules/sound/driver/hdspe/Makefile +++ b/sys/modules/sound/driver/hdspe/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_hdspe SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/ich/Makefile b/sys/modules/sound/driver/ich/Makefile index e0f2ce7..def838a 100644 --- a/sys/modules/sound/driver/ich/Makefile +++ b/sys/modules/sound/driver/ich/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD = snd_ich SRCS = device_if.h bus_if.h pci_if.h SRCS += ich.c diff --git a/sys/modules/sound/driver/maestro/Makefile b/sys/modules/sound/driver/maestro/Makefile index 4816f22..fe69bd6 100644 --- a/sys/modules/sound/driver/maestro/Makefile +++ b/sys/modules/sound/driver/maestro/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_maestro SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/maestro3/Makefile b/sys/modules/sound/driver/maestro3/Makefile index d4378b8..332f01e 100644 --- a/sys/modules/sound/driver/maestro3/Makefile +++ b/sys/modules/sound/driver/maestro3/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_maestro3 SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/mss/Makefile b/sys/modules/sound/driver/mss/Makefile index 4488078..4032bf3 100644 --- a/sys/modules/sound/driver/mss/Makefile +++ b/sys/modules/sound/driver/mss/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa +.PATH: ${SRCTOP}/sys/dev/sound/isa KMOD= snd_mss SRCS= device_if.h bus_if.h isa_if.h pci_if.h diff --git a/sys/modules/sound/driver/neomagic/Makefile b/sys/modules/sound/driver/neomagic/Makefile index 9eabb5c..17d0c4c 100644 --- a/sys/modules/sound/driver/neomagic/Makefile +++ b/sys/modules/sound/driver/neomagic/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_neomagic SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/sb16/Makefile b/sys/modules/sound/driver/sb16/Makefile index bf009f7..083a720 100644 --- a/sys/modules/sound/driver/sb16/Makefile +++ b/sys/modules/sound/driver/sb16/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa +.PATH: ${SRCTOP}/sys/dev/sound/isa KMOD= snd_sb16 SRCS= device_if.h bus_if.h isa_if.h pci_if.h diff --git a/sys/modules/sound/driver/sb8/Makefile b/sys/modules/sound/driver/sb8/Makefile index f2b0da8..7d9ff49 100644 --- a/sys/modules/sound/driver/sb8/Makefile +++ b/sys/modules/sound/driver/sb8/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa +.PATH: ${SRCTOP}/sys/dev/sound/isa KMOD= snd_sb8 SRCS= device_if.h bus_if.h isa_if.h pci_if.h diff --git a/sys/modules/sound/driver/sbc/Makefile b/sys/modules/sound/driver/sbc/Makefile index 8e2343d..d7894d6 100644 --- a/sys/modules/sound/driver/sbc/Makefile +++ b/sys/modules/sound/driver/sbc/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa +.PATH: ${SRCTOP}/sys/dev/sound/isa KMOD= snd_sbc SRCS= device_if.h bus_if.h isa_if.h pci_if.h diff --git a/sys/modules/sound/driver/solo/Makefile b/sys/modules/sound/driver/solo/Makefile index 01059fa..cdd7972 100644 --- a/sys/modules/sound/driver/solo/Makefile +++ b/sys/modules/sound/driver/solo/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_solo SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/spicds/Makefile b/sys/modules/sound/driver/spicds/Makefile index 35ec879..87ab0bb 100644 --- a/sys/modules/sound/driver/spicds/Makefile +++ b/sys/modules/sound/driver/spicds/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_spicds SRCS= device_if.h bus_if.h isa_if.h pci_if.h diff --git a/sys/modules/sound/driver/t4dwave/Makefile b/sys/modules/sound/driver/t4dwave/Makefile index 7cd9140..1deff4a 100644 --- a/sys/modules/sound/driver/t4dwave/Makefile +++ b/sys/modules/sound/driver/t4dwave/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_t4dwave SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/uaudio/Makefile b/sys/modules/sound/driver/uaudio/Makefile index 1dd4493..e725436 100644 --- a/sys/modules/sound/driver/uaudio/Makefile +++ b/sys/modules/sound/driver/uaudio/Makefile @@ -1,12 +1,10 @@ # $FreeBSD$ -S= ${.CURDIR}/../../../.. - -.PATH: $S/dev/sound/usb +.PATH: ${SRCTOP}/sys/dev/sound/usb KMOD= snd_uaudio SRCS= bus_if.h device_if.h usb_if.h vnode_if.h SRCS+= opt_usb.h opt_bus.h feeder_if.h channel_if.h usbdevs.h -SRCS+= uaudio_pcm.c uaudio.c +SRCS+= uaudio_pcm.c uaudio.c .include <bsd.kmod.mk> diff --git a/sys/modules/sound/driver/via8233/Makefile b/sys/modules/sound/driver/via8233/Makefile index fa3fd96..18840d8 100644 --- a/sys/modules/sound/driver/via8233/Makefile +++ b/sys/modules/sound/driver/via8233/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_via8233 SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/via82c686/Makefile b/sys/modules/sound/driver/via82c686/Makefile index d53576c..0abb86b 100644 --- a/sys/modules/sound/driver/via82c686/Makefile +++ b/sys/modules/sound/driver/via82c686/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_via82c686 SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/driver/vibes/Makefile b/sys/modules/sound/driver/vibes/Makefile index 663d8a0..a817208 100644 --- a/sys/modules/sound/driver/vibes/Makefile +++ b/sys/modules/sound/driver/vibes/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci +.PATH: ${SRCTOP}/sys/dev/sound/pci KMOD= snd_vibes SRCS= device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sound/sound/Makefile b/sys/modules/sound/sound/Makefile index ff9c48e..306ed72 100644 --- a/sys/modules/sound/sound/Makefile +++ b/sys/modules/sound/sound/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../../.. +SYSDIR?=${SRCTOP}/sys .PATH: ${SYSDIR}/dev/sound .PATH: ${SYSDIR}/dev/sound/pcm diff --git a/sys/modules/speaker/Makefile b/sys/modules/speaker/Makefile index 1a4c5ac..9dcb5d9 100644 --- a/sys/modules/speaker/Makefile +++ b/sys/modules/speaker/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/speaker +.PATH: ${SRCTOP}/sys/dev/speaker KMOD= speaker SRCS= spkr.c diff --git a/sys/modules/splash/bmp/Makefile b/sys/modules/splash/bmp/Makefile index a169fdf..83a3fae 100644 --- a/sys/modules/splash/bmp/Makefile +++ b/sys/modules/splash/bmp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/fb +.PATH: ${SRCTOP}/sys/dev/fb KMOD= splash_bmp SRCS= splash_bmp.c diff --git a/sys/modules/splash/pcx/Makefile b/sys/modules/splash/pcx/Makefile index 188dafc..4317972 100644 --- a/sys/modules/splash/pcx/Makefile +++ b/sys/modules/splash/pcx/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/fb +.PATH: ${SRCTOP}/sys/dev/fb KMOD= splash_pcx SRCS= splash_pcx.c diff --git a/sys/modules/splash/txt/Makefile b/sys/modules/splash/txt/Makefile index 7b41a17..d991433 100644 --- a/sys/modules/splash/txt/Makefile +++ b/sys/modules/splash/txt/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/fb +.PATH: ${SRCTOP}/sys/dev/fb KMOD= splash_txt SRCS= splash_txt.c diff --git a/sys/modules/sppp/Makefile b/sys/modules/sppp/Makefile index 643308e..017940e 100644 --- a/sys/modules/sppp/Makefile +++ b/sys/modules/sppp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${SRCTOP}/sys/net KMOD= sppp SRCS= if_spppfr.c if_spppsubr.c slcompress.c diff --git a/sys/modules/ste/Makefile b/sys/modules/ste/Makefile index 6d767b1..25b1ddc 100644 --- a/sys/modules/ste/Makefile +++ b/sys/modules/ste/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ste +.PATH: ${SRCTOP}/sys/dev/ste KMOD= if_ste SRCS= if_ste.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/stg/Makefile b/sys/modules/stg/Makefile index b8c0ae8..610c605 100644 --- a/sys/modules/stg/Makefile +++ b/sys/modules/stg/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/stg +.PATH: ${SRCTOP}/sys/dev/stg KMOD= stg SRCS= tmc18c30.c tmc18c30_subr.c \ diff --git a/sys/modules/stge/Makefile b/sys/modules/stge/Makefile index 721a42d..b67e3b0 100644 --- a/sys/modules/stge/Makefile +++ b/sys/modules/stge/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/stge +.PATH: ${SRCTOP}/sys/dev/stge KMOD= if_stge SRCS= if_stge.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/sym/Makefile b/sys/modules/sym/Makefile index 198c982..3701b14 100644 --- a/sys/modules/sym/Makefile +++ b/sys/modules/sym/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/sym +.PATH: ${SRCTOP}/sys/dev/sym KMOD= sym SRCS= sym_hipd.c opt_sym.h opt_cam.h opt_scsi.h diff --git a/sys/modules/syscons/apm/Makefile b/sys/modules/syscons/apm/Makefile index d2e31d8..9214d2d 100644 --- a/sys/modules/syscons/apm/Makefile +++ b/sys/modules/syscons/apm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/apm +.PATH: ${SRCTOP}/sys/dev/syscons/apm KMOD= apm_saver SRCS= apm_saver.c diff --git a/sys/modules/syscons/beastie/Makefile b/sys/modules/syscons/beastie/Makefile index 4f0865b..03fe93f 100644 --- a/sys/modules/syscons/beastie/Makefile +++ b/sys/modules/syscons/beastie/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/logo +.PATH: ${SRCTOP}/sys/dev/syscons/logo KMOD= beastie_saver SRCS= beastie.c logo_saver.c diff --git a/sys/modules/syscons/blank/Makefile b/sys/modules/syscons/blank/Makefile index 673b6bd..29ec9fc7 100644 --- a/sys/modules/syscons/blank/Makefile +++ b/sys/modules/syscons/blank/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/blank +.PATH: ${SRCTOP}/sys/dev/syscons/blank KMOD= blank_saver SRCS= blank_saver.c diff --git a/sys/modules/syscons/daemon/Makefile b/sys/modules/syscons/daemon/Makefile index b027972..cdbe011 100644 --- a/sys/modules/syscons/daemon/Makefile +++ b/sys/modules/syscons/daemon/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/daemon +.PATH: ${SRCTOP}/sys/dev/syscons/daemon KMOD= daemon_saver SRCS= daemon_saver.c diff --git a/sys/modules/syscons/dragon/Makefile b/sys/modules/syscons/dragon/Makefile index 95ebecd..f72d534 100644 --- a/sys/modules/syscons/dragon/Makefile +++ b/sys/modules/syscons/dragon/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/dragon +.PATH: ${SRCTOP}/sys/dev/syscons/dragon KMOD= dragon_saver SRCS= dragon_saver.c diff --git a/sys/modules/syscons/fade/Makefile b/sys/modules/syscons/fade/Makefile index 7691961..2121deb 100644 --- a/sys/modules/syscons/fade/Makefile +++ b/sys/modules/syscons/fade/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/fade +.PATH: ${SRCTOP}/sys/dev/syscons/fade KMOD= fade_saver SRCS= fade_saver.c diff --git a/sys/modules/syscons/fire/Makefile b/sys/modules/syscons/fire/Makefile index 219017e..86c589e 100644 --- a/sys/modules/syscons/fire/Makefile +++ b/sys/modules/syscons/fire/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/fire +.PATH: ${SRCTOP}/sys/dev/syscons/fire KMOD= fire_saver SRCS= fire_saver.c diff --git a/sys/modules/syscons/green/Makefile b/sys/modules/syscons/green/Makefile index 255171e..5ae5ca9 100644 --- a/sys/modules/syscons/green/Makefile +++ b/sys/modules/syscons/green/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/green +.PATH: ${SRCTOP}/sys/dev/syscons/green KMOD= green_saver SRCS= green_saver.c diff --git a/sys/modules/syscons/logo/Makefile b/sys/modules/syscons/logo/Makefile index b4439f2..b32f482 100644 --- a/sys/modules/syscons/logo/Makefile +++ b/sys/modules/syscons/logo/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/logo +.PATH: ${SRCTOP}/sys/dev/syscons/logo KMOD= logo_saver SRCS= logo_saver.c logo.c diff --git a/sys/modules/syscons/plasma/Makefile b/sys/modules/syscons/plasma/Makefile index c71c864..6864a5e 100644 --- a/sys/modules/syscons/plasma/Makefile +++ b/sys/modules/syscons/plasma/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/plasma +.PATH: ${SRCTOP}/sys/dev/syscons/plasma KMOD= plasma_saver SRCS= fp16.c plasma_saver.c diff --git a/sys/modules/syscons/rain/Makefile b/sys/modules/syscons/rain/Makefile index 5c0d126..d0964b8 100644 --- a/sys/modules/syscons/rain/Makefile +++ b/sys/modules/syscons/rain/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/rain +.PATH: ${SRCTOP}/sys/dev/syscons/rain KMOD= rain_saver SRCS= rain_saver.c diff --git a/sys/modules/syscons/snake/Makefile b/sys/modules/syscons/snake/Makefile index 9edf830..ab04b75 100644 --- a/sys/modules/syscons/snake/Makefile +++ b/sys/modules/syscons/snake/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/snake +.PATH: ${SRCTOP}/sys/dev/syscons/snake KMOD= snake_saver SRCS= snake_saver.c diff --git a/sys/modules/syscons/star/Makefile b/sys/modules/syscons/star/Makefile index ca3075f..771d464 100644 --- a/sys/modules/syscons/star/Makefile +++ b/sys/modules/syscons/star/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/star +.PATH: ${SRCTOP}/sys/dev/syscons/star KMOD= star_saver SRCS= star_saver.c diff --git a/sys/modules/syscons/warp/Makefile b/sys/modules/syscons/warp/Makefile index 3ff59d3..5fa2ab6 100644 --- a/sys/modules/syscons/warp/Makefile +++ b/sys/modules/syscons/warp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/syscons/warp +.PATH: ${SRCTOP}/sys/dev/syscons/warp KMOD= warp_saver SRCS= warp_saver.c diff --git a/sys/modules/sysvipc/sysvmsg/Makefile b/sys/modules/sysvipc/sysvmsg/Makefile index 38fc2a2..c30ecac 100644 --- a/sys/modules/sysvipc/sysvmsg/Makefile +++ b/sys/modules/sysvipc/sysvmsg/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../kern +.PATH: ${SRCTOP}/sys/kern KMOD= sysvmsg SRCS= sysv_msg.c opt_sysvipc.h opt_compat.h diff --git a/sys/modules/sysvipc/sysvsem/Makefile b/sys/modules/sysvipc/sysvsem/Makefile index abc9544..37d31b2 100644 --- a/sys/modules/sysvipc/sysvsem/Makefile +++ b/sys/modules/sysvipc/sysvsem/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../kern +.PATH: ${SRCTOP}/sys/kern KMOD= sysvsem SRCS= sysv_sem.c opt_sysvipc.h opt_compat.h diff --git a/sys/modules/sysvipc/sysvshm/Makefile b/sys/modules/sysvipc/sysvshm/Makefile index fde9d34..3ca31d6 100644 --- a/sys/modules/sysvipc/sysvshm/Makefile +++ b/sys/modules/sysvipc/sysvshm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../kern +.PATH: ${SRCTOP}/sys/kern KMOD= sysvshm SRCS= sysv_shm.c opt_sysvipc.h opt_compat.h diff --git a/sys/modules/tcp/fastpath/Makefile b/sys/modules/tcp/fastpath/Makefile index c6469fe..389d49e 100644 --- a/sys/modules/tcp/fastpath/Makefile +++ b/sys/modules/tcp/fastpath/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../netinet/tcp_stacks +.PATH: ${SRCTOP}/sys/netinet/tcp_stacks KMOD= fastpath SRCS= fastpath.c diff --git a/sys/modules/tcp/tcpmd5/Makefile b/sys/modules/tcp/tcpmd5/Makefile index 1337f1d..a92e787 100644 --- a/sys/modules/tcp/tcpmd5/Makefile +++ b/sys/modules/tcp/tcpmd5/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../netipsec +.PATH: ${SRCTOP}/sys/netipsec KMOD= tcpmd5 SRCS= xform_tcp.c opt_inet.h opt_inet6.h opt_ipsec.h diff --git a/sys/modules/tests/callout_test/Makefile b/sys/modules/tests/callout_test/Makefile index 4781488..f0a5c2f 100644 --- a/sys/modules/tests/callout_test/Makefile +++ b/sys/modules/tests/callout_test/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../tests/callout_test +.PATH: ${SRCTOP}/sys/tests/callout_test KMOD= callout_test SRCS= callout_test.c diff --git a/sys/modules/tests/framework/Makefile b/sys/modules/tests/framework/Makefile index f5f608f..8623e01 100644 --- a/sys/modules/tests/framework/Makefile +++ b/sys/modules/tests/framework/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -.PATH: ${.CURDIR}/../../../tests/framework +.PATH: ${SRCTOP}/sys/tests/framework KMOD= kern_testfrwk SRCS= kern_testfrwk.c diff --git a/sys/modules/ti/Makefile b/sys/modules/ti/Makefile index 7b87b6f..84114cc 100644 --- a/sys/modules/ti/Makefile +++ b/sys/modules/ti/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ti +.PATH: ${SRCTOP}/sys/dev/ti KMOD= if_ti SRCS= if_ti.c device_if.h bus_if.h pci_if.h opt_ti.h diff --git a/sys/modules/tl/Makefile b/sys/modules/tl/Makefile index 60fbc27..b3c1a46 100644 --- a/sys/modules/tl/Makefile +++ b/sys/modules/tl/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/tl +.PATH: ${SRCTOP}/sys/dev/tl KMOD= if_tl SRCS= if_tl.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/tmpfs/Makefile b/sys/modules/tmpfs/Makefile index 85aaaca..7ae719e 100644 --- a/sys/modules/tmpfs/Makefile +++ b/sys/modules/tmpfs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/tmpfs +.PATH: ${SRCTOP}/sys/fs/tmpfs KMOD= tmpfs SRCS= vnode_if.h \ diff --git a/sys/modules/toecore/Makefile b/sys/modules/toecore/Makefile index ab2a857..d3bf3b8 100644 --- a/sys/modules/toecore/Makefile +++ b/sys/modules/toecore/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet +.PATH: ${SRCTOP}/sys/netinet KMOD= toecore SRCS= toecore.c diff --git a/sys/modules/tpm/Makefile b/sys/modules/tpm/Makefile index fdfc016..2f5adfb 100644 --- a/sys/modules/tpm/Makefile +++ b/sys/modules/tpm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/tpm +.PATH: ${SRCTOP}/sys/dev/tpm KMOD= tpm diff --git a/sys/modules/trm/Makefile b/sys/modules/trm/Makefile index 7c42e40..e5f3004 100644 --- a/sys/modules/trm/Makefile +++ b/sys/modules/trm/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/trm +.PATH: ${SRCTOP}/sys/dev/trm KMOD= trm SRCS= trm.c trm.h opt_cam.h device_if.h bus_if.h \ diff --git a/sys/modules/tsec/Makefile b/sys/modules/tsec/Makefile index 678d611..f63face 100644 --- a/sys/modules/tsec/Makefile +++ b/sys/modules/tsec/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .PATH: ${SYSDIR}/dev/tsec diff --git a/sys/modules/twa/Makefile b/sys/modules/twa/Makefile index e5539e1..08e2fd6 100644 --- a/sys/modules/twa/Makefile +++ b/sys/modules/twa/Makefile @@ -33,7 +33,7 @@ # KMOD = twa -.PATH: ${.CURDIR}/../../dev/${KMOD} +.PATH: ${SRCTOP}/sys/dev/${KMOD} SRCS= tw_osl_freebsd.c tw_osl_cam.c \ tw_cl_init.c tw_cl_io.c tw_cl_intr.c tw_cl_misc.c \ bus_if.h device_if.h pci_if.h opt_scsi.h opt_cam.h opt_twa.h @@ -42,6 +42,6 @@ SRCS= tw_osl_freebsd.c tw_osl_cam.c \ #CFLAGS+= -DTWA_ENCLOSURE_SUPPORT #CFLAGS+= -DTWA_DEBUG=0 -CFLAGS+= -I${.CURDIR}/../../dev/${KMOD} +CFLAGS+= -I${SRCTOP}/sys/dev/${KMOD} .include <bsd.kmod.mk> diff --git a/sys/modules/twe/Makefile b/sys/modules/twe/Makefile index a74a58d..f5d09e4 100644 --- a/sys/modules/twe/Makefile +++ b/sys/modules/twe/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ KMOD= twe -.PATH: ${.CURDIR}/../../dev/${KMOD} +.PATH: ${SRCTOP}/sys/dev/${KMOD} SRCS= bus_if.h device_if.h pci_if.h twe.c twe_freebsd.c #CFLAGS+=-DTWE_DEBUG=0 diff --git a/sys/modules/tws/Makefile b/sys/modules/tws/Makefile index af26579..899f110 100644 --- a/sys/modules/tws/Makefile +++ b/sys/modules/tws/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ KMOD= tws -.PATH: ${.CURDIR}/../../dev/${KMOD} +.PATH: ${SRCTOP}/sys/dev/${KMOD} SRCS= tws.c tws_services.c tws_cam.c tws_hdm.c tws_user.c SRCS+= device_if.h bus_if.h pci_if.h opt_cam.h opt_scsi.h diff --git a/sys/modules/tx/Makefile b/sys/modules/tx/Makefile index 1fe6ba1..5989703 100644 --- a/sys/modules/tx/Makefile +++ b/sys/modules/tx/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/tx +.PATH: ${SRCTOP}/sys/dev/tx KMOD= if_tx SRCS= if_tx.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/txp/Makefile b/sys/modules/txp/Makefile index 379f3e3..c867e56 100644 --- a/sys/modules/txp/Makefile +++ b/sys/modules/txp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/txp +.PATH: ${SRCTOP}/sys/dev/txp KMOD= if_txp SRCS= if_txp.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile index 9a21ddc..c97c409 100644 --- a/sys/modules/uart/Makefile +++ b/sys/modules/uart/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/uart +.PATH: ${SRCTOP}/sys/dev/uart .if ${MACHINE_CPUARCH} == "sparc64" uart_bus_ebus= uart_bus_ebus.c diff --git a/sys/modules/ubsec/Makefile b/sys/modules/ubsec/Makefile index d7835fa..5eebe97 100644 --- a/sys/modules/ubsec/Makefile +++ b/sys/modules/ubsec/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ubsec +.PATH: ${SRCTOP}/sys/dev/ubsec KMOD = ubsec SRCS = ubsec.c opt_ubsec.h SRCS += device_if.h bus_if.h pci_if.h diff --git a/sys/modules/ubser/Makefile b/sys/modules/ubser/Makefile index 8807bed..39414cc9 100644 --- a/sys/modules/ubser/Makefile +++ b/sys/modules/ubser/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -S= ${.CURDIR}/../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial KMOD= ubser diff --git a/sys/modules/uchcom/Makefile b/sys/modules/uchcom/Makefile index 65cdacd..3d1ce84 100644 --- a/sys/modules/uchcom/Makefile +++ b/sys/modules/uchcom/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -S= ${.CURDIR}/../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb KMOD= uchcom diff --git a/sys/modules/ucycom/Makefile b/sys/modules/ucycom/Makefile index d5849a9..751b708 100644 --- a/sys/modules/ucycom/Makefile +++ b/sys/modules/ucycom/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -S= ${.CURDIR}/../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb KMOD= ucycom diff --git a/sys/modules/udf/Makefile b/sys/modules/udf/Makefile index 220cba1..2f97e91 100644 --- a/sys/modules/udf/Makefile +++ b/sys/modules/udf/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/udf +.PATH: ${SRCTOP}/sys/fs/udf KMOD= udf diff --git a/sys/modules/udf_iconv/Makefile b/sys/modules/udf_iconv/Makefile index 008f722..21d31bb 100644 --- a/sys/modules/udf_iconv/Makefile +++ b/sys/modules/udf_iconv/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/udf +.PATH: ${SRCTOP}/sys/fs/udf KMOD= udf_iconv SRCS= udf_iconv.c -CFLAGS+= -I${.CURDIR}/../../ +CFLAGS+= -I${SRCTOP}/sys/ .include <bsd.kmod.mk> diff --git a/sys/modules/ufs/Makefile b/sys/modules/ufs/Makefile index 5b90df7..e587cf0 100644 --- a/sys/modules/ufs/Makefile +++ b/sys/modules/ufs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../ufs/ufs ${.CURDIR}/../../ufs/ffs +.PATH: ${SRCTOP}/sys/ufs/ufs ${SRCTOP}/sys/ufs/ffs KMOD= ufs SRCS= opt_ddb.h opt_directio.h opt_ffs.h opt_quota.h opt_suiddir.h opt_ufs.h \ diff --git a/sys/modules/uinput/Makefile b/sys/modules/uinput/Makefile index bdb9739..c1ecb52 100644 --- a/sys/modules/uinput/Makefile +++ b/sys/modules/uinput/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/evdev +.PATH: ${SRCTOP}/sys/dev/evdev KMOD= uinput SRCS= uinput.c diff --git a/sys/modules/unionfs/Makefile b/sys/modules/unionfs/Makefile index 64d38c5..88c6984 100644 --- a/sys/modules/unionfs/Makefile +++ b/sys/modules/unionfs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/unionfs +.PATH: ${SRCTOP}/sys/fs/unionfs KMOD= unionfs SRCS= vnode_if.h \ diff --git a/sys/modules/usb/Makefile b/sys/modules/usb/Makefile index f1c2224..fe170b7 100644 --- a/sys/modules/usb/Makefile +++ b/sys/modules/usb/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" # diff --git a/sys/modules/usb/at91dci/Makefile b/sys/modules/usb/at91dci/Makefile index 5bd646a..76aca16 100644 --- a/sys/modules/usb/at91dci/Makefile +++ b/sys/modules/usb/at91dci/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/controller diff --git a/sys/modules/usb/atmegadci/Makefile b/sys/modules/usb/atmegadci/Makefile index 0f73c375..481de3c 100644 --- a/sys/modules/usb/atmegadci/Makefile +++ b/sys/modules/usb/atmegadci/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/controller diff --git a/sys/modules/usb/atp/Makefile b/sys/modules/usb/atp/Makefile index 8e68d1c..21ff164 100644 --- a/sys/modules/usb/atp/Makefile +++ b/sys/modules/usb/atp/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/input diff --git a/sys/modules/usb/aue/Makefile b/sys/modules/usb/aue/Makefile index ac1ace1..6e67128 100644 --- a/sys/modules/usb/aue/Makefile +++ b/sys/modules/usb/aue/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/net diff --git a/sys/modules/usb/avr32dci/Makefile b/sys/modules/usb/avr32dci/Makefile index ea7d9c2..095cf51 100644 --- a/sys/modules/usb/avr32dci/Makefile +++ b/sys/modules/usb/avr32dci/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/controller diff --git a/sys/modules/usb/axe/Makefile b/sys/modules/usb/axe/Makefile index 10719f0..41f9c5e 100644 --- a/sys/modules/usb/axe/Makefile +++ b/sys/modules/usb/axe/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/net diff --git a/sys/modules/usb/axge/Makefile b/sys/modules/usb/axge/Makefile index bad4b94..873f4e8 100644 --- a/sys/modules/usb/axge/Makefile +++ b/sys/modules/usb/axge/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/usb/net +.PATH: ${SRCTOP}/sys/dev/usb/net KMOD= if_axge SRCS+= if_axge.c usbdevs.h diff --git a/sys/modules/usb/cdce/Makefile b/sys/modules/usb/cdce/Makefile index c16b794..0b1db33 100644 --- a/sys/modules/usb/cdce/Makefile +++ b/sys/modules/usb/cdce/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/net diff --git a/sys/modules/usb/cfumass/Makefile b/sys/modules/usb/cfumass/Makefile index f659b9b..584783d 100644 --- a/sys/modules/usb/cfumass/Makefile +++ b/sys/modules/usb/cfumass/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/usb/storage +.PATH: ${SRCTOP}/sys/dev/usb/storage KMOD= cfumass SRCS= bus_if.h device_if.h opt_bus.h opt_usb.h usb_if.h usbdevs.h \ diff --git a/sys/modules/usb/cue/Makefile b/sys/modules/usb/cue/Makefile index b13f7be..2ba17e2 100644 --- a/sys/modules/usb/cue/Makefile +++ b/sys/modules/usb/cue/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/net diff --git a/sys/modules/usb/dwc_otg/Makefile b/sys/modules/usb/dwc_otg/Makefile index 6ab1bfc..07d08d1 100644 --- a/sys/modules/usb/dwc_otg/Makefile +++ b/sys/modules/usb/dwc_otg/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/controller diff --git a/sys/modules/usb/ehci/Makefile b/sys/modules/usb/ehci/Makefile index 4f558cc..bc79da0 100644 --- a/sys/modules/usb/ehci/Makefile +++ b/sys/modules/usb/ehci/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/controller diff --git a/sys/modules/usb/g_audio/Makefile b/sys/modules/usb/g_audio/Makefile index 7425ade..efeae06 100644 --- a/sys/modules/usb/g_audio/Makefile +++ b/sys/modules/usb/g_audio/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/usb/gadget +.PATH: ${SRCTOP}/sys/dev/usb/gadget KMOD= g_audio diff --git a/sys/modules/usb/g_keyboard/Makefile b/sys/modules/usb/g_keyboard/Makefile index 302a242..9caeca2 100644 --- a/sys/modules/usb/g_keyboard/Makefile +++ b/sys/modules/usb/g_keyboard/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/usb/gadget +.PATH: ${SRCTOP}/sys/dev/usb/gadget KMOD= g_keyboard diff --git a/sys/modules/usb/g_modem/Makefile b/sys/modules/usb/g_modem/Makefile index 980849e..abc425f 100644 --- a/sys/modules/usb/g_modem/Makefile +++ b/sys/modules/usb/g_modem/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/usb/gadget +.PATH: ${SRCTOP}/sys/dev/usb/gadget KMOD= g_modem diff --git a/sys/modules/usb/g_mouse/Makefile b/sys/modules/usb/g_mouse/Makefile index b6d30de..e692326 100644 --- a/sys/modules/usb/g_mouse/Makefile +++ b/sys/modules/usb/g_mouse/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/usb/gadget +.PATH: ${SRCTOP}/sys/dev/usb/gadget KMOD= g_mouse diff --git a/sys/modules/usb/ipheth/Makefile b/sys/modules/usb/ipheth/Makefile index b055374..c65ae77 100644 --- a/sys/modules/usb/ipheth/Makefile +++ b/sys/modules/usb/ipheth/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/net diff --git a/sys/modules/usb/kue/Makefile b/sys/modules/usb/kue/Makefile index 0205f5c..2b3e504 100644 --- a/sys/modules/usb/kue/Makefile +++ b/sys/modules/usb/kue/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/net diff --git a/sys/modules/usb/mos/Makefile b/sys/modules/usb/mos/Makefile index 5d63649..cd61474 100644 --- a/sys/modules/usb/mos/Makefile +++ b/sys/modules/usb/mos/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/net diff --git a/sys/modules/usb/musb/Makefile b/sys/modules/usb/musb/Makefile index 0dbd65e..5002c30 100644 --- a/sys/modules/usb/musb/Makefile +++ b/sys/modules/usb/musb/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/controller diff --git a/sys/modules/usb/ohci/Makefile b/sys/modules/usb/ohci/Makefile index 40ed874..b04117a 100644 --- a/sys/modules/usb/ohci/Makefile +++ b/sys/modules/usb/ohci/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/controller diff --git a/sys/modules/usb/quirk/Makefile b/sys/modules/usb/quirk/Makefile index 1bb5d88..15b85d9 100644 --- a/sys/modules/usb/quirk/Makefile +++ b/sys/modules/usb/quirk/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/quirk diff --git a/sys/modules/usb/rsu/Makefile b/sys/modules/usb/rsu/Makefile index 755f4b8..c3c8fcb 100644 --- a/sys/modules/usb/rsu/Makefile +++ b/sys/modules/usb/rsu/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/usb/wlan +.PATH: ${SRCTOP}/sys/dev/usb/wlan KMOD = if_rsu SRCS = if_rsu.c if_rsureg.h \ diff --git a/sys/modules/usb/rsufw/Makefile.inc b/sys/modules/usb/rsufw/Makefile.inc index 3792b33..2f98177 100644 --- a/sys/modules/usb/rsufw/Makefile.inc +++ b/sys/modules/usb/rsufw/Makefile.inc @@ -11,5 +11,5 @@ FIRMWS= ${_FIRM}:${KMOD}:120 # FIRMWARE_LICENSE= realtek -${_FIRM}: ${.CURDIR}/../../../../contrib/dev/rsu/${_FIRM}.uu +${_FIRM}: ${SRCTOP}/sys/contrib/dev/rsu/${_FIRM}.uu uudecode -p $? > ${.TARGET} diff --git a/sys/modules/usb/rue/Makefile b/sys/modules/usb/rue/Makefile index e7e236e..69db3fe 100644 --- a/sys/modules/usb/rue/Makefile +++ b/sys/modules/usb/rue/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/net diff --git a/sys/modules/usb/rum/Makefile b/sys/modules/usb/rum/Makefile index de8d702..31c097b 100644 --- a/sys/modules/usb/rum/Makefile +++ b/sys/modules/usb/rum/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/wlan diff --git a/sys/modules/usb/run/Makefile b/sys/modules/usb/run/Makefile index 5acada4..05769bc 100644 --- a/sys/modules/usb/run/Makefile +++ b/sys/modules/usb/run/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/wlan diff --git a/sys/modules/usb/runfw/Makefile b/sys/modules/usb/runfw/Makefile index 3734153..47d09a5 100644 --- a/sys/modules/usb/runfw/Makefile +++ b/sys/modules/usb/runfw/Makefile @@ -5,7 +5,7 @@ FIRMWS= run.fw:runfw:1 CLEANFILES= run.fw -run.fw: ${.CURDIR}/../../../contrib/dev/run/rt2870.fw.uu +run.fw: ${SRCTOP}/sys/contrib/dev/run/rt2870.fw.uu uudecode -p $? > ${.TARGET} .include <bsd.kmod.mk> diff --git a/sys/modules/usb/saf1761otg/Makefile b/sys/modules/usb/saf1761otg/Makefile index f9d0e6f..446e750 100644 --- a/sys/modules/usb/saf1761otg/Makefile +++ b/sys/modules/usb/saf1761otg/Makefile @@ -29,7 +29,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/controller diff --git a/sys/modules/usb/smsc/Makefile b/sys/modules/usb/smsc/Makefile index eca1c9c..c7fe271 100644 --- a/sys/modules/usb/smsc/Makefile +++ b/sys/modules/usb/smsc/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/net diff --git a/sys/modules/usb/template/Makefile b/sys/modules/usb/template/Makefile index 4164177..99e2b1d 100644 --- a/sys/modules/usb/template/Makefile +++ b/sys/modules/usb/template/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/template diff --git a/sys/modules/usb/u3g/Makefile b/sys/modules/usb/u3g/Makefile index 545c379..3e25433 100644 --- a/sys/modules/usb/u3g/Makefile +++ b/sys/modules/usb/u3g/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/uark/Makefile b/sys/modules/usb/uark/Makefile index 7ef981e..b681f33 100644 --- a/sys/modules/usb/uark/Makefile +++ b/sys/modules/usb/uark/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/uath/Makefile b/sys/modules/usb/uath/Makefile index a734dfc..48ef747 100644 --- a/sys/modules/usb/uath/Makefile +++ b/sys/modules/usb/uath/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/usb/wlan +.PATH: ${SRCTOP}/sys/dev/usb/wlan KMOD = if_uath SRCS = if_uath.c if_uathvar.h if_uathreg.h \ diff --git a/sys/modules/usb/ubsa/Makefile b/sys/modules/usb/ubsa/Makefile index 8e5d6b4..9ac95dc 100644 --- a/sys/modules/usb/ubsa/Makefile +++ b/sys/modules/usb/ubsa/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/ubser/Makefile b/sys/modules/usb/ubser/Makefile index 1d023f7..efa030b 100644 --- a/sys/modules/usb/ubser/Makefile +++ b/sys/modules/usb/ubser/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/uchcom/Makefile b/sys/modules/usb/uchcom/Makefile index b6922e3..bf1184d 100644 --- a/sys/modules/usb/uchcom/Makefile +++ b/sys/modules/usb/uchcom/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/ucom/Makefile b/sys/modules/usb/ucom/Makefile index b7836a8..21dd995 100644 --- a/sys/modules/usb/ucom/Makefile +++ b/sys/modules/usb/ucom/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/ucycom/Makefile b/sys/modules/usb/ucycom/Makefile index f52e949..17ceba2 100644 --- a/sys/modules/usb/ucycom/Makefile +++ b/sys/modules/usb/ucycom/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/udav/Makefile b/sys/modules/usb/udav/Makefile index b3944f0e..242ae7f 100644 --- a/sys/modules/usb/udav/Makefile +++ b/sys/modules/usb/udav/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/net diff --git a/sys/modules/usb/udbp/Makefile b/sys/modules/usb/udbp/Makefile index 13097d8..ecebf18 100644 --- a/sys/modules/usb/udbp/Makefile +++ b/sys/modules/usb/udbp/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/misc diff --git a/sys/modules/usb/udl/Makefile b/sys/modules/usb/udl/Makefile index 5323883..5a14280 100644 --- a/sys/modules/usb/udl/Makefile +++ b/sys/modules/usb/udl/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/video diff --git a/sys/modules/usb/uep/Makefile b/sys/modules/usb/uep/Makefile index 4ffacde..2ea4527 100644 --- a/sys/modules/usb/uep/Makefile +++ b/sys/modules/usb/uep/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/input diff --git a/sys/modules/usb/uether/Makefile b/sys/modules/usb/uether/Makefile index ade780f..66e55b3 100644 --- a/sys/modules/usb/uether/Makefile +++ b/sys/modules/usb/uether/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/net diff --git a/sys/modules/usb/ufm/Makefile b/sys/modules/usb/ufm/Makefile index a09ddec..d19c5ec 100644 --- a/sys/modules/usb/ufm/Makefile +++ b/sys/modules/usb/ufm/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/misc diff --git a/sys/modules/usb/ufoma/Makefile b/sys/modules/usb/ufoma/Makefile index 5a62576..96062f2 100644 --- a/sys/modules/usb/ufoma/Makefile +++ b/sys/modules/usb/ufoma/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/uftdi/Makefile b/sys/modules/usb/uftdi/Makefile index 6a6433d..7a69798 100644 --- a/sys/modules/usb/uftdi/Makefile +++ b/sys/modules/usb/uftdi/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/ugensa/Makefile b/sys/modules/usb/ugensa/Makefile index 975847a..9fc20ca 100644 --- a/sys/modules/usb/ugensa/Makefile +++ b/sys/modules/usb/ugensa/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/ugold/Makefile b/sys/modules/usb/ugold/Makefile index 48af6ef..a6361ca6 100644 --- a/sys/modules/usb/ugold/Makefile +++ b/sys/modules/usb/ugold/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/misc diff --git a/sys/modules/usb/uhci/Makefile b/sys/modules/usb/uhci/Makefile index d5204ef..23d4b3c 100644 --- a/sys/modules/usb/uhci/Makefile +++ b/sys/modules/usb/uhci/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/controller diff --git a/sys/modules/usb/uhid/Makefile b/sys/modules/usb/uhid/Makefile index 406ed36..f1fa4f6 100644 --- a/sys/modules/usb/uhid/Makefile +++ b/sys/modules/usb/uhid/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/input diff --git a/sys/modules/usb/uhso/Makefile b/sys/modules/usb/uhso/Makefile index b08dc42..fb29a7f 100644 --- a/sys/modules/usb/uhso/Makefile +++ b/sys/modules/usb/uhso/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/net diff --git a/sys/modules/usb/uipaq/Makefile b/sys/modules/usb/uipaq/Makefile index cf87d18..ccb19d8 100644 --- a/sys/modules/usb/uipaq/Makefile +++ b/sys/modules/usb/uipaq/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/ukbd/Makefile b/sys/modules/usb/ukbd/Makefile index 3db978a..bbd721a 100644 --- a/sys/modules/usb/ukbd/Makefile +++ b/sys/modules/usb/ukbd/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/input diff --git a/sys/modules/usb/uled/Makefile b/sys/modules/usb/uled/Makefile index d53f302..2cd3ada 100644 --- a/sys/modules/usb/uled/Makefile +++ b/sys/modules/usb/uled/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/misc diff --git a/sys/modules/usb/ulpt/Makefile b/sys/modules/usb/ulpt/Makefile index 1e28742..37c585a 100644 --- a/sys/modules/usb/ulpt/Makefile +++ b/sys/modules/usb/ulpt/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/umass/Makefile b/sys/modules/usb/umass/Makefile index 7b3b674..bc33820 100644 --- a/sys/modules/usb/umass/Makefile +++ b/sys/modules/usb/umass/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/storage diff --git a/sys/modules/usb/umcs/Makefile b/sys/modules/usb/umcs/Makefile index be75fb5..58b7838 100644 --- a/sys/modules/usb/umcs/Makefile +++ b/sys/modules/usb/umcs/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/umct/Makefile b/sys/modules/usb/umct/Makefile index 263fc40..2b154c8 100644 --- a/sys/modules/usb/umct/Makefile +++ b/sys/modules/usb/umct/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/umodem/Makefile b/sys/modules/usb/umodem/Makefile index c767573..05b2683 100644 --- a/sys/modules/usb/umodem/Makefile +++ b/sys/modules/usb/umodem/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/umoscom/Makefile b/sys/modules/usb/umoscom/Makefile index 7851780..4b85789 100644 --- a/sys/modules/usb/umoscom/Makefile +++ b/sys/modules/usb/umoscom/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/ums/Makefile b/sys/modules/usb/ums/Makefile index 197415f..17826e5 100644 --- a/sys/modules/usb/ums/Makefile +++ b/sys/modules/usb/ums/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/input diff --git a/sys/modules/usb/upgt/Makefile b/sys/modules/usb/upgt/Makefile index 74aa145..d8d97f3 100644 --- a/sys/modules/usb/upgt/Makefile +++ b/sys/modules/usb/upgt/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/usb/wlan +.PATH: ${SRCTOP}/sys/dev/usb/wlan KMOD = if_upgt SRCS = if_upgt.c if_upgtvar.h \ diff --git a/sys/modules/usb/uplcom/Makefile b/sys/modules/usb/uplcom/Makefile index c07e78b..54cf7ab 100644 --- a/sys/modules/usb/uplcom/Makefile +++ b/sys/modules/usb/uplcom/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/ural/Makefile b/sys/modules/usb/ural/Makefile index 7e605de..afd56be 100644 --- a/sys/modules/usb/ural/Makefile +++ b/sys/modules/usb/ural/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/wlan diff --git a/sys/modules/usb/ure/Makefile b/sys/modules/usb/ure/Makefile index 61dfc37..d08514a 100644 --- a/sys/modules/usb/ure/Makefile +++ b/sys/modules/usb/ure/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/usb/net +.PATH: ${SRCTOP}/sys/dev/usb/net KMOD= if_ure SRCS+= if_ure.c usbdevs.h diff --git a/sys/modules/usb/urio/Makefile b/sys/modules/usb/urio/Makefile index 0dfc605..267f7c3 100644 --- a/sys/modules/usb/urio/Makefile +++ b/sys/modules/usb/urio/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/storage diff --git a/sys/modules/usb/urndis/Makefile b/sys/modules/usb/urndis/Makefile index 929572d..51fe5a9 100644 --- a/sys/modules/usb/urndis/Makefile +++ b/sys/modules/usb/urndis/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/net diff --git a/sys/modules/usb/urtw/Makefile b/sys/modules/usb/urtw/Makefile index e06ad06..2d282a2 100644 --- a/sys/modules/usb/urtw/Makefile +++ b/sys/modules/usb/urtw/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/usb/wlan +.PATH: ${SRCTOP}/sys/dev/usb/wlan KMOD = if_urtw SRCS = if_urtw.c if_urtwreg.h if_urtwvar.h \ diff --git a/sys/modules/usb/usb/Makefile b/sys/modules/usb/usb/Makefile index 704895e..02c01ad 100644 --- a/sys/modules/usb/usb/Makefile +++ b/sys/modules/usb/usb/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb $S/dev/usb/controller diff --git a/sys/modules/usb/usfs/Makefile b/sys/modules/usb/usfs/Makefile index a34aae1..92e2dec 100644 --- a/sys/modules/usb/usfs/Makefile +++ b/sys/modules/usb/usfs/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/storage diff --git a/sys/modules/usb/usie/Makefile b/sys/modules/usb/usie/Makefile index f7d7c07..7b43e2c 100644 --- a/sys/modules/usb/usie/Makefile +++ b/sys/modules/usb/usie/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/usb/net +.PATH: ${SRCTOP}/sys/dev/usb/net KMOD = usie SRCS = if_usie.c diff --git a/sys/modules/usb/uslcom/Makefile b/sys/modules/usb/uslcom/Makefile index adf3de7..9ef28d5 100644 --- a/sys/modules/usb/uslcom/Makefile +++ b/sys/modules/usb/uslcom/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/uss820dci/Makefile b/sys/modules/usb/uss820dci/Makefile index 743464a..b91e827 100644 --- a/sys/modules/usb/uss820dci/Makefile +++ b/sys/modules/usb/uss820dci/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/controller diff --git a/sys/modules/usb/uvisor/Makefile b/sys/modules/usb/uvisor/Makefile index c483259..6a732d2 100644 --- a/sys/modules/usb/uvisor/Makefile +++ b/sys/modules/usb/uvisor/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/uvscom/Makefile b/sys/modules/usb/uvscom/Makefile index 18589f1..de860bc 100644 --- a/sys/modules/usb/uvscom/Makefile +++ b/sys/modules/usb/uvscom/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/serial diff --git a/sys/modules/usb/wsp/Makefile b/sys/modules/usb/wsp/Makefile index 9f85b6a..a5215c0 100644 --- a/sys/modules/usb/wsp/Makefile +++ b/sys/modules/usb/wsp/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/input diff --git a/sys/modules/usb/xhci/Makefile b/sys/modules/usb/xhci/Makefile index 07dcba0..f133086 100644 --- a/sys/modules/usb/xhci/Makefile +++ b/sys/modules/usb/xhci/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/controller diff --git a/sys/modules/usb/zyd/Makefile b/sys/modules/usb/zyd/Makefile index 48dd9eb..9852e5c 100644 --- a/sys/modules/usb/zyd/Makefile +++ b/sys/modules/usb/zyd/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/usb/wlan diff --git a/sys/modules/utopia/Makefile b/sys/modules/utopia/Makefile index c1a4445..f999370 100644 --- a/sys/modules/utopia/Makefile +++ b/sys/modules/utopia/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/utopia +.PATH: ${SRCTOP}/sys/dev/utopia KMOD= utopia SRCS= utopia.c suni.c idtphy.c bus_if.h device_if.h diff --git a/sys/modules/vesa/Makefile b/sys/modules/vesa/Makefile index 69a0c33..610226f 100644 --- a/sys/modules/vesa/Makefile +++ b/sys/modules/vesa/Makefile @@ -4,10 +4,10 @@ KMOD= vesa SRCS= opt_vga.h opt_vesa.h SRCS+= bus_if.h device_if.h pci_if.h -.PATH: ${.CURDIR}/../../dev/fb +.PATH: ${SRCTOP}/sys/dev/fb SRCS+= vesa.c -.PATH: ${.CURDIR}/../../dev/syscons +.PATH: ${SRCTOP}/sys/dev/syscons SRCS+= scvesactl.c .include <bsd.kmod.mk> diff --git a/sys/modules/vge/Makefile b/sys/modules/vge/Makefile index a06ee56..2866aac 100644 --- a/sys/modules/vge/Makefile +++ b/sys/modules/vge/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/vge +.PATH: ${SRCTOP}/sys/dev/vge KMOD= if_vge SRCS= if_vge.c miibus_if.h device_if.h bus_if.h pci_if.h diff --git a/sys/modules/viawd/Makefile b/sys/modules/viawd/Makefile index c14c3e0..c075977 100644 --- a/sys/modules/viawd/Makefile +++ b/sys/modules/viawd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/viawd +.PATH: ${SRCTOP}/sys/dev/viawd KMOD= viawd SRCS= viawd.c device_if.h bus_if.h pci_if.h isa_if.h diff --git a/sys/modules/videomode/Makefile b/sys/modules/videomode/Makefile index 9b09aae..80f7aee 100644 --- a/sys/modules/videomode/Makefile +++ b/sys/modules/videomode/Makefile @@ -25,7 +25,7 @@ # SUCH DAMAGE. # -S= ${.CURDIR}/../.. +S= ${SRCTOP}/sys .PATH: $S/dev/videomode diff --git a/sys/modules/virtio/balloon/Makefile b/sys/modules/virtio/balloon/Makefile index 39c8b1c..59359a0 100644 --- a/sys/modules/virtio/balloon/Makefile +++ b/sys/modules/virtio/balloon/Makefile @@ -23,7 +23,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/virtio/balloon +.PATH: ${SRCTOP}/sys/dev/virtio/balloon KMOD= virtio_balloon SRCS= virtio_balloon.c diff --git a/sys/modules/virtio/block/Makefile b/sys/modules/virtio/block/Makefile index 5b73a6d..8afaf7d 100644 --- a/sys/modules/virtio/block/Makefile +++ b/sys/modules/virtio/block/Makefile @@ -23,7 +23,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/virtio/block +.PATH: ${SRCTOP}/sys/dev/virtio/block KMOD= virtio_blk SRCS= virtio_blk.c diff --git a/sys/modules/virtio/console/Makefile b/sys/modules/virtio/console/Makefile index 7490720..d4da9fc 100644 --- a/sys/modules/virtio/console/Makefile +++ b/sys/modules/virtio/console/Makefile @@ -23,7 +23,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/virtio/console +.PATH: ${SRCTOP}/sys/dev/virtio/console KMOD= virtio_console SRCS= virtio_console.c diff --git a/sys/modules/virtio/network/Makefile b/sys/modules/virtio/network/Makefile index 6dc3d86..beeddc7 100644 --- a/sys/modules/virtio/network/Makefile +++ b/sys/modules/virtio/network/Makefile @@ -23,7 +23,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/virtio/network +.PATH: ${SRCTOP}/sys/dev/virtio/network KMOD= if_vtnet SRCS= if_vtnet.c diff --git a/sys/modules/virtio/pci/Makefile b/sys/modules/virtio/pci/Makefile index 4d85669..3dbf403 100644 --- a/sys/modules/virtio/pci/Makefile +++ b/sys/modules/virtio/pci/Makefile @@ -23,7 +23,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/virtio/pci +.PATH: ${SRCTOP}/sys/dev/virtio/pci KMOD= virtio_pci SRCS= virtio_pci.c diff --git a/sys/modules/virtio/random/Makefile b/sys/modules/virtio/random/Makefile index 25954d0..3421480 100644 --- a/sys/modules/virtio/random/Makefile +++ b/sys/modules/virtio/random/Makefile @@ -23,7 +23,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/virtio/random +.PATH: ${SRCTOP}/sys/dev/virtio/random KMOD= virtio_random SRCS= virtio_random.c diff --git a/sys/modules/virtio/scsi/Makefile b/sys/modules/virtio/scsi/Makefile index 0363909..83c6505 100644 --- a/sys/modules/virtio/scsi/Makefile +++ b/sys/modules/virtio/scsi/Makefile @@ -23,7 +23,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/virtio/scsi +.PATH: ${SRCTOP}/sys/dev/virtio/scsi KMOD= virtio_scsi SRCS= virtio_scsi.c diff --git a/sys/modules/virtio/virtio/Makefile b/sys/modules/virtio/virtio/Makefile index e99b529..ed67f03 100644 --- a/sys/modules/virtio/virtio/Makefile +++ b/sys/modules/virtio/virtio/Makefile @@ -23,7 +23,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/virtio +.PATH: ${SRCTOP}/sys/dev/virtio KMOD= virtio diff --git a/sys/modules/vkbd/Makefile b/sys/modules/vkbd/Makefile index 500274c..250653b 100644 --- a/sys/modules/vkbd/Makefile +++ b/sys/modules/vkbd/Makefile @@ -1,7 +1,7 @@ # $Id: Makefile,v 1.1 2004/08/13 18:30:24 max Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/vkbd +.PATH: ${SRCTOP}/sys/dev/vkbd KMOD= vkbd SRCS= vkbd.c opt_compat.h opt_kbd.h diff --git a/sys/modules/vmm/Makefile b/sys/modules/vmm/Makefile index 86cb58c..882864a 100644 --- a/sys/modules/vmm/Makefile +++ b/sys/modules/vmm/Makefile @@ -7,13 +7,13 @@ SRCS+= vmx_assym.h svm_assym.h DPSRCS= vmx_genassym.c svm_genassym.c CFLAGS+= -DVMM_KEEP_STATS -DSMP -CFLAGS+= -I${.CURDIR}/../../amd64/vmm -CFLAGS+= -I${.CURDIR}/../../amd64/vmm/io -CFLAGS+= -I${.CURDIR}/../../amd64/vmm/intel -CFLAGS+= -I${.CURDIR}/../../amd64/vmm/amd +CFLAGS+= -I${SRCTOP}/sys/amd64/vmm +CFLAGS+= -I${SRCTOP}/sys/amd64/vmm/io +CFLAGS+= -I${SRCTOP}/sys/amd64/vmm/intel +CFLAGS+= -I${SRCTOP}/sys/amd64/vmm/amd # generic vmm support -.PATH: ${.CURDIR}/../../amd64/vmm +.PATH: ${SRCTOP}/sys/amd64/vmm SRCS+= vmm.c \ vmm_dev.c \ vmm_host.c \ @@ -25,7 +25,7 @@ SRCS+= vmm.c \ vmm_util.c \ x86.c -.PATH: ${.CURDIR}/../../amd64/vmm/io +.PATH: ${SRCTOP}/sys/amd64/vmm/io SRCS+= iommu.c \ ppt.c \ vatpic.c \ @@ -37,7 +37,7 @@ SRCS+= iommu.c \ vrtc.c # intel-specific files -.PATH: ${.CURDIR}/../../amd64/vmm/intel +.PATH: ${SRCTOP}/sys/amd64/vmm/intel SRCS+= ept.c \ vmcs.c \ vmx_msr.c \ @@ -46,7 +46,7 @@ SRCS+= ept.c \ vtd.c # amd-specific files -.PATH: ${.CURDIR}/../../amd64/vmm/amd +.PATH: ${SRCTOP}/sys/amd64/vmm/amd SRCS+= vmcb.c \ svm.c \ svm_support.S \ diff --git a/sys/modules/vmware/vmxnet3/Makefile b/sys/modules/vmware/vmxnet3/Makefile index 340e593..9debcc6 100644 --- a/sys/modules/vmware/vmxnet3/Makefile +++ b/sys/modules/vmware/vmxnet3/Makefile @@ -23,7 +23,7 @@ # SUCH DAMAGE. # -.PATH: ${.CURDIR}/../../../dev/vmware/vmxnet3 +.PATH: ${SRCTOP}/sys/dev/vmware/vmxnet3 KMOD= if_vmx SRCS= if_vmx.c diff --git a/sys/modules/vnic/Makefile b/sys/modules/vnic/Makefile index 69d1590..d1e0a8e 100644 --- a/sys/modules/vnic/Makefile +++ b/sys/modules/vnic/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" CFLAGS+= -DFDT diff --git a/sys/modules/vnic/mrmlbus/Makefile b/sys/modules/vnic/mrmlbus/Makefile index 1d1eb34..e3d3b28 100644 --- a/sys/modules/vnic/mrmlbus/Makefile +++ b/sys/modules/vnic/mrmlbus/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/vnic diff --git a/sys/modules/vnic/thunder_bgx/Makefile b/sys/modules/vnic/thunder_bgx/Makefile index 4926e7a..d128438 100644 --- a/sys/modules/vnic/thunder_bgx/Makefile +++ b/sys/modules/vnic/thunder_bgx/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/vnic diff --git a/sys/modules/vnic/thunder_mdio/Makefile b/sys/modules/vnic/thunder_mdio/Makefile index 78ca8f8..33c3b9c 100644 --- a/sys/modules/vnic/thunder_mdio/Makefile +++ b/sys/modules/vnic/thunder_mdio/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/vnic diff --git a/sys/modules/vnic/vnicpf/Makefile b/sys/modules/vnic/vnicpf/Makefile index 206f75f..111de73 100644 --- a/sys/modules/vnic/vnicpf/Makefile +++ b/sys/modules/vnic/vnicpf/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/vnic diff --git a/sys/modules/vnic/vnicvf/Makefile b/sys/modules/vnic/vnicvf/Makefile index 9614cc0..52a3c23 100644 --- a/sys/modules/vnic/vnicvf/Makefile +++ b/sys/modules/vnic/vnicvf/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" -S= ${.CURDIR}/../../.. +S= ${SRCTOP}/sys .PATH: $S/dev/vnic diff --git a/sys/modules/vpo/Makefile b/sys/modules/vpo/Makefile index cad169a..afb5eb1 100644 --- a/sys/modules/vpo/Makefile +++ b/sys/modules/vpo/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ppbus +.PATH: ${SRCTOP}/sys/dev/ppbus KMOD= vpo SRCS= bus_if.h device_if.h ppbus_if.h \ diff --git a/sys/modules/vr/Makefile b/sys/modules/vr/Makefile index e3ce623..3f56ee8 100644 --- a/sys/modules/vr/Makefile +++ b/sys/modules/vr/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/vr +.PATH: ${SRCTOP}/sys/dev/vr KMOD= if_vr SRCS= if_vr.c device_if.h bus_if.h pci_if.h diff --git a/sys/modules/vte/Makefile b/sys/modules/vte/Makefile index 932181c..f6628a4 100644 --- a/sys/modules/vte/Makefile +++ b/sys/modules/vte/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/vte +.PATH: ${SRCTOP}/sys/dev/vte KMOD= if_vte SRCS= if_vte.c device_if.h bus_if.h pci_if.h miibus_if.h diff --git a/sys/modules/vx/Makefile b/sys/modules/vx/Makefile index 2086dc8..47f5c79 100644 --- a/sys/modules/vx/Makefile +++ b/sys/modules/vx/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys .include "${SYSDIR}/conf/kern.opts.mk" .PATH: ${SYSDIR}/dev/vx diff --git a/sys/modules/vxge/Makefile b/sys/modules/vxge/Makefile index d864400..8435941 100644 --- a/sys/modules/vxge/Makefile +++ b/sys/modules/vxge/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/vxge -VPATH = ${.CURDIR}/../../dev/vxge/vxgehal +.PATH: ${SRCTOP}/sys/dev/vxge +VPATH = ${SRCTOP}/sys/dev/vxge/vxgehal CFLAGS_VXGE = diff --git a/sys/modules/wb/Makefile b/sys/modules/wb/Makefile index 77b63b5..faaabae 100644 --- a/sys/modules/wb/Makefile +++ b/sys/modules/wb/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/wb +.PATH: ${SRCTOP}/sys/dev/wb KMOD= if_wb SRCS= if_wb.c device_if.h diff --git a/sys/modules/wbwd/Makefile b/sys/modules/wbwd/Makefile index e727302..28fa951 100644 --- a/sys/modules/wbwd/Makefile +++ b/sys/modules/wbwd/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/wbwd +.PATH: ${SRCTOP}/sys/dev/wbwd KMOD= wbwd SRCS= wbwd.c diff --git a/sys/modules/wi/Makefile b/sys/modules/wi/Makefile index 46215a8..6268ddb 100644 --- a/sys/modules/wi/Makefile +++ b/sys/modules/wi/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/wi +.PATH: ${SRCTOP}/sys/dev/wi KMOD= if_wi SRCS= if_wi.c if_wi_pccard.c if_wi_pci.c \ diff --git a/sys/modules/wlan/Makefile b/sys/modules/wlan/Makefile index 344ff4e..6ca57ca1a 100644 --- a/sys/modules/wlan/Makefile +++ b/sys/modules/wlan/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net80211 +.PATH: ${SRCTOP}/sys/net80211 KMOD= wlan SRCS= ieee80211.c ieee80211_action.c ieee80211_ageq.c \ diff --git a/sys/modules/wlan_acl/Makefile b/sys/modules/wlan_acl/Makefile index f0ce538..13d7ec2 100644 --- a/sys/modules/wlan_acl/Makefile +++ b/sys/modules/wlan_acl/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net80211 +.PATH: ${SRCTOP}/sys/net80211 KMOD= wlan_acl SRCS= ieee80211_acl.c diff --git a/sys/modules/wlan_amrr/Makefile b/sys/modules/wlan_amrr/Makefile index 1c9ef8c..226111f 100644 --- a/sys/modules/wlan_amrr/Makefile +++ b/sys/modules/wlan_amrr/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net80211 +.PATH: ${SRCTOP}/sys/net80211 KMOD= wlan_amrr SRCS= ieee80211_amrr.c diff --git a/sys/modules/wlan_ccmp/Makefile b/sys/modules/wlan_ccmp/Makefile index 99274dc..2197823 100644 --- a/sys/modules/wlan_ccmp/Makefile +++ b/sys/modules/wlan_ccmp/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net80211 -.PATH: ${.CURDIR}/../../crypto/rijndael +.PATH: ${SRCTOP}/sys/net80211 +.PATH: ${SRCTOP}/sys/crypto/rijndael KMOD= wlan_ccmp SRCS= ieee80211_crypto_ccmp.c diff --git a/sys/modules/wlan_rssadapt/Makefile b/sys/modules/wlan_rssadapt/Makefile index 732db05..5a446a7 100644 --- a/sys/modules/wlan_rssadapt/Makefile +++ b/sys/modules/wlan_rssadapt/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net80211 +.PATH: ${SRCTOP}/sys/net80211 KMOD= wlan_rssadapt SRCS= ieee80211_rssadapt.c diff --git a/sys/modules/wlan_tkip/Makefile b/sys/modules/wlan_tkip/Makefile index 13ea063..d451b05 100644 --- a/sys/modules/wlan_tkip/Makefile +++ b/sys/modules/wlan_tkip/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net80211 +.PATH: ${SRCTOP}/sys/net80211 KMOD= wlan_tkip SRCS= ieee80211_crypto_tkip.c diff --git a/sys/modules/wlan_wep/Makefile b/sys/modules/wlan_wep/Makefile index 6ebbdb0..2a446b7 100644 --- a/sys/modules/wlan_wep/Makefile +++ b/sys/modules/wlan_wep/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net80211 +.PATH: ${SRCTOP}/sys/net80211 KMOD= wlan_wep SRCS= ieee80211_crypto_wep.c diff --git a/sys/modules/wlan_xauth/Makefile b/sys/modules/wlan_xauth/Makefile index 308d8f2..afe3c17 100644 --- a/sys/modules/wlan_xauth/Makefile +++ b/sys/modules/wlan_xauth/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net80211 +.PATH: ${SRCTOP}/sys/net80211 KMOD= wlan_xauth SRCS= ieee80211_xauth.c diff --git a/sys/modules/wpi/Makefile b/sys/modules/wpi/Makefile index 2e0da73..a4bb0d5 100644 --- a/sys/modules/wpi/Makefile +++ b/sys/modules/wpi/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/wpi +.PATH: ${SRCTOP}/sys/dev/wpi KMOD = if_wpi SRCS = if_wpi.c device_if.h bus_if.h pci_if.h opt_wpi.h opt_wlan.h diff --git a/sys/modules/wpifw/Makefile b/sys/modules/wpifw/Makefile index d035a80..bb23f3c 100644 --- a/sys/modules/wpifw/Makefile +++ b/sys/modules/wpifw/Makefile @@ -1,13 +1,13 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../contrib/dev/wpi +.PATH: ${SRCTOP}/sys/contrib/dev/wpi KMOD= wpifw FIRMWS= iwlwifi-3945-15.32.2.9.fw:wpifw:153229 CLEANFILES= iwlwifi-3945-15.32.2.9.fw -iwlwifi-3945-15.32.2.9.fw: ${.CURDIR}/../../contrib/dev/wpi/iwlwifi-3945-15.32.2.9.fw.uu - uudecode -p ${.CURDIR}/../../contrib/dev/wpi/iwlwifi-3945-15.32.2.9.fw.uu > ${.TARGET} +iwlwifi-3945-15.32.2.9.fw: iwlwifi-3945-15.32.2.9.fw.uu + uudecode -p ${.ALLSRC} > ${.TARGET} .include <bsd.kmod.mk> diff --git a/sys/modules/wtap/Makefile b/sys/modules/wtap/Makefile index 58f60fb..4386bf0d 100644 --- a/sys/modules/wtap/Makefile +++ b/sys/modules/wtap/Makefile @@ -5,13 +5,13 @@ KMOD = wtap # Enumerate Source files for kernel module -.PATH: ${.CURDIR}/../../dev/wtap +.PATH: ${SRCTOP}/sys/dev/wtap SRCS = if_wtap_module.c if_wtap.c if_medium.c -.PATH: ${.CURDIR}/../../dev/wtap/wtap_hal +.PATH: ${SRCTOP}/sys/dev/wtap/wtap_hal SRCS += hal.c -.PATH: ${.CURDIR}/../../dev/wtap/plugins +.PATH: ${SRCTOP}/sys/dev/wtap/plugins SRCS += visibility.c SRCS += opt_global.h diff --git a/sys/modules/x86bios/Makefile b/sys/modules/x86bios/Makefile index f8cc606..5d58856 100644 --- a/sys/modules/x86bios/Makefile +++ b/sys/modules/x86bios/Makefile @@ -4,8 +4,8 @@ KMOD= x86bios SRCS= opt_x86bios.h SRCS+= bus_if.h device_if.h pci_if.h -.PATH: ${.CURDIR}/../../contrib/x86emu -.PATH: ${.CURDIR}/../../compat/x86bios +.PATH: ${SRCTOP}/sys/contrib/x86emu +.PATH: ${SRCTOP}/sys/compat/x86bios SRCS+= x86bios.c .if ${MACHINE_ARCH} != "i386" SRCS+= x86emu.c diff --git a/sys/modules/xe/Makefile b/sys/modules/xe/Makefile index f900854..8ebd53f 100644 --- a/sys/modules/xe/Makefile +++ b/sys/modules/xe/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/xe +.PATH: ${SRCTOP}/sys/dev/xe KMOD= if_xe SRCS= if_xe.c if_xe_pccard.c diff --git a/sys/modules/xl/Makefile b/sys/modules/xl/Makefile index 417f3fc..7809a33 100644 --- a/sys/modules/xl/Makefile +++ b/sys/modules/xl/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/xl +.PATH: ${SRCTOP}/sys/dev/xl KMOD= if_xl SRCS= bus_if.h device_if.h if_xl.c miibus_if.h miidevs.h pci_if.h xlphy.c diff --git a/sys/modules/zfs/Makefile b/sys/modules/zfs/Makefile index b02254d..0ce0ac9 100644 --- a/sys/modules/zfs/Makefile +++ b/sys/modules/zfs/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -SYSDIR?=${.CURDIR}/../.. +SYSDIR?=${SRCTOP}/sys KMOD= zfs diff --git a/sys/modules/zlib/Makefile b/sys/modules/zlib/Makefile index 235d1c7..26a023c 100644 --- a/sys/modules/zlib/Makefile +++ b/sys/modules/zlib/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../libkern +.PATH: ${SRCTOP}/sys/libkern KMOD= zlib SRCS= zlib.c |