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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [arch/] [armnommu/] [kernel/] [Makefile] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1622 jcastillo
#
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
HEAD_OBJ  = head-$(PROCESSOR).o
9
ENTRY_OBJ = entry-$(PROCESSOR).o
10
 
11
O_TARGET := kernel.o
12
O_OBJS   := $(ENTRY_OBJ) ioport.o irq.o process.o ptrace.o signal.o sys_arm.o time.o traps.o
13
#D_OBJS   +=  ioport.o irq.o process.o ptrace.o signal.o sys_arm.o time.o traps.o
14
 
15
all: kernel.o $(HEAD_OBJ)
16
 
17
ifeq ($(CONFIG_MODULES),y)
18
OX_OBJS = armksyms.o
19
else
20
O_OBJS += armksyms.o
21
endif
22
 
23
ifdef CONFIG_ARCH_ACORN
24
  O_OBJS += setup.o ecard.o iic.o dma.o
25
  ifdef CONFIG_ARCH_ARC
26
    O_OBJS += oldlatches.o
27
  endif
28
  O_OBJS += dma-$(MACHINE).o
29
endif
30
 
31
ifeq ($(MACHINE),ebsa110)
32
  O_OBJS += setup-ebsa110.o dma.o dma-dummy.o
33
endif
34
 
35
ifeq ($(MACHINE),nexuspci)
36
  O_OBJS += setup-ebsa110.o
37
endif
38
 
39
ifeq ($(MACHINE),trio)
40
  O_OBJS += setup.o dma.o dma-dummy.o
41
  D_OBJS = setup.o
42
endif
43
 
44
$(HEAD_OBJ): $(HEAD_OBJ:.o=.S)
45
        $(CC) -D__ASSEMBLY__ -g -traditional -c $(HEAD_OBJ:.o=.S) -o $@
46
 
47
$(ENTRY_OBJ): $(ENTRY_OBJ:.o=.S)
48
        $(CC) $(CFLAGS) -g -D__ASSEMBLY__ -c $(ENTRY_OBJ:.o=.S) -o $@
49
 
50
include $(TOPDIR)/Rules.make
51
 
52
$(ENTRY_OBJ): ../lib/constants.h
53
 
54
.PHONY: ../lib/constants.h
55
 
56
../lib/constants.h:
57
        $(MAKE) -C ../lib constants.h

powered by: WebSVN 2.1.0

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