2 # Makefile for the linux kernel.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 # Note 2! The CFLAGS definitions are now in the main makefile...
10 # All of the (potential) objects that export symbols.
11 # This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
22 obj-$(CONFIG_TC) += tc.o
23 obj-$(CONFIG_ZS) += zs.o
24 obj-$(CONFIG_VT) += lk201.o lk201-map.o lk201-remap.o
26 # Files that are both resident and modular: remove from modular.
28 obj-m := $(filter-out $(obj-y), $(obj-m))
30 # Translate to Rules.make lists.
34 L_OBJS := $(sort $(filter-out $(export-objs), $(obj-y)))
35 LX_OBJS := $(sort $(filter $(export-objs), $(obj-y)))
36 M_OBJS := $(sort $(filter-out $(export-objs), $(obj-m)))
37 MX_OBJS := $(sort $(filter $(export-objs), $(obj-m)))
39 include $(TOPDIR)/Rules.make
41 lk201-map.c: lk201-map.map
42 loadkeys --mktable lk201-map.map > lk201-map.c