Subversion Repositories HelenOS-historic

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
262 decky 1
IA-32_TARGET=i686-pc-linux-gnu
2
 
3
IA-32_CC_DIR=/usr/local/i686/bin
4
IA-32_BINUTILS_DIR=/usr/local/i686/bin
5
 
6
CC=$(IA-32_CC_DIR)/$(IA-32_TARGET)-gcc
7
AS=$(IA-32_BINUTILS_DIR)/$(IA-32_TARGET)-as
8
LD=$(IA-32_BINUTILS_DIR)/$(IA-32_TARGET)-ld
9
 
10
DEFS:=-DARCH=$(ARCH)
11
 
12
ifdef SMP
13
DEFS+=-D$(SMP)
14
endif
15
 
16
ifdef HT
17
DEFS+=-D$(HT)
18
endif
19
 
20
CPPFLAGS=$(DEFS) -nostdinc -I../include
21
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
23
 
24
arch_sources= \
25
	arch/context.s \
26
	arch/debug/panic.s \
27
	arch/cpuid.s \
28
	arch/delay.s \
29
	arch/asm.S \
30
	arch/proc/scheduler.c \
31
	arch/acpi/acpi.c \
32
	arch/acpi/madt.c \
33
	arch/bios/bios.c \
34
	arch/smp/ap.S \
35
	arch/smp/apic.c \
36
	arch/smp/mps.c \
37
	arch/smp/smp.c \
38
	arch/atomic.S \
39
	arch/smp/ipi.c \
40
	arch/ia32.c \
41
	arch/interrupt.c \
42
	arch/pm.c \
43
	arch/userspace.c \
44
	arch/cpu/cpu.c \
45
	arch/mm/frame.c \
46
	arch/mm/memory_init.c \
47
	arch/mm/page.c \
48
	arch/mm/tlb.c \
49
	arch/drivers/i8042.c \
50
	arch/drivers/i8254.c \
51
	arch/drivers/i8259.c \
52
	arch/drivers/ega.c \
53
	arch/boot/boot.S \
54
	arch/boot/memmap.S\
55
	arch/fpu_context.c\
56
	arch/fmath.c