mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 14:56:13 +01:00
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:
parent
9147e09e64
commit
a7769538cc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61933
@ -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>
|
||||
|
@ -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>
|
||||
|
10
sys/modules/tdfx/README.linuxemu
Normal file
10
sys/modules/tdfx/README.linuxemu
Normal 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
|
Loading…
Reference in New Issue
Block a user