patch-2.1.97 linux/arch/ppc/Makefile
Next file: linux/arch/ppc/boot/Makefile
Previous file: linux/arch/ppc/8xx_io/uart.c
Back to the patch index
Back to the overall index
- Lines: 73
- Date:
Tue Apr 14 17:33:40 1998
- Orig file:
v2.1.96/linux/arch/ppc/Makefile
- Orig date:
Mon Jan 12 15:18:12 1998
diff -u --recursive --new-file v2.1.96/linux/arch/ppc/Makefile linux/arch/ppc/Makefile
@@ -12,14 +12,7 @@
# Rewritten by Cort Dougan and Paul Mackerras
#
-ifdef CONFIG_CHRP
-# XXX for now
-KERNELBASE =0x90000000
-KERNELLOAD =0x90010000
-else
-KERNELBASE =0xc0000000
-KERNELLOAD =0xc0000000
-endif
+KERNELLOAD =0xc0000000
# PowerPC (cross) tools
ifneq ($(shell uname -m),ppc)
@@ -32,21 +25,13 @@
LINKFLAGS = -T arch/ppc/vmlinux.lds -Ttext $(KERNELLOAD) -Bstatic
CFLAGSINC = -D__KERNEL__ -I$(TOPDIR)/include -D__powerpc__
CFLAGS := $(CFLAGS) -D__powerpc__ -fsigned-char -msoft-float -pipe \
- -fno-builtin -ffixed-r2 -Wno-uninitialized -mmultiple -mstring \
- -DKERNELBASE=$(KERNELBASE)
+ -fno-builtin -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
CPP = $(CC) -E $(CFLAGS)
-ifdef CONFIG_601
-CFLAGS := $(CFLAGS) -mcpu=601 -DCPU=601
+ifdef CONFIG_8xx
+CFLAGS := $(CFLAGS) -mcpu=860
endif
-ifdef CONFIG_603
-CFLAGS := $(CFLAGS) -mcpu=603 -DCPU=603
-endif
-
-ifdef CONFIG_604
-CFLAGS := $(CFLAGS) -mcpu=604 -DCPU=604
-endif
HEAD := arch/ppc/kernel/head.o
@@ -64,6 +49,11 @@
MAKECOFFBOOT = $(MAKE) -C arch/$(ARCH)/coffboot
MAKECHRPBOOT = $(MAKE) -C arch/$(ARCH)/chrpboot
+ifdef CONFIG_8xx
+SUBDIRS += arch/ppc/8xx_io
+DRIVERS += arch/ppc/8xx_io/8xx_io.a drivers/net/net.a
+endif
+
checks:
@$(MAKE) -C arch/$(ARCH)/kernel checks
@@ -82,6 +72,19 @@
prep_config:
rm -f .config arch/ppc/defconfig
ln -s prep_defconfig arch/ppc/defconfig
+
+chrp_config:
+ rm -f .config arch/ppc/defconfig
+ ln -s chrp_defconfig arch/ppc/defconfig
+
+common_config:
+ rm -f .config arch/ppc/common_defconfig
+ ln -s common_defconfig arch/ppc/defconfig
+
+mbx_config:
+ rm -f .config arch/ppc/defconfig
+ ln -s mbx_defconfig arch/ppc/defconfig
+
tags:
etags */*.c include/{asm,linux}/*.h arch/ppc/kernel/*.{c,h}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov