Subversion Repositories HelenOS-historic

Rev

Rev 435 | Rev 457 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 435 Rev 455
Line -... Line 1...
-
 
1
#
1
IA-64_TARGET=ia64-pc-linux-gnu
2
# Copyright (C) 2005 Martin Decky
-
 
3
# All rights reserved.
2
 
4
#
3
IA-64_CC_DIR=/usr/local/ia64/bin
5
# Redistribution and use in source and binary forms, with or without
-
 
6
# modification, are permitted provided that the following conditions
-
 
7
# are met:
-
 
8
#
4
IA-64_BINUTILS_DIR=/usr/local/ia64/bin
9
# - Redistributions of source code must retain the above copyright
-
 
10
#   notice, this list of conditions and the following disclaimer.
-
 
11
# - Redistributions in binary form must reproduce the above copyright
-
 
12
#   notice, this list of conditions and the following disclaimer in the
-
 
13
#   documentation and/or other materials provided with the distribution.
-
 
14
# - The name of the author may not be used to endorse or promote products
-
 
15
#   derived from this software without specific prior written permission.
5
 
16
#
-
 
17
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-
 
18
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
6
CC=$(IA-64_CC_DIR)/$(IA-64_TARGET)-gcc
19
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
7
AS=$(IA-64_BINUTILS_DIR)/$(IA-64_TARGET)-as
20
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
8
LD=$(IA-64_BINUTILS_DIR)/$(IA-64_TARGET)-ld
21
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-
 
22
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
9
OBJDUMP=$(IA-64_BINUTILS_DIR)/$(IA-64_TARGET)-objdump
23
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
10
OBJCOPY=$(IA-64_BINUTILS_DIR)/$(IA-64_TARGET)-objcopy
24
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
11
BFD_NAME=elf64-little
25
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
12
BFD_ARCH=ia64-elf64
26
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
13
 
27
#
14
 
28
 
15
ASFLAGS=-mconstant-gp
29
## Toolchain configuration
-
 
30
#
16
 
31
 
-
 
32
BFD_NAME = elf64-little
17
DEFS=-DARCH=$(ARCH)
33
BFD_ARCH = ia64-elf64
18
CFLAGS=$(DEFS) -mconstant-gp -nostdlib -fno-builtin -fno-unwind-tables -O3
34
TARGET = ia64-pc-linux-gnu
19
LFLAGS=-EL -M
35
TOOLCHAIN_DIR = /usr/local/ia64/bin
20
 
36
 
-
 
37
## Make some default assumptions
-
 
38
#
21
 
39
 
-
 
40
CFLAGS += -mconstant-gp -fno-unwind-tables
-
 
41
LFLAGS += -EL
-
 
42
AFLAGS += -mconstant-gp
22
 
43
 
23
arch_sources= \
44
ARCH_SOURCES = \
24
	generic/src/arch/start.S \
45
	arch/$(ARCH)/src/start.S \
25
	generic/src/arch/asm.S \
46
	arch/$(ARCH)/src/asm.S \
26
	generic/src/arch/dummy.s \
47
	arch/$(ARCH)/src/dummy.s \
27
	generic/src/arch/putchar.c \
48
	arch/$(ARCH)/src/putchar.c \
28
	generic/src/arch/ia64.c \
49
	arch/$(ARCH)/src/ia64.c \
29
	generic/src/arch/fpu_context.c \
50
	arch/$(ARCH)/src/fpu_context.c \
30
	generic/src/arch/context.S \
51
	arch/$(ARCH)/src/context.S \
31
	generic/src/arch/ski/ski.c \
52
	arch/$(ARCH)/src/ski/ski.c \
32
	generic/src/arch/cpu/cpu.c \
53
	arch/$(ARCH)/src/cpu/cpu.c \
33
	generic/src/arch/ivt.S \
54
	arch/$(ARCH)/src/ivt.S \
34
	generic/src/arch/interrupt.c \
55
	arch/$(ARCH)/src/interrupt.c \
35
	generic/src/arch/interrupt_handler.c \
56
	arch/$(ARCH)/src/interrupt_handler.c \
36
	generic/src/arch/fmath.c \
57
	arch/$(ARCH)/src/fmath.c \
37
	generic/src/arch/mm/frame.c \
58
	arch/$(ARCH)/src/mm/frame.c \
38
	generic/src/arch/drivers/it.c
59
	arch/$(ARCH)/src/drivers/it.c