Subversion Repositories HelenOS

Rev

Rev 309 | Rev 328 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 jermar 1
CC=gcc
2
AS=as
3
LD=ld
293 palkovsky 4
OBJDUMP=objdump
268 palkovsky 5
OBJCOPY=objcopy
6
BFD_NAME=elf32-i386
7
BFD_ARCH=i386
1 jermar 8
 
268 palkovsky 9
 
309 palkovsky 10
DEFS:=-DARCH=$(ARCH) -DFPU_LAZY
1 jermar 11
 
12
ifdef SMP
13
DEFS+=-D$(SMP)
14
endif
15
 
16
ifdef HT
17
DEFS+=-D$(HT)
18
endif
19
 
326 palkovsky 20
CFLAGS=$(DEFS) -nostdlib -fno-builtin -fomit-frame-pointer -O3
289 palkovsky 21
LFLAGS=-M -no-check-sections
1 jermar 22
 
301 palkovsky 23
../arch/$(ARCH)/_link.ld: ../arch/$(ARCH)/_link.ld.in
326 palkovsky 24
	$(CC) $(CFLAGS) -C -E -x c $< | grep -v "^\#" > $@
301 palkovsky 25
 
1 jermar 26
arch_sources= \
27
	arch/context.s \
28
	arch/debug/panic.s \
29
	arch/cpuid.s \
30
	arch/delay.s \
132 vana 31
	arch/asm.S \
22 jermar 32
	arch/proc/scheduler.c \
29 jermar 33
	arch/acpi/acpi.c \
33 jermar 34
	arch/acpi/madt.c \
30 jermar 35
	arch/bios/bios.c \
1 jermar 36
	arch/smp/ap.S \
37
	arch/smp/apic.c \
34 jermar 38
	arch/smp/mps.c \
39
	arch/smp/smp.c \
111 palkovsky 40
	arch/atomic.S \
7 jermar 41
	arch/smp/ipi.c \
1 jermar 42
	arch/ia32.c \
43
	arch/interrupt.c \
44
	arch/pm.c \
45
	arch/userspace.c \
46
	arch/cpu/cpu.c \
47
	arch/mm/frame.c \
146 cejka 48
	arch/mm/memory_init.c \
1 jermar 49
	arch/mm/page.c \
50
	arch/mm/tlb.c \
51
	arch/drivers/i8042.c \
52
	arch/drivers/i8254.c \
53
	arch/drivers/i8259.c \
54
	arch/drivers/ega.c \
52 vana 55
	arch/boot/boot.S \
95 cejka 56
	arch/boot/memmap.S\
228 cejka 57
	arch/fpu_context.c\
58
	arch/fmath.c