1 | #
|
---|
2 | # Copyright (c) 2006 Martin Decky
|
---|
3 | # All rights reserved.
|
---|
4 | #
|
---|
5 | # Redistribution and use in source and binary forms, with or without
|
---|
6 | # modification, are permitted provided that the following conditions
|
---|
7 | # are met:
|
---|
8 | #
|
---|
9 | # - Redistributions of source code must retain the above copyright
|
---|
10 | # notice, this list of conditions and the following disclaimer.
|
---|
11 | # - Redistributions in binary form must reproduce the above copyright
|
---|
12 | # notice, this list of conditions and the following disclaimer in the
|
---|
13 | # documentation and/or other materials provided with the distribution.
|
---|
14 | # - The name of the author may not be used to endorse or promote products
|
---|
15 | # derived from this software without specific prior written permission.
|
---|
16 | #
|
---|
17 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
---|
18 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
---|
19 | # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
---|
20 | # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
---|
21 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
---|
22 | # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
---|
23 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
---|
24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
---|
25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
---|
26 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
---|
27 | #
|
---|
28 |
|
---|
29 | BFD_NAME = elf64-ia64-little
|
---|
30 | BFD_OUTPUT = $(BFD_NAME)
|
---|
31 | BFD_ARCH = ia64
|
---|
32 |
|
---|
33 | BITS = 64
|
---|
34 | ENDIANESS = LE
|
---|
35 | EXTRA_CFLAGS = -fno-unwind-tables -mfixed-range=f32-f127 -mno-pic -mno-sdata
|
---|
36 |
|
---|
37 | RD_SRVS_NON_ESSENTIAL +=
|
---|
38 |
|
---|
39 | RD_SRVS_ESSENTIAL +=
|
---|
40 |
|
---|
41 | SOURCES = \
|
---|
42 | arch/$(BARCH)/src/boot.S \
|
---|
43 | arch/$(BARCH)/src/asm.S \
|
---|
44 | arch/$(BARCH)/src/main.c \
|
---|
45 | arch/$(BARCH)/src/sal.c \
|
---|
46 | arch/$(BARCH)/src/sal_asm.S \
|
---|
47 | arch/$(BARCH)/src/pal.c \
|
---|
48 | arch/$(BARCH)/src/pal_asm.S \
|
---|
49 | arch/$(BARCH)/src/putchar.c \
|
---|
50 | $(COMPS_C) \
|
---|
51 | genarch/src/efi.c \
|
---|
52 | genarch/src/division.c \
|
---|
53 | generic/src/balloc.c \
|
---|
54 | generic/src/memstr.c \
|
---|
55 | generic/src/printf_core.c \
|
---|
56 | generic/src/vprintf.c \
|
---|
57 | generic/src/printf.c \
|
---|
58 | generic/src/str.c \
|
---|
59 | generic/src/version.c \
|
---|
60 | generic/src/inflate.c
|
---|
61 |
|
---|
62 | ifeq ($(MACHINE),ski)
|
---|
63 | SOURCES += \
|
---|
64 | arch/$(BARCH)/src/ski.c
|
---|
65 | endif
|
---|
66 |
|
---|
67 | RD_DRVS_ESSENTIAL += \
|
---|
68 | platform/pc \
|
---|
69 | bus/pci/pciintel \
|
---|
70 | bus/isa \
|
---|
71 | char/i8042 \
|
---|
72 | char/xtkbd
|
---|
73 |
|
---|
74 | RD_DRVS_NON_ESSENTIAL += \
|
---|
75 | char/ns8250 \
|
---|
76 | time/cmos-rtc \
|
---|
77 | bus/usb/ehci\
|
---|
78 | bus/usb/ohci \
|
---|
79 | bus/usb/uhci \
|
---|
80 | bus/usb/usbflbk \
|
---|
81 | bus/usb/usbhub \
|
---|
82 | bus/usb/usbhid \
|
---|
83 | bus/usb/usbmast \
|
---|
84 | bus/usb/usbmid \
|
---|
85 | bus/usb/vhc
|
---|
86 |
|
---|
87 | RD_DRV_CFG += \
|
---|
88 | bus/isa
|
---|
89 |
|
---|