patch-2.1.132 linux/drivers/acorn/char/Makefile

Next file: linux/drivers/acorn/char/keyb_ps2.c
Previous file: linux/drivers/acorn/char/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/drivers/acorn/char/Makefile linux/drivers/acorn/char/Makefile
@@ -13,6 +13,19 @@
 M_OBJS   :=
 L_OBJS   :=
 
+ifeq ($(MACHINE),rpc)
+  MOUSE_OBJS += mouse_rpc.o
+  L_OBJS += keyb_ps2.o
+endif
+
+ifeq ($(CONFIG_MOUSE),y)
+  LX_OBJS += $(MOUSE_OBJS)
+else
+  ifeq ($(CONFIG_MOUSE),m)
+    MX_OBJS += $(MOUSE_OBJS)
+  endif
+endif
+
 ifeq ($(CONFIG_ATOMWIDE_SERIAL),y)
   L_OBJS += serial-atomwide.o
 else

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov