diff options
Diffstat (limited to 'drivers/char/Makefile')
-rw-r--r-- | drivers/char/Makefile | 61 |
1 files changed, 54 insertions, 7 deletions
diff --git a/drivers/char/Makefile b/drivers/char/Makefile index 9a3bab5e1..093ebb07e 100644 --- a/drivers/char/Makefile +++ b/drivers/char/Makefile @@ -56,14 +56,20 @@ ifndef CONFIG_SUN_KEYBOARD ifndef CONFIG_DECSTATION ifndef CONFIG_BAGET_MIPS ifdef CONFIG_VT -L_OBJS += keyboard.o +LX_OBJS += keyboard.o endif -ifneq ($(ARCH),m68k) -L_OBJS += pc_keyb.o defkeymap.o + ifneq ($(ARCH),m68k) + L_OBJS += pc_keyb.o defkeymap.o + endif +else +ifdef CONFIG_PCI +L_OBJS += defkeymap.o +LX_OBJS += keyboard.o endif -ifdef CONFIG_MAGIC_SYSRQ -L_OBJS += sysrq.o endif + +ifdef CONFIG_MAGIC_SYSRQ +LX_OBJS += sysrq.o endif endif endif @@ -150,6 +156,14 @@ else endif endif +ifeq ($(CONFIG_SYNCLINK),m) + M_OBJS += synclink.o +endif + +ifeq ($(CONFIG_N_HDLC),m) + M_OBJS += n_hdlc.o +endif + ifeq ($(CONFIG_SPECIALIX),y) L_OBJS += specialix.o else @@ -192,6 +206,14 @@ else endif endif +ifeq ($(CONFIG_DTLK),y) +L_OBJS += dtlk.o +else + ifeq ($(CONFIG_DTLK),m) + M_OBJS += dtlk.o + endif +endif + ifeq ($(CONFIG_MS_BUSMOUSE),y) L_OBJS += msbusmouse.o else @@ -277,12 +299,12 @@ L_OBJS += rtc.o endif ifeq ($(CONFIG_NVRAM),y) - ifeq ($(CONFIG_PMAC)$(CONFIG_CHRP),) + ifeq ($(CONFIG_PPC),) L_OBJS += nvram.o endif else ifeq ($(CONFIG_NVRAM),m) - ifeq ($(CONFIG_PMAC)$(CONFIG_CHRP),) + ifeq ($(CONFIG_PPC),) M_OBJS += nvram.o endif endif @@ -348,6 +370,14 @@ else endif endif +ifeq ($(CONFIG_VIDEO_PLANB),y) +L_OBJS += planb.o +else + ifeq ($(CONFIG_VIDEO_PLANB),m) + M_OBJS += planb.o + endif +endif + ifeq ($(CONFIG_VIDEO_VINO),y) L_OBJS += vino.o else @@ -388,6 +418,14 @@ else endif endif +ifeq ($(CONFIG_RADIO_TYPHOON),y) +L_OBJS += radio-typhoon.o +else + ifeq ($(CONFIG_RADIO_TYPHOON),m) + M_OBJS += radio-typhoon.o + endif +endif + ifeq ($(CONFIG_RADIO_ZOLTRIX),y) L_OBJS += radio-zoltrix.o else @@ -396,6 +434,14 @@ else endif endif +ifeq ($(CONFIG_RADIO_CADET),y) +L_OBJS += radio-cadet.o +else + ifeq ($(CONFIG_RADIO_CADET),m) + M_OBJS += radio-cadet.o + endif +endif + ifeq ($(CONFIG_RADIO_MIROPCM20),y) L_OBJS += radio-miropcm20.o else @@ -454,6 +500,7 @@ else ALL_SUB_DIRS += hfmodem MOD_SUB_DIRS += hfmodem endif + endif ifeq ($(CONFIG_DZ),y) |