xref: /openbmc/linux/drivers/tc/Makefile (revision 8b4a4080)
1#
2# Makefile for the linux kernel.
3#
4
5# Object file lists.
6
7obj-$(CONFIG_TC) += tc.o tc-driver.o
8obj-$(CONFIG_VT) += lk201.o lk201-map.o lk201-remap.o
9
10$(obj)/lk201-map.o: $(obj)/lk201-map.c
11
12# Uncomment if you're changing the keymap and have an appropriate
13# loadkeys version for the map. By default, we'll use the shipped
14# versions.
15# GENERATE_KEYMAP := 1
16
17ifdef GENERATE_KEYMAP
18
19$(obj)/lk201-map.c: $(obj)/%.c: $(src)/%.map
20	loadkeys --mktable $< > $@
21
22endif
23