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