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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [arch/] [armnommu/] [lib/] [Makefile] - Blame information for rev 1775

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#
2
# linux/arch/arm/lib/Makefile
3
#
4
# Copyright (C) 1995, 1996 Russell King
5
#
6
 
7
L_TARGET := lib.a
8
L_OBJS   := backtrace.o bitops.o checksum.o delay.o fp_support.o \
9
            loaders.o memfastset.o segment.o system.o string.o
10
 
11
ifdef CONFIG_ARCH_ACORN
12
  L_OBJS += ll_char_wr.o io-acorn.o irqs-acorn.o
13
  ifdef CONFIG_ARCH_A5K
14
    L_OBJS += floppydma.o
15
  endif
16
  ifdef CONFIG_ARCH_RPC
17
    L_OBJS += floppydma.o
18
  endif
19
endif
20
 
21
ifeq ($(MACHINE),ebsa110)
22
L_OBJS   += io-ebsa.o irqs-ebsa.o
23
endif
24
 
25
ifeq ($(MACHINE),trio)
26
L_OBJS   += irqs-trio.o io-trio.o
27
endif
28
 
29
include $(TOPDIR)/Rules.make
30
 
31
constants.h: getconstants
32
        ./getconstants > constants.h
33
 
34
getconstants: getconstants.c getconstants.h
35
        $(HOSTCC) -D__KERNEL__ -o getconstants getconstants.c
36
 
37
getconstants.h: getconsdata.c
38
        $(CC) $(CFLAGS) -c getconsdata.c
39
        $(PERL) extractinfo.perl $(OBJDUMP) > $@
40
 
41
ifneq ($(CONFIG_BINUTILS_NEW),y)
42
%.o: %.S
43
        $(CC) $(CFLAGS) -D__ASSEMBLY__ -E $< | tr ';$$' '\n#' > ..tmp.$<.s
44
        $(CC) $(CFLAGS:-pipe=) -c -o $@ ..tmp.$<.s
45
        $(RM) ..tmp.$<.s
46
else
47
%.o: %.S
48
        $(CC) $(CFLAGS) -D__ASSEMBLY__ -c -o $@ $<
49
endif
50
 
51
clean:
52
        $(RM) getconstants constants.h getconstants.h

powered by: WebSVN 2.1.0

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