OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [arch/] [sparc/] [kernel/] [Makefile] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1624 jcastillo
# $Id: Makefile,v 1.1 2005-12-20 09:50:43 jcastillo Exp $
2
# Makefile for the linux kernel.
3
#
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).
7
#
8
# Note 2! The CFLAGS definitions are now in the main makefile...
9
 
10
ifdef SMP
11
 
12
.S.s:
13
        $(CPP) -D__ASSEMBLY__ $(AFLAGS) -ansi $< -o $*.s
14
 
15
.S.o:
16
        $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c $< -o $*.o
17
 
18
 
19
else
20
 
21
.S.s:
22
        $(CPP) -D__ASSEMBLY__ -ansi $< -o $*.s
23
 
24
.S.o:
25
        $(CC) -D__ASSEMBLY__ -ansi -c $< -o $*.o
26
 
27
 
28
endif
29
 
30
all: kernel.o head.o
31
 
32
O_TARGET := kernel.o
33
IRQ_OBJS := irq.o sun4m_irq.o sun4c_irq.o
34
O_OBJS   := entry.o wof.o wuf.o etrap.o rtrap.o switch.o traps.o ${IRQ_OBJS} \
35
            process.o signal.o ioport.o setup.o idprom.o \
36
            sys_sparc.o sunos_asm.o sparc-stub.o systbls.o sys_sunos.o  \
37
            sunos_ioctl.o time.o windows.o cpu.o devices.o ksyms.o \
38
            sclow.o solaris.o tadpole.o tick14.o ptrace.o
39
 
40
ifdef SMP
41
O_OBJS += trampoline.o smp.o rirq.o
42
endif
43
 
44
ifdef CONFIG_SUN_AUXIO
45
O_OBJS += auxio.o
46
endif
47
 
48
all: kernel.o head.o
49
 
50
ifdef SMP
51
 
52
head.o: head.S
53
        $(CC) -D__ASSEMBLY__ $(AFLAGS) -ansi -c $*.S -o $*.o
54
 
55
else
56
 
57
head.o: head.S
58
        $(CC) -D__ASSEMBLY__ -ansi -c $*.S -o $*.o
59
 
60
endif
61
 
62
include $(TOPDIR)/Rules.make

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.