summaryrefslogtreecommitdiffstats
path: root/sys/modules/vesa
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-01-29 15:08:56 +0000
committerpeter <peter@FreeBSD.org>2000-01-29 15:08:56 +0000
commitd7e5eb3faac173e7d9640e098621746b86213739 (patch)
tree9a2474b2f7c68ec2b1e97af2ab3b083c722e9ad7 /sys/modules/vesa
parente06faf1d941fbd0cfd397f781f3986049ecce128 (diff)
downloadFreeBSD-src-d7e5eb3faac173e7d9640e098621746b86213739.zip
FreeBSD-src-d7e5eb3faac173e7d9640e098621746b86213739.tar.gz
Use config's conditional compilation rather than using #ifdefs that make
modular compilation harder. I'm doing this because people seem to like cut/pasting examples of bad practices in existing code.
Diffstat (limited to 'sys/modules/vesa')
-rw-r--r--sys/modules/vesa/Makefile13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/modules/vesa/Makefile b/sys/modules/vesa/Makefile
index 16aa8d0..e2da541 100644
--- a/sys/modules/vesa/Makefile
+++ b/sys/modules/vesa/Makefile
@@ -2,18 +2,7 @@
.PATH: ${.CURDIR}/../../dev/syscons ${.CURDIR}/../../i386/isa
KMOD = vesa
-SRCS = vesa.c scvesactl.c sc.h vga.h opt_syscons.h opt_vga.h \
- opt_vesa.h opt_fb.h
+SRCS = vesa.c scvesactl.c opt_vga.h
NOMAN =
-CLEANFILES = sc.h vga.h
-
-sc.h:
- echo "#define NSC 1" > sc.h
-
-vga.h:
- echo "#define NVGA 1" > vga.h
-
-opt_vesa.h:
- echo "#define VESA 1" > opt_vesa.h
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud