patch-2.4.0-test9 linux/arch/ppc/kernel/Makefile

Next file: linux/arch/ppc/kernel/apus_setup.c
Previous file: linux/arch/ppc/defconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/arch/ppc/kernel/Makefile linux/arch/ppc/kernel/Makefile
@@ -99,8 +99,10 @@
 ifeq ($(CONFIG_ALL_PPC),y)
   O_OBJS += pmac_pic.o pmac_setup.o pmac_time.o feature.o pmac_pci.o prom.o \
 	chrp_setup.o chrp_time.o chrp_pci.o open_pic.o indirect_pci.o \
-	prep_pci.o i8259.o prep_nvram.o prep_time.o residual.o \
-	pmac_backlight.o
+	prep_pci.o i8259.o prep_nvram.o prep_time.o residual.o
+  ifeq ($(CONFIG_PMAC_BACKLIGHT),y)
+    O_OBJS += pmac_backlight.o
+  endif
   OX_OBJS += prep_setup.o
 endif
 ifeq ($(CONFIG_GEMINI),y)

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