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