source: mainline/kernel/genarch/meson.build

Last change on this file was 41408d94, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 6 years ago

sparc64

  • Property mode set to 100644
File size: 3.9 KB
Line 
1# Copyright (c) 2005 Martin Decky
2# Copyright (c) 2019 Jiří Zárevúcky
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## Accepted configuration directives
30#
31
32_src = []
33_check = []
34
35if CONFIG_ACPI
36 _src += [ 'acpi/acpi.c', 'acpi/madt.c' ]
37endif
38
39if CONFIG_PAGE_PT
40 _src += [ 'mm/page_pt.c', 'mm/as_pt.c' ]
41endif
42
43if CONFIG_PAGE_HT
44 _src += [ 'mm/page_ht.c', 'mm/as_ht.c' ]
45endif
46
47if CONFIG_ASID
48 _src += [ 'mm/asid.c' ]
49endif
50
51if CONFIG_ASID_FIFO
52 _src += [ 'mm/asid_fifo.c' ]
53endif
54
55if CONFIG_SOFTINT
56 _src += [ 'softint/division.c', 'softint/multiplication.c' ]
57endif
58
59if CONFIG_FB
60 _src += [ 'fb/font-8x16.c', 'fb/fb.c', 'fb/bfb.c' ]
61endif
62
63if CONFIG_DSRLNIN
64 _src += [ 'drivers/dsrln/dsrlnin.c' ]
65endif
66
67if CONFIG_DSRLNOUT
68 _src += [ 'drivers/dsrln/dsrlnout.c' ]
69endif
70
71if CONFIG_I8042
72 _src += [ 'drivers/i8042/i8042.c' ]
73endif
74
75if CONFIG_I8259
76 _src += [ 'drivers/i8259/i8259.c' ]
77endif
78
79if CONFIG_NS16550
80 _src += [ 'drivers/ns16550/ns16550.c' ]
81endif
82
83if CONFIG_PL011_UART
84 _src += [ 'drivers/pl011/pl011.c' ]
85endif
86
87if CONFIG_PL050
88 _src += [ 'drivers/pl050/pl050.c' ]
89endif
90
91if CONFIG_S3C24XX_IRQC
92 _src += [ 'drivers/s3c24xx/irqc.c' ]
93endif
94
95if CONFIG_S3C24XX_UART
96 _src += [ 'drivers/s3c24xx/uart.c' ]
97endif
98
99if CONFIG_OMAP_UART
100 _src += [ 'drivers/omap/uart.c' ]
101endif
102
103if CONFIG_AM335X_TIMERS
104 _src += [ 'drivers/am335x/timer.c' ]
105endif
106
107if CONFIG_BCM2835_MAILBOX
108 _src += [ 'drivers/bcm2835/irc.c', 'drivers/bcm2835/mbox.c', 'drivers/bcm2835/timer.c' ]
109endif
110
111if CONFIG_GICV2
112 _src += [ 'drivers/gicv2/gicv2.c' ]
113endif
114
115if CONFIG_VIA_CUDA
116 _src += [ 'drivers/via-cuda/cuda.c' ]
117endif
118
119if CONFIG_PC_KBD
120 _src += [ 'kbrd/kbrd.c', 'kbrd/scanc_pc.c' ]
121endif
122
123if CONFIG_AT_KBD
124 _src += [ 'kbrd/kbrd_at.c', 'kbrd/scanc_at.c' ]
125endif
126
127if CONFIG_SUN_KBD
128 _src += [ 'kbrd/kbrd.c', 'kbrd/scanc_sun.c' ]
129endif
130
131if CONFIG_MAC_KBD
132 _src += [ 'kbrd/kbrd.c', 'kbrd/scanc_mac.c' ]
133endif
134
135if CONFIG_SRLN
136 _src += [ 'srln/srln.c' ]
137endif
138
139if CONFIG_OFW_TREE
140 _src += [ 'ofw/ofw_tree.c' ]
141endif
142
143if CONFIG_OFW_PCI
144 _src += [ 'ofw/ebus.c', 'ofw/pci.c', 'ofw/sbus.c', 'ofw/upa.c' ]
145endif
146
147if CONFIG_MULTIBOOT
148 _src += [ 'multiboot/common.c', 'multiboot/multiboot.c', 'multiboot/multiboot2.c' ]
149 _check += [ 'multiboot/multiboot_memmap_struct.h', 'multiboot/multiboot_info_struct.h' ]
150endif
151
152if CONFIG_EGA
153 _src += [ 'drivers/ega/ega.c' ]
154endif
155
156if CONFIG_IOMAP_BITMAP
157 _src += [ 'ddi/ddi-bitmap.c' ]
158endif
159
160if CONFIG_IOMAP_DUMMY
161 _src += [ 'ddi/ddi-dummy.c' ]
162endif
163
164
165genarch_src = []
166
167foreach f : _src
168 genarch_src += files('src' / f)
169endforeach
170
171foreach f : _check
172 genarch_src += [ autocheck.process('include' / 'genarch' / f) ]
173endforeach
Note: See TracBrowser for help on using the repository browser.