patch-1.3.1 linux/drivers/char/Makefile

Next file: linux/drivers/char/README.unicode
Previous file: linux/arch/i386/boot/setup.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.0/linux/drivers/char/Makefile linux/drivers/char/Makefile
@@ -16,6 +16,11 @@
 .c.o:
 	$(CC) $(CFLAGS) -c $<
 
+#
+# This file contains the font map for the default (hardware) font
+#
+FONTMAPFILE = cp437.uni
+
 OBJS  = tty_io.o n_tty.o console.o keyboard.o serial.o \
 	tty_ioctl.o pty.o vt.o mem.o vc_screen.o \
 	defkeymap.o consolemap.o vesa_blank.o selection.o
@@ -24,7 +29,6 @@
 	tty_ioctl.c pty.c vt.c mem.c vc_screen.c \
 	defkeymap.c consolemap.c vesa_blank.c selection.c
 
-
 ifdef CONFIG_CYCLADES
 OBJS := $(OBJS) cyclades.o
 SRCS := $(SRCS) cyclades.c
@@ -98,13 +102,19 @@
 
 endif
 
-dep:
+dep: uni_hash_tbl.h
 	$(CPP) -M $(SRCS) > .depend
 ifdef MODULES
 	$(CPP) -M -DMODULE $(MODULES:.o=.c) >> .depend
 endif
 
 dummy:
+
+conhakehash: conmakehash.c
+	$(HOSTCC) -o conmakehash conmakehash.c
+
+uni_hash_tbl.h: $(FONTMAPFILE) conmakehash
+	./conmakehash $(FONTMAPFILE) 641 283 6 > uni_hash_tbl.h
 
 #
 # include a dependency file if one exists

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this