patch-2.4.0-test7 linux/drivers/acorn/char/Makefile

Next file: linux/drivers/acorn/scsi/Makefile
Previous file: linux/drivers/acorn/block/fd1772.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test6/linux/drivers/acorn/char/Makefile linux/drivers/acorn/char/Makefile
@@ -35,7 +35,12 @@
 obj-$(CONFIG_ARCH_ACORN)	+= defkeymap-acorn.o
 
 # Do the i2c and rtc last
-obj-y		+= $(obj-$(MACHINE)) i2c.o pcf8583.o
+obj-y		+= $(obj-$(MACHINE)) 
+
+# CL-PS7500 does not have these devices.
+ifneq ($(CONFIG_ARCH_CLPS7500),y)
+obj-y += i2c.o pcf8583.o
+endif
 
 O_OBJS		:= $(filter-out $(export-objs), $(obj-y))
 OX_OBJS		:= $(filter     $(export-objs), $(obj-y))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)