patch-2.2.8 linux/drivers/macintosh/Makefile

Next file: linux/drivers/macintosh/adb.c
Previous file: linux/drivers/isdn/act2000/module.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.7/linux/drivers/macintosh/Makefile linux/drivers/macintosh/Makefile
@@ -16,7 +16,7 @@
 M_OBJS   :=
 
 ifndef CONFIG_MBX
-L_OBJS   := via-cuda.o nvram.o macio-adb.o via-pmu.o mediabay.o
+L_OBJS   := via-cuda.o macio-adb.o via-pmu.o mediabay.o
 LX_OBJS  := adb.o
 endif
 
@@ -25,6 +25,14 @@
 else
   ifeq ($(CONFIG_MAC_SERIAL),m)
     M_OBJS += macserial.o
+  endif
+endif
+
+ifeq ($(CONFIG_NVRAM),y)
+  L_OBJS += nvram.o
+else
+  ifeq ($(CONFIG_NVRAM),m)
+    M_OBJS += nvram.o
   endif
 endif
 

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