Rev 262 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 262 | Rev 279 | ||
---|---|---|---|
1 | IA-32_TARGET=i686-pc-linux-gnu |
1 | IA-32_TARGET=i686-pc-linux-gnu |
2 | 2 | ||
3 | IA-32_CC_DIR=/usr/local/i686/bin |
3 | IA-32_CC_DIR=/usr/local/i686/bin |
4 | IA-32_BINUTILS_DIR=/usr/local/i686/bin |
4 | IA-32_BINUTILS_DIR=/usr/local/i686/bin |
5 | 5 | ||
6 | CC=$(IA-32_CC_DIR)/$(IA-32_TARGET)-gcc |
6 | CC=$(IA-32_CC_DIR)/$(IA-32_TARGET)-gcc |
7 | AS=$(IA-32_BINUTILS_DIR)/$(IA-32_TARGET)-as |
7 | AS=$(IA-32_BINUTILS_DIR)/$(IA-32_TARGET)-as |
8 | LD=$(IA-32_BINUTILS_DIR)/$(IA-32_TARGET)-ld |
8 | LD=$(IA-32_BINUTILS_DIR)/$(IA-32_TARGET)-ld |
- | 9 | OBJCOPY=$(IA-32_BINUTILS_DIR)/$(IA-32_TARGET)-objcopy |
|
- | 10 | ||
- | 11 | BFD_NAME=elf32-i386 |
|
- | 12 | BFD_ARCH=i386 |
|
9 | 13 | ||
10 | DEFS:=-DARCH=$(ARCH) |
14 | DEFS:=-DARCH=$(ARCH) |
11 | 15 | ||
12 | ifdef SMP |
16 | ifdef SMP |
13 | DEFS+=-D$(SMP) |
17 | DEFS+=-D$(SMP) |
14 | endif |
18 | endif |
15 | 19 | ||
16 | ifdef HT |
20 | ifdef HT |
17 | DEFS+=-D$(HT) |
21 | DEFS+=-D$(HT) |
18 | endif |
22 | endif |
19 | 23 | ||
20 | CPPFLAGS=$(DEFS) -nostdinc -I../include |
24 | CPPFLAGS=$(DEFS) -nostdinc -I../include |
21 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fomit-frame-pointer -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 |
25 | CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -fomit-frame-pointer -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 |
22 | LFLAGS=-M -no-check-sections -T ../arch/ia32/_link.ld |
26 | LFLAGS=-M -no-check-sections -T ../arch/ia32/_link.ld |
23 | 27 | ||
24 | arch_sources= \ |
28 | arch_sources= \ |
25 | arch/context.s \ |
29 | arch/context.s \ |
26 | arch/debug/panic.s \ |
30 | arch/debug/panic.s \ |
27 | arch/cpuid.s \ |
31 | arch/cpuid.s \ |
28 | arch/delay.s \ |
32 | arch/delay.s \ |
29 | arch/asm.S \ |
33 | arch/asm.S \ |
30 | arch/proc/scheduler.c \ |
34 | arch/proc/scheduler.c \ |
31 | arch/acpi/acpi.c \ |
35 | arch/acpi/acpi.c \ |
32 | arch/acpi/madt.c \ |
36 | arch/acpi/madt.c \ |
33 | arch/bios/bios.c \ |
37 | arch/bios/bios.c \ |
34 | arch/smp/ap.S \ |
38 | arch/smp/ap.S \ |
35 | arch/smp/apic.c \ |
39 | arch/smp/apic.c \ |
36 | arch/smp/mps.c \ |
40 | arch/smp/mps.c \ |
37 | arch/smp/smp.c \ |
41 | arch/smp/smp.c \ |
38 | arch/atomic.S \ |
42 | arch/atomic.S \ |
39 | arch/smp/ipi.c \ |
43 | arch/smp/ipi.c \ |
40 | arch/ia32.c \ |
44 | arch/ia32.c \ |
41 | arch/interrupt.c \ |
45 | arch/interrupt.c \ |
42 | arch/pm.c \ |
46 | arch/pm.c \ |
43 | arch/userspace.c \ |
47 | arch/userspace.c \ |
44 | arch/cpu/cpu.c \ |
48 | arch/cpu/cpu.c \ |
45 | arch/mm/frame.c \ |
49 | arch/mm/frame.c \ |
46 | arch/mm/memory_init.c \ |
50 | arch/mm/memory_init.c \ |
47 | arch/mm/page.c \ |
51 | arch/mm/page.c \ |
48 | arch/mm/tlb.c \ |
52 | arch/mm/tlb.c \ |
49 | arch/drivers/i8042.c \ |
53 | arch/drivers/i8042.c \ |
50 | arch/drivers/i8254.c \ |
54 | arch/drivers/i8254.c \ |
51 | arch/drivers/i8259.c \ |
55 | arch/drivers/i8259.c \ |
52 | arch/drivers/ega.c \ |
56 | arch/drivers/ega.c \ |
53 | arch/boot/boot.S \ |
57 | arch/boot/boot.S \ |
54 | arch/boot/memmap.S\ |
58 | arch/boot/memmap.S\ |
55 | arch/fpu_context.c\ |
59 | arch/fpu_context.c\ |
56 | arch/fmath.c |
60 | arch/fmath.c |
57 | 61 |