1 | #
|
---|
2 | # Copyright (c) 2024 Jiri Svoboda
|
---|
3 | # Copyright (c) 2019 Jiří Zárevúcky
|
---|
4 | # All rights reserved.
|
---|
5 | #
|
---|
6 | # Redistribution and use in source and binary forms, with or without
|
---|
7 | # modification, are permitted provided that the following conditions
|
---|
8 | # are met:
|
---|
9 | #
|
---|
10 | # - Redistributions of source code must retain the above copyright
|
---|
11 | # notice, this list of conditions and the following disclaimer.
|
---|
12 | # - Redistributions in binary form must reproduce the above copyright
|
---|
13 | # notice, this list of conditions and the following disclaimer in the
|
---|
14 | # documentation and/or other materials provided with the distribution.
|
---|
15 | # - The name of the author may not be used to endorse or promote products
|
---|
16 | # derived from this software without specific prior written permission.
|
---|
17 | #
|
---|
18 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
---|
19 | # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
---|
20 | # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
---|
21 | # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
---|
22 | # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
---|
23 | # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
---|
24 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
---|
25 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
---|
26 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
---|
27 | # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
---|
28 | #
|
---|
29 |
|
---|
30 | # Init binaries. These are actually baked into the bootloader.
|
---|
31 | rd_init = [
|
---|
32 | # ELF file with DWARF debug sections for kernel.
|
---|
33 | # Kernel detects this entry by name.
|
---|
34 | 'kernel.dbg',
|
---|
35 |
|
---|
36 | # IMPORTANT: The order of entries is important for bootloader!
|
---|
37 | 'srv/ns',
|
---|
38 | 'srv/loader',
|
---|
39 | 'app/init',
|
---|
40 | 'srv/locsrv',
|
---|
41 | 'srv/bd/rd',
|
---|
42 | 'srv/vfs',
|
---|
43 | 'srv/logger',
|
---|
44 | 'srv/fs/' + RDFMT,
|
---|
45 | ]
|
---|
46 |
|
---|
47 | # Binaries allowed on the initrd image when CONFIG_BAREBONE is enabled.
|
---|
48 | rd_essential = [
|
---|
49 | 'app/bdsh',
|
---|
50 | 'app/getterm',
|
---|
51 | 'app/kio',
|
---|
52 | 'app/tester',
|
---|
53 |
|
---|
54 | 'srv/devman',
|
---|
55 | 'srv/fs/locfs',
|
---|
56 | 'srv/hid/console',
|
---|
57 | 'srv/hid/input',
|
---|
58 | 'srv/hid/output',
|
---|
59 | 'srv/klog',
|
---|
60 | 'srv/system',
|
---|
61 | ]
|
---|
62 |
|
---|
63 | rd_essential_drv = [
|
---|
64 | 'drv/root/root',
|
---|
65 | 'drv/root/virt',
|
---|
66 | 'drv/fb/kfb',
|
---|
67 | ]
|
---|
68 |
|
---|
69 | rd_drv = rd_essential_drv
|
---|
70 |
|
---|
71 | if CONFIG_FB
|
---|
72 | rd_essential += [
|
---|
73 | 'app/taskbar',
|
---|
74 | 'app/terminal',
|
---|
75 |
|
---|
76 | 'srv/hid/display',
|
---|
77 | ]
|
---|
78 | endif
|
---|