Rev 2927 | Rev 4338 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2927 | Rev 3403 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | # |
27 | # |
28 | 28 | ||
29 | ## Toolchain configuration |
29 | ## Toolchain configuration |
30 | # |
30 | # |
31 | 31 | ||
- | 32 | ifndef CROSS_PREFIX |
|
- | 33 | CROSS_PREFIX = /usr/local |
|
- | 34 | endif |
|
- | 35 | ||
32 | BFD_NAME = elf64-little |
36 | BFD_NAME = elf64-little |
33 | BFD_ARCH = ia64-elf64 |
37 | BFD_ARCH = ia64-elf64 |
34 | TARGET = ia64-pc-linux-gnu |
38 | TARGET = ia64-pc-linux-gnu |
35 | TOOLCHAIN_DIR = /usr/local/ia64 |
39 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia64 |
36 | - | ||
37 | INIT0_ADDRESS = 0xe000000004404000 |
- | |
38 | INIT0_SIZE = 0x100000 |
- | |
39 | 40 | ||
40 | CMN1 = -mconstant-gp -fno-unwind-tables -mfixed-range=f32-f127 |
41 | CMN1 = -mconstant-gp -fno-unwind-tables -mfixed-range=f32-f127 |
41 | GCC_CFLAGS += $(CMN1) |
42 | GCC_CFLAGS += $(CMN1) |
42 | ICC_CFLAGS += $(CMN1) |
43 | ICC_CFLAGS += $(CMN1) |
43 | 44 | ||
44 | LFLAGS += -EL |
45 | LFLAGS += -EL |
45 | AFLAGS += -mconstant-gp |
46 | AFLAGS += -mconstant-gp |
46 | 47 | ||
47 | DEFS += -D__64_BITS__ -DINIT0_ADDRESS=$(INIT0_ADDRESS) -DINIT0_SIZE=$(INIT0_SIZE) -D$(MACHINE) |
48 | DEFS += -D__64_BITS__ -D$(MACHINE) |
48 | - | ||
49 | 49 | ||
50 | ## Compile with page hash table support. |
50 | ## Compile with page hash table support. |
51 | # |
51 | # |
52 | 52 | ||
53 | CONFIG_PAGE_HT = y |
53 | CONFIG_PAGE_HT = y |
Line 94... | Line 94... | ||
94 | ifeq ($(MACHINE),i460GX) |
94 | ifeq ($(MACHINE),i460GX) |
95 | ARCH_SOURCES += arch/$(ARCH)/src/drivers/ega.c |
95 | ARCH_SOURCES += arch/$(ARCH)/src/drivers/ega.c |
96 | CONFIG_I8042 = y |
96 | CONFIG_I8042 = y |
97 | DEFS += -DI460GX -DCONFIG_I8042 |
97 | DEFS += -DI460GX -DCONFIG_I8042 |
98 | BFD = binary |
98 | BFD = binary |
99 | - | ||
100 | endif |
99 | endif |
101 | 100 |