diff options
author | Harald Koerfgen <hkoerfg@web.de> | 2001-01-12 20:44:17 +0000 |
---|---|---|
committer | Harald Koerfgen <hkoerfg@web.de> | 2001-01-12 20:44:17 +0000 |
commit | 08a66f4cc016bc023bafb606b4057d18a91ad859 (patch) | |
tree | 79ec60172b6b18e8eaabe1ec004ee625af2fdb89 /drivers | |
parent | fe33a6f1f3f8c648a5c16210d89901313f5d0a4e (diff) |
Let it compile for my /260
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/tc/Makefile | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/drivers/tc/Makefile b/drivers/tc/Makefile index 39a1236d6..40c43ad72 100644 --- a/drivers/tc/Makefile +++ b/drivers/tc/Makefile @@ -7,13 +7,36 @@ # # Note 2! The CFLAGS definitions are now in the main makefile... +# All of the (potential) objects that export symbols. +# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'. + export-objs := tc.o +# Object file lists. + +obj-y := +obj-m := +obj-n := +obj- := + obj-$(CONFIG_TC) += tc.o obj-$(CONFIG_ZS) += zs.o obj-$(CONFIG_VT) += lk201.o lk201-map.o lk201-remap.o -lk201-map.c: lk201-map.map - loadkeys --mktable lk201-map.map > lk201-map.c +# Files that are both resident and modular: remove from modular. + +obj-m := $(filter-out $(obj-y), $(obj-m)) + +# Translate to Rules.make lists. + +L_TARGET := tc.a + +L_OBJS := $(sort $(filter-out $(export-objs), $(obj-y))) +LX_OBJS := $(sort $(filter $(export-objs), $(obj-y))) +M_OBJS := $(sort $(filter-out $(export-objs), $(obj-m))) +MX_OBJS := $(sort $(filter $(export-objs), $(obj-m))) include $(TOPDIR)/Rules.make + +lk201-map.c: lk201-map.map + loadkeys --mktable lk201-map.map > lk201-map.c |