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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [arch/] [armnommu/] [mm/] [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 arm-specific parts of the memory manager.
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 definition is now in the main makefile...
9
 
10
O_TARGET := mm.o
11
O_OBJS   := init.o fault-$(PROCESSOR).o mm-$(MACHINE).o
12
 
13
ifeq ($(PROCESSOR),armo)
14
 O_OBJS += kmalloc-arm.o proc-arm2,3.o
15
endif
16
 
17
ifeq ($(PROCESSOR),armv)
18
 O_OBJS += small_page.o proc-arm6,7.o
19
endif
20
 
21
include $(TOPDIR)/Rules.make
22
 
23
proc-arm2,3.o:  ../lib/constants.h
24
proc-arm6,7.o:  ../lib/constants.h
25
proc-sa110.o:   ../lib/constants.h
26
 
27
.PHONY: ../lib/constants.h
28
../lib/constants.h:
29
        @$(MAKE) -C ../lib constants.h
30
 
31
%.o: %.S
32
ifneq ($(CONFIG_BINUTILS_NEW),y)
33
        $(CC) $(CFLAGS) -D__ASSEMBLY__ -E $< | tr ';$$' '\n#' > ..tmp.s
34
        $(CC) $(CFLAGS) -c -o $@ ..tmp.s
35
        $(RM) ..tmp.s
36
else
37
        $(CC) $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
38
endif

powered by: WebSVN 2.1.0

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