patch-2.4.5 linux/arch/ppc/kernel/Makefile
Next file: linux/arch/ppc/kernel/align.c
Previous file: linux/arch/ppc/defconfig
Back to the patch index
Back to the overall index
- Lines: 59
- Date:
Mon May 21 17:04:46 2001
- Orig file:
v2.4.4/linux/arch/ppc/kernel/Makefile
- Orig date:
Sat Mar 3 10:52:13 2001
diff -u --recursive --new-file v2.4.4/linux/arch/ppc/kernel/Makefile linux/arch/ppc/kernel/Makefile
@@ -1,3 +1,5 @@
+# BK Id: SCCS/s.Makefile 1.17 05/21/01 00:48:24 cort
+#
#
# Makefile for the linux kernel.
#
@@ -7,12 +9,10 @@
#
# Note 2! The CFLAGS definitions are now in the main makefile...
+USE_STANDARD_AS_RULE := true
+
ifdef CONFIG_PPC64BRIDGE
-.S.o:
- $(CC) $(CFLAGS) -D__ASSEMBLY__ -mppc64bridge -c $< -o $*.o
-else
-.S.o:
- $(CC) $(CFLAGS) -D__ASSEMBLY__ -c $< -o $*.o
+EXTRA_AFLAGS := -Wa,-mppc64bridge
endif
ifeq ($(CONFIG_4xx),y)
@@ -31,7 +31,7 @@
export-objs := ppc_ksyms.o prep_setup.o
-obj-$(CONFIG_PPC) := entry.o traps.o irq.o idle.o time.o misc.o \
+obj-y := entry.o traps.o irq.o idle.o time.o misc.o \
process.o signal.o bitops.o ptrace.o \
ppc_htab.o semaphore.o syscalls.o \
align.o setup.o
@@ -53,18 +53,25 @@
obj-$(CONFIG_8xx) += m8xx_setup.o ppc8xx_pic.o
ifeq ($(CONFIG_8xx),y)
obj-$(CONFIG_PCI) += qspan_pci.c
+ifndef CONFIG_MATH_EMULATION
+obj-y += softemu8xx.o
+endif
else
-obj-$(CONFIG_PPC) += hashtable.o
+obj-y += hashtable.o
endif
-obj-$(CONFIG_MATH_EMULATION) += softemu8xx.o
obj-$(CONFIG_MBX) += i8259.o
obj-$(CONFIG_APUS) += apus_setup.o
+ifeq ($(CONFIG_APUS),y)
+obj-$(CONFIG_PCI) += apus_pci.o
+endif
obj-$(CONFIG_ALL_PPC) += pmac_pic.o pmac_setup.o pmac_time.o prom.o \
feature.o pmac_pci.o chrp_setup.o \
chrp_time.o chrp_pci.o open_pic.o \
indirect_pci.o i8259.o prep_pci.o \
prep_time.o prep_nvram.o prep_setup.o
obj-$(CONFIG_PMAC_BACKLIGHT) += pmac_backlight.o
+obj-$(CONFIG_GEMINI) += gemini_prom.o gemini_pci.o gemini_setup.o \
+ open_pic.o
obj-$(CONFIG_8260) += m8260_setup.o ppc8260_pic.o
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)