mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-30 20:35:03 +01:00
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.
47 lines
995 B
Makefile
47 lines
995 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/agp
|
|
|
|
KMOD= agp
|
|
SRCS= agp.c agp_if.c
|
|
.if ${MACHINE_CPUARCH} == "i386"
|
|
SRCS+= agp_i810.c agp_intel.c agp_via.c agp_sis.c agp_ali.c agp_amd.c \
|
|
agp_nvidia.c agp_ati.c
|
|
.endif
|
|
.if ${MACHINE} == "i386"
|
|
SRCS+= agp_amd64.c
|
|
.endif
|
|
.if ${MACHINE_CPUARCH} == "amd64"
|
|
SRCS+= agp_amd64.c agp_i810.c agp_via.c
|
|
.endif
|
|
.if ${MACHINE_CPUARCH} == "powerpc"
|
|
SRCS+= agp_apple.c
|
|
.endif
|
|
SRCS+= device_if.h bus_if.h agp_if.h pci_if.h
|
|
SRCS+= opt_agp.h
|
|
|
|
EXPORT_SYMS= agp_find_device \
|
|
agp_state \
|
|
agp_acquire \
|
|
agp_release \
|
|
agp_enable \
|
|
agp_alloc_memory \
|
|
agp_free_memory \
|
|
agp_bind_memory \
|
|
agp_unbind_memory \
|
|
agp_memory_info
|
|
|
|
|
|
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
|
|
EXPORT_SYMS+= intel_gtt_clear_range \
|
|
intel_gtt_insert_pages \
|
|
intel_gtt_get \
|
|
intel_gtt_chipset_flush \
|
|
intel_gtt_unmap_memory \
|
|
intel_gtt_map_memory \
|
|
intel_gtt_insert_sg_entries \
|
|
intel_gtt_get_bridge_device
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|