patch-2.4.20 linux-2.4.20/drivers/macintosh/Makefile

Next file: linux-2.4.20/drivers/macintosh/adb.c
Previous file: linux-2.4.20/drivers/isdn/pcbit/drv.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/macintosh/Makefile linux-2.4.20/drivers/macintosh/Makefile
@@ -28,7 +28,9 @@
 
 obj-$(CONFIG_PMAC_PBOOK)	+= mediabay.o
 obj-$(CONFIG_MAC_SERIAL)	+= macserial.o
-obj-$(CONFIG_NVRAM)		+= nvram.o
+ifneq ($(CONFIG_MAC),y)
+  obj-$(CONFIG_NVRAM)		+= nvram.o
+endif
 obj-$(CONFIG_MAC_HID)		+= mac_hid.o
 obj-$(CONFIG_INPUT_ADBHID)	+= adbhid.o
 obj-$(CONFIG_PPC_RTC)		+= rtc.o

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