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] - Diff between revs 1765 and 1782

Only display areas with differences | Details | Blame | View Log

Rev 1765 Rev 1782
#
#
# Makefile for the linux arm-specific parts of the memory manager.
# Makefile for the linux arm-specific parts of the memory manager.
#
#
# Note! Dependencies are done automagically by 'make dep', which also
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
# unless it's something special (ie not a .c file).
#
#
# Note 2! The CFLAGS definition is now in the main makefile...
# Note 2! The CFLAGS definition is now in the main makefile...
O_TARGET := mm.o
O_TARGET := mm.o
O_OBJS   := init.o fault-$(PROCESSOR).o mm-$(MACHINE).o
O_OBJS   := init.o fault-$(PROCESSOR).o mm-$(MACHINE).o
ifeq ($(PROCESSOR),armo)
ifeq ($(PROCESSOR),armo)
 O_OBJS += kmalloc-arm.o proc-arm2,3.o
 O_OBJS += kmalloc-arm.o proc-arm2,3.o
endif
endif
ifeq ($(PROCESSOR),armv)
ifeq ($(PROCESSOR),armv)
 O_OBJS += small_page.o proc-arm6,7.o
 O_OBJS += small_page.o proc-arm6,7.o
endif
endif
include $(TOPDIR)/Rules.make
include $(TOPDIR)/Rules.make
proc-arm2,3.o:  ../lib/constants.h
proc-arm2,3.o:  ../lib/constants.h
proc-arm6,7.o:  ../lib/constants.h
proc-arm6,7.o:  ../lib/constants.h
proc-sa110.o:   ../lib/constants.h
proc-sa110.o:   ../lib/constants.h
.PHONY: ../lib/constants.h
.PHONY: ../lib/constants.h
../lib/constants.h:
../lib/constants.h:
        @$(MAKE) -C ../lib constants.h
        @$(MAKE) -C ../lib constants.h
%.o: %.S
%.o: %.S
ifneq ($(CONFIG_BINUTILS_NEW),y)
ifneq ($(CONFIG_BINUTILS_NEW),y)
        $(CC) $(CFLAGS) -D__ASSEMBLY__ -E $< | tr ';$$' '\n#' > ..tmp.s
        $(CC) $(CFLAGS) -D__ASSEMBLY__ -E $< | tr ';$$' '\n#' > ..tmp.s
        $(CC) $(CFLAGS) -c -o $@ ..tmp.s
        $(CC) $(CFLAGS) -c -o $@ ..tmp.s
        $(RM) ..tmp.s
        $(RM) ..tmp.s
else
else
        $(CC) $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
        $(CC) $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
endif
endif
 
 

powered by: WebSVN 2.1.0

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