xref: /openbmc/linux/drivers/tc/Makefile (revision 1da177e4)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the linux kernel.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvalds# Object file lists.
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsobj-$(CONFIG_TC) += tc.o
81da177e4SLinus Torvaldsobj-$(CONFIG_ZS) += zs.o
91da177e4SLinus Torvaldsobj-$(CONFIG_VT) += lk201.o lk201-map.o lk201-remap.o
101da177e4SLinus Torvalds
111da177e4SLinus Torvalds$(obj)/lk201-map.o: $(obj)/lk201-map.c
121da177e4SLinus Torvalds
131da177e4SLinus Torvalds# Uncomment if you're changing the keymap and have an appropriate
141da177e4SLinus Torvalds# loadkeys version for the map. By default, we'll use the shipped
151da177e4SLinus Torvalds# versions.
161da177e4SLinus Torvalds# GENERATE_KEYMAP := 1
171da177e4SLinus Torvalds
181da177e4SLinus Torvaldsifdef GENERATE_KEYMAP
191da177e4SLinus Torvalds
201da177e4SLinus Torvalds$(obj)/lk201-map.c: $(obj)/%.c: $(src)/%.map
211da177e4SLinus Torvalds	loadkeys --mktable $< > $@
221da177e4SLinus Torvalds
231da177e4SLinus Torvaldsendif
24