patch-2.3.20 linux/arch/ppc/Makefile

Next file: linux/arch/ppc/amiga/Makefile
Previous file: linux/arch/ppc/8xx_io/uart.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.19/linux/arch/ppc/Makefile linux/arch/ppc/Makefile
@@ -27,7 +27,7 @@
 CPP		= $(CC) -E $(CFLAGS)
 
 ifdef CONFIG_8xx
-CFLAGS := $(CFLAGS) -mcpu=860
+CFLAGS := $(CFLAGS) -mcpu=860 -I../8xx_io
 endif
 
 ifdef CONFIG_PPC64
@@ -45,7 +45,7 @@
 ARCHIVES := arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o $(ARCHIVES)
 CORE_FILES := arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o $(CORE_FILES)
 
-ifdef CONFIG_8xx
+ifdef CONFIG_MATH_EMULATION
 SUBDIRS += arch/ppc/math-emu
 ARCHIVES += arch/ppc/math-emu/math-emu.o
 CORE_FILES += arch/ppc/math-emu/math-emu.o
@@ -77,7 +77,7 @@
 
 BOOT_TARGETS = zImage znetboot.initrd zImage.initrd
 
-ifdef CONFIG_MBX
+ifdef CONFIG_8xx
 $(BOOT_TARGETS): $(CHECKS) vmlinux
 	@$(MAKECOFFBOOT) $@
 	@$(MAKEMBXBOOT) $@

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