summaryrefslogtreecommitdiffstats
path: root/drivers/tty/vt/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-11-08 10:55:29 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-11-08 10:55:29 -0800
commit5398a64c63a69a0ac33dbae458ea4aab0dc23f14 (patch)
treeae3c668c3247df18db0a293cbcfad4a9e53d0fd7 /drivers/tty/vt/Makefile
parent764e028e24d33f6e375d2a5df450c9d0180fbc00 (diff)
parent1db01135df7aa8b456e093a781f1d7f7016ec01e (diff)
downloadop-kernel-dev-5398a64c63a69a0ac33dbae458ea4aab0dc23f14.zip
op-kernel-dev-5398a64c63a69a0ac33dbae458ea4aab0dc23f14.tar.gz
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6: TTY: move .gitignore from drivers/char/ to drivers/tty/vt/ TTY: create drivers/tty/vt and move the vt code there TTY: create drivers/tty and move the tty core files there
Diffstat (limited to 'drivers/tty/vt/Makefile')
-rw-r--r--drivers/tty/vt/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/tty/vt/Makefile b/drivers/tty/vt/Makefile
new file mode 100644
index 0000000..14a51c9
--- /dev/null
+++ b/drivers/tty/vt/Makefile
@@ -0,0 +1,34 @@
+#
+# This file contains the font map for the default (hardware) font
+#
+FONTMAPFILE = cp437.uni
+
+obj-$(CONFIG_VT) += vt_ioctl.o vc_screen.o \
+ selection.o keyboard.o
+obj-$(CONFIG_CONSOLE_TRANSLATIONS) += consolemap.o consolemap_deftbl.o
+obj-$(CONFIG_HW_CONSOLE) += vt.o defkeymap.o
+
+# Files generated that shall be removed upon make clean
+clean-files := consolemap_deftbl.c defkeymap.c
+
+quiet_cmd_conmk = CONMK $@
+ cmd_conmk = scripts/conmakehash $< > $@
+
+$(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE)
+ $(call cmd,conmk)
+
+$(obj)/defkeymap.o: $(obj)/defkeymap.c
+
+# Uncomment if you're changing the keymap and have an appropriate
+# loadkeys version for the map. By default, we'll use the shipped
+# versions.
+# GENERATE_KEYMAP := 1
+
+ifdef GENERATE_KEYMAP
+
+$(obj)/defkeymap.c: $(obj)/%.c: $(src)/%.map
+ loadkeys --mktable $< > $@.tmp
+ sed -e 's/^static *//' $@.tmp > $@
+ rm $@.tmp
+
+endif
OpenPOWER on IntegriCloud