~mirabilos/klibc/master

« back to all changes in this revision

Viewing changes to klibc/arch/arm/Makefile.inc

  • Committer: H. Peter Anvin
  • Date: 2006-05-01 00:56:02 UTC
  • Revision ID: git-v1:5dea5e01daaaff0685016f23b5cb46240f28e792
[klibc] Reorganize the standalone klibc tree to match the in-kernel tree

Right now, it's harder than it should to apply and test patches using
the standalone klibc tree.  Reorganize the standalone tree to match
the in-kernel tree.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- makefile -*-
2
 
#
3
 
# arch/arm/Makefile.inc
4
 
#
5
 
# Special rules for this architecture.  Note that this is actually
6
 
# included from the main Makefile, and that pathnames should be
7
 
# accordingly.
8
 
#
9
 
 
10
 
KLIBCARCHOBJS = \
11
 
        libgcc/__divsi3.o \
12
 
        libgcc/__modsi3.o \
13
 
        libgcc/__udivsi3.o \
14
 
        libgcc/__umodsi3.o \
15
 
        libgcc/__udivmodsi4.o \
16
 
        libgcc/__divdi3.o \
17
 
        libgcc/__moddi3.o \
18
 
        libgcc/__udivdi3.o \
19
 
        libgcc/__umoddi3.o \
20
 
        libgcc/__udivmoddi4.o \
21
 
        arch/arm/syscall.o
22
 
 
23
 
ifeq ($(THUMB),y)
24
 
KLIBCARCHOBJS += arch/arm/setjmp-thumb.o
25
 
KLIBCLIBGCC   :=
26
 
else
27
 
KLIBCARCHOBJS += arch/arm/setjmp-arm.o
28
 
endif
29
 
 
30
 
arch/arm/sysstubs.a: arch/arm/sysstubs.pl
31
 
        mkdir -p arch/arm/sysstubs
32
 
        $(PERL) $< arch/arm/sysstubs
33
 
        $(MAKE) $(patsubst %.S,%.o,$(wildcard arch/arm/sysstubs/*.S))
34
 
        -rm -f $@
35
 
        $(AR) cq $@ arch/arm/sysstubs/*.o
36
 
        $(RANLIB) $@
37
 
 
38
 
archclean:
39
 
        -rm -rf arch/arm/sysstubs
40
 
        -rm -f arch/arm/sysstubs.a