Took TDFX_VERBOSE out of Makefile, added $FreeBSD$ and option for DEBUG.

Added a notice for linux users that the kld isn't working for them yet, so
no linux emu from the kld. It compiles statically alright though.
This commit is contained in:
Coleman Kane 2000-06-22 05:47:16 +00:00
parent 9147e09e64
commit a7769538cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61933
3 changed files with 18 additions and 8 deletions

View File

@ -1,3 +1,4 @@
# $FreeBSD$
.PATH: $(.CURDIR)/../../dev/tdfx
KMOD = tdfx
NOMAN = YES
@ -6,13 +7,12 @@ SRCS = opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
INCSRC = ../../sys
# Uncomment this for debugging messages
TDFX_VERBOSE = "\#define TDFX_VERBOSE"
#CFLAGS += -DDEBUG
# kludge to allow opt_tdfx.h to exist
pci.h: opt_tdfx.h
pci.h:
echo "#define NPCI 1" > pci.h
opt_tdfx.h:
echo $(TDFX_VERBOSE) > opt_tdfx.h
touch opt_tdfx.h
.include <bsd.kmod.mk>

View File

@ -1,3 +1,4 @@
# $FreeBSD$
.PATH: $(.CURDIR)/../../dev/tdfx
KMOD = tdfx
NOMAN = YES
@ -6,13 +7,12 @@ SRCS = opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
INCSRC = ../../sys
# Uncomment this for debugging messages
TDFX_VERBOSE = "\#define TDFX_VERBOSE"
#CFLAGS += -DDEBUG
# kludge to allow opt_tdfx.h to exist
pci.h: opt_tdfx.h
pci.h:
echo "#define NPCI 1" > pci.h
opt_tdfx.h:
echo $(TDFX_VERBOSE) > opt_tdfx.h
touch opt_tdfx.h
.include <bsd.kmod.mk>

View File

@ -0,0 +1,10 @@
$FreeBSD$
NOTIC TO USERS OF LINUX EMULATION CODE
Due to some strange workings with the linuxulator, as of 21 Jun 200, this
module won't load support for linux emulation, making it rather pointless,
as there are no non-linux glide progs for freebsd yet. You can, however,
compile both of them statically into the kernel using:
device tdfx
options COMPAT_LINUX
options LINUX_TDFX