summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lkm/vesa/Makefile19
-rw-r--r--sys/modules/vesa/Makefile19
2 files changed, 38 insertions, 0 deletions
diff --git a/lkm/vesa/Makefile b/lkm/vesa/Makefile
new file mode 100644
index 0000000..adf66ba
--- /dev/null
+++ b/lkm/vesa/Makefile
@@ -0,0 +1,19 @@
+# $Id: $
+
+.PATH: ${.CURDIR}/../../../sys/i386/isa
+KMOD = vesa_mod
+SRCS = vesa.c scvesactl.c sc.h opt_vesa.h opt_vm86.h
+NOMAN =
+CFLAGS += -DVESA_MODULE
+CLEANFILES += sc.h opt_vesa.h opt_vm86.h
+
+sc.h:
+ echo "#define NSC 1" > sc.h
+
+opt_vesa.h:
+ echo "#define VESA 1" > opt_vesa.h
+
+opt_vm86.h:
+ echo "#define VM86 1" > opt_vm86.h
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/vesa/Makefile b/sys/modules/vesa/Makefile
new file mode 100644
index 0000000..adf66ba
--- /dev/null
+++ b/sys/modules/vesa/Makefile
@@ -0,0 +1,19 @@
+# $Id: $
+
+.PATH: ${.CURDIR}/../../../sys/i386/isa
+KMOD = vesa_mod
+SRCS = vesa.c scvesactl.c sc.h opt_vesa.h opt_vm86.h
+NOMAN =
+CFLAGS += -DVESA_MODULE
+CLEANFILES += sc.h opt_vesa.h opt_vm86.h
+
+sc.h:
+ echo "#define NSC 1" > sc.h
+
+opt_vesa.h:
+ echo "#define VESA 1" > opt_vesa.h
+
+opt_vm86.h:
+ echo "#define VM86 1" > opt_vm86.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud