patch-2.1.53 linux/arch/ppc/kernel/Makefile

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

diff -u --recursive --new-file v2.1.52/linux/arch/ppc/kernel/Makefile linux/arch/ppc/kernel/Makefile
@@ -12,20 +12,17 @@
 
 O_TARGET := kernel.o
 O_OBJS := misc.o traps.o process.o signal.o syscalls.o \
-	  align.o ptrace.o irq.o bitops.o ppc_htab.o idle.o prom.o \
-	  time.o prep_time.o pmac_time.o \
-	  setup.o pmac_setup.o pmac_support.o \
-	  pci.o prep_pci.o pmac_pci.o
+	  align.o ptrace.o irq.o openpic.o bitops.o ppc_htab.o idle.o \
+	  time.o prep_time.o pmac_time.o chrp_time.o \
+	  setup.o prep_setup.o pmac_setup.o pmac_support.o chrp_setup.o \
+	  pci.o prep_pci.o pmac_pci.o chrp_pci.o \
+	  residual.o prom.o
 OX_OBJS := ppc_ksyms.o
 
 all: head.o kernel.o
 
 head.o: head.S $(TOPDIR)/include/linux/tasks.h ppc_defs.h
 
-ifeq ($(CONFIG_PREP),y)
-O_OBJS += prep_setup.o #prep_time.o
-endif
-
 ppc_defs.h: mk_defs.c ppc_defs.head \
 		$(TOPDIR)/include/asm/mmu.h \
 		$(TOPDIR)/include/asm/processor.h \
@@ -37,7 +34,7 @@
 	rm mk_defs.s
 
 checks: checks.c
-	$(HOSTCC) ${CFLAGS} -o checks checks.c
+	$(HOSTCC) -fno-builtin -I$(TOPDIR)/include -D__KERNEL__ -o checks checks.c
 	./checks
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov