source: mainline/boot/arch/ia64/Makefile.inc@ 3bacee1

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 3bacee1 was b7e1458, checked in by Petr Mánek <petr.manek@…>, 8 years ago

usbdiag: rename usbdbg to usbdiag

  • Property mode set to 100644
File size: 2.7 KB
Line 
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
29BFD_NAME = elf64-ia64-little
30BFD_OUTPUT = $(BFD_NAME)
31BFD_ARCH = ia64
32
33BITS = 64
34ENDIANESS = LE
35EXTRA_CFLAGS = -fno-unwind-tables -mfixed-range=f32-f127 -mno-pic -mno-sdata
36
37RD_SRVS_NON_ESSENTIAL +=
38
39RD_SRVS_ESSENTIAL +=
40
41SOURCES = \
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).s \
51 $(COMPS)_desc.c \
52 genarch/src/efi.c \
53 genarch/src/division.c \
54 generic/src/balloc.c \
55 generic/src/memstr.c \
56 generic/src/printf_core.c \
57 generic/src/vprintf.c \
58 generic/src/printf.c \
59 generic/src/str.c \
60 generic/src/version.c \
61 generic/src/inflate.c
62
63ifeq ($(MACHINE),ski)
64SOURCES += \
65 arch/$(BARCH)/src/ski.c
66endif
67
68ifeq ($(MACHINE),i460GX)
69RD_DRVS_ESSENTIAL += \
70 platform/pc \
71 bus/pci/pciintel \
72 bus/isa \
73 char/i8042 \
74 hid/xtkbd
75
76RD_DRVS_NON_ESSENTIAL += \
77 char/ns8250 \
78 time/cmos-rtc \
79 bus/usb/ehci\
80 bus/usb/ohci \
81 bus/usb/uhci \
82 bus/usb/usbdiag \
83 bus/usb/usbflbk \
84 bus/usb/usbhub \
85 bus/usb/usbmid \
86 bus/usb/vhc \
87 block/usbmast \
88 hid/usbhid
89
90RD_DRV_CFG += \
91 bus/isa
92endif
93
94ifeq ($(MACHINE),ski)
95RD_DRVS_ESSENTIAL += \
96 char/ski-con \
97 platform/ski
98endif
99
100PRE_DEPEND = $(COMPS).s $(COMPS).h $(COMPS)_desc.c $(COMPONENTS_DEFLATE)
Note: See TracBrowser for help on using the repository browser.