2 # Makefile for the linux kernel.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 # Note 2! The CFLAGS definitions are now in the main makefile...
11 $(CC
) $(CFLAGS
) -D__ASSEMBLY__
-c
$< -o
$*.o
14 OX_OBJS
:= ppc_ksyms.o setup.o
17 O_OBJS
:= traps.o irq.o idle.o time.o process.o signal.o syscalls.o misc.o \
18 bitops.o ptrace.o align.o ppc_htab.o
29 ifeq ($(CONFIG_MBX
),y
)
30 O_OBJS
+= mbx_setup.o mbx_pci.o softemu8xx.o i8259.o ppc8xx_pic.o
32 ifeq ($(CONFIG_APUS
),y
)
33 O_OBJS
+= apus_setup.o prom.o openpic.o
35 ifneq ($(CONFIG_MBX
),y
)
36 O_OBJS
+= prep_time.o pmac_time.o chrp_time.o \
37 pmac_setup.o pmac_support.o \
38 prep_pci.o pmac_pci.o chrp_pci.o \
39 residual.o prom.o openpic.o feature.o \
40 prep_nvram.o open_pic.o i8259.o pmac_pic.o indirect_pci.o
41 OX_OBJS
+= chrp_setup.o prep_setup.o
52 head.o
: head.S
$(TOPDIR
)/include/linux
/tasks.h ppc_defs.h
54 ppc_defs.h
: mk_defs.c ppc_defs.head \
55 $(TOPDIR
)/include/asm
/mmu.h \
56 $(TOPDIR
)/include/asm
/processor.h \
57 $(TOPDIR
)/include/asm
/pgtable.h \
58 $(TOPDIR
)/include/asm
/ptrace.h
59 $(CC
) $(CFLAGS
) -S mk_defs.c
60 cp ppc_defs.head ppc_defs.h
61 grep
'^#define' mk_defs.s
>>ppc_defs.h
64 find_name
: find_name.c
65 $(HOSTCC
) $(HOSTCFLAGS
) -o find_name find_name.c
68 $(HOSTCC
) $(HOSTCFLAGS
) -D__KERNEL__
-o checks checks.c
71 include $(TOPDIR
)/Rules.make