lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since 16e9afa3 was 1b492b5, checked in by Ondrej Palkovsky <ondrap@…>, 20 years ago |
Backported amd64 build process back to ia32.
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | CC=gcc
|
---|
2 | AS=as
|
---|
3 | LD=ld
|
---|
4 | OBJDUMP=objdump
|
---|
5 | OBJCOPY=objcopy
|
---|
6 | BFD_NAME=elf32-i386
|
---|
7 | BFD_ARCH=i386
|
---|
8 |
|
---|
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
|
---|
23 |
|
---|
24 | ../arch/$(ARCH)/_link.ld: ../arch/$(ARCH)/_link.ld.in
|
---|
25 | $(CC) $(CFLAGS) -E -x c $< | grep -v "^\#" > $@
|
---|
26 |
|
---|
27 | arch_sources= \
|
---|
28 | arch/context.s \
|
---|
29 | arch/debug/panic.s \
|
---|
30 | arch/cpuid.s \
|
---|
31 | arch/delay.s \
|
---|
32 | arch/asm.S \
|
---|
33 | arch/proc/scheduler.c \
|
---|
34 | arch/acpi/acpi.c \
|
---|
35 | arch/acpi/madt.c \
|
---|
36 | arch/bios/bios.c \
|
---|
37 | arch/smp/ap.S \
|
---|
38 | arch/smp/apic.c \
|
---|
39 | arch/smp/mps.c \
|
---|
40 | arch/smp/smp.c \
|
---|
41 | arch/atomic.S \
|
---|
42 | arch/smp/ipi.c \
|
---|
43 | arch/ia32.c \
|
---|
44 | arch/interrupt.c \
|
---|
45 | arch/pm.c \
|
---|
46 | arch/userspace.c \
|
---|
47 | arch/cpu/cpu.c \
|
---|
48 | arch/mm/frame.c \
|
---|
49 | arch/mm/memory_init.c \
|
---|
50 | arch/mm/page.c \
|
---|
51 | arch/mm/tlb.c \
|
---|
52 | arch/drivers/i8042.c \
|
---|
53 | arch/drivers/i8254.c \
|
---|
54 | arch/drivers/i8259.c \
|
---|
55 | arch/drivers/ega.c \
|
---|
56 | arch/boot/boot.S \
|
---|
57 | arch/boot/memmap.S\
|
---|
58 | arch/fpu_context.c\
|
---|
59 | arch/fmath.c
|
---|
Note:
See
TracBrowser
for help on using the repository browser.