Magellan Linux

Annotation of /trunk/mkinitrd-magellan/klibc/usr/klibc/arch/ppc/MCONFIG

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1122 - (hide annotations) (download)
Wed Aug 18 21:11:40 2010 UTC (13 years, 9 months ago) by niro
File size: 864 byte(s)
-updated to klibc-1.5.19
1 niro 532 # -*- makefile -*-
2     #
3     # arch/ppc/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     gcc_m32_option := $(call cc-option, -m32, )
11    
12     KLIBCOPTFLAGS += -Os
13     KLIBCLDFLAGS = -m elf32ppclinux
14     KLIBCARCHREQFLAGS += $(gcc_m32_option)
15    
16     KLIBCBITSIZE = 32
17    
18     # Extra linkflags when building the shared version of the library
19     # This address needs to be reachable using normal inter-module
20     # calls, and work on the memory models for this architecture
21     # 256-16 MB - normal binaries start at 256 MB, and jumps are limited
22     # to +/- 16 MB
23     KLIBCSHAREDFLAGS = -Ttext 0x0f800200
24    
25     # The kernel so far has both asm-ppc* and asm-powerpc.
26 niro 1122 KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/powerpc/include
27 niro 532
28     # The asm include files live in asm-powerpc
29     KLIBCASMARCH = powerpc