chiark / gitweb /
[PATCH] added klibc version 0.82 (cvs tree) to the udev tree.
[elogind.git] / klibc / klibc / arch / arm / MCONFIG
1 # -*- makefile -*-
2 #
3 # arch/arm/MCONFIG
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 THUMB    = n
11 CPU_ARCH := armv4
12 CPU_TUNE := strongarm
13
14 OPTFLAGS = -Os -fomit-frame-pointer -march=$(CPU_ARCH) -mtune=$(CPU_TUNE)
15 BITSIZE  = 32
16
17 ifeq ($(THUMB),y)
18 CPU_ARCH := $(CPU_ARCH)t
19 OPTFLAGS += -mthumb
20 LDFLAGS  += --thumb-entry _start
21 endif
22
23 # Extra linkflags when building the shared version of the library
24 # This address needs to be reachable using normal inter-module
25 # calls, and work on the memory models for this architecture
26 SHAREDFLAGS = -Ttext 0x01000200